server.h 372 Bytes
Newer Older
Niels Möller's avatar
Niels Möller committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* server.h
 *
 */

#ifndef LSH_SERVER_H_INCLUDED
#define LSH_SERVER_H_INCLUDED

#include "io.h"

struct server_callback
{
  struct fd_callback super;
  struct io_backend *backend;
  UINT32 block_size;
  char *id_comment;
};

struct fd_callback *make_server_callback(struct io_backend *b,
					 char *comment,
					 UINT32 block_size);

#endif /* LSH_SERVER_H_INCLUDED */