blob: ed0f5d7d6afcbd87b0cc2e8265612960edccd80e [file] [log] [blame]
Chris Masonec1e50412011-06-07 13:04:53 -07001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
Paul Stewart25379f12011-05-26 06:41:38 -07002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_IO_HANDLER_
6#define SHILL_IO_HANDLER_
7
8namespace shill {
9
10struct InputData {
Darin Petkov633ac6f2011-07-08 13:56:13 -070011 InputData() : buf(NULL), len(0) {}
12 InputData(unsigned char *in_buf, size_t in_len) : buf(in_buf), len(in_len) {}
13
Paul Stewart25379f12011-05-26 06:41:38 -070014 unsigned char *buf;
15 size_t len;
16};
17
18class IOInputHandler {
19 public:
20 IOInputHandler() {}
21 virtual ~IOInputHandler() {}
22};
23
24} // namespace shill
25
26#endif // SHILL_IO_HANDLER_