summaryrefslogtreecommitdiffstats
path: root/nserver/src/nserve.h
blob: 75281ec2b7f2e3c3ae126c22e32ec066c84ef25e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _nserve_h
#define _nserve_h

#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>

#include <bstrlib.h>
#include <dbg.h>
#include <ringbuffer.h>

#define CMD_MIN_SIZE 5
#define CMD_MAX_SIZE 120

void nserve(int sock);

#endif