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

#include <string.h>

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

#define CMD_MIN_SIZE 5
#define CMD_MAX_SIZE 120

int sanitize(char *cmd);
char *check_cmd(char *cmd);

struct bstrList *cmd_parts(char *cmd);

#endif