git » nmdb » master » tree

[master] / libnmdb / tcp.h

#ifndef _TCP_H
#define _TCP_H

#include "internal.h"

int tcp_srv_send(struct nmdb_srv *srv, unsigned char *buf, size_t bsize);
uint32_t tcp_get_rep(struct nmdb_srv *srv,
		unsigned char *buf, size_t bsize,
		unsigned char **payload, size_t *psize);

#endif