Error out if no volumes are specified instead of core-dumping.
[dragonfly.git] / lib / libncp / ncp_mod.h
blobff3c574c66b754c47b930c07a177fe1888d011e8
1 /*
2 * Describes all ncp_lib kernel functions
4 * $FreeBSD: src/lib/libncp/ncp_mod.h,v 1.1 1999/10/12 11:56:38 bp Exp $
5 * $DragonFly: src/lib/libncp/ncp_mod.h,v 1.3 2003/11/12 20:21:31 eirikn Exp $
6 */
7 #ifndef _NCP_MOD_H_
8 #define _NCP_MOD_H_
10 /* order of calls in syscall table relative to offset in system table */
11 #define NCP_SE(callno) (callno+sysentoffset)
12 #define NCP_CONNSCAN NCP_SE(0)
13 #define NCP_CONNECT NCP_SE(1)
14 #define NCP_INTFN NCP_SE(2)
15 #define SNCP_REQUEST NCP_SE(3)
17 #endif /* !_NCP_MOD_H_ */