git » nmdb » master » tree

[master] / libnmdb / udp.h

#ifndef _UDP_H
#define _UDP_H

#include "internal.h"

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

#endif