5 /* Different connection types. Used internally to differentiate between the
6 * different protocols in struct nmdb_srv. */
12 /* The ID code for requests is hardcoded for now, until asynchronous requests
16 /* For a given buffer, how much into it should the generic library code write
17 * the message contents. */
18 #define TIPC_MSG_OFFSET 0
19 #define TCP_MSG_OFFSET 4
20 #define UDP_MSG_OFFSET 0
21 #define SCTP_MSG_OFFSET 0
23 /* Functions used internally but shared among the different files. */
24 int compare_servers(const void *s1
, const void *s2
);
25 ssize_t
srecv(int fd
, unsigned char *buf
, size_t count
, int flags
);
26 ssize_t
ssend(int fd
, const unsigned char *buf
, size_t count
, int flags
);