Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / ipf / kmem.h
blob7cb66357fc0d5d22368aeadac8838b39c2552b79
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 1993-2001 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
7 * Id: kmem.h,v 2.5 2002/08/21 22:57:36 darrenr Exp
8 */
10 #ifndef __KMEM_H__
11 #define __KMEM_H__
13 #ifndef __P
14 # ifdef __STDC__
15 # define __P(x) x
16 # else
17 # define __P(x) ()
18 # endif
19 #endif
20 extern int openkmem __P((char *, char *));
21 extern int kmemcpy __P((char *, long, int));
22 extern int kstrncpy __P((char *, long, int));
24 #if defined(__NetBSD__) || defined(__OpenBSD)
25 # include <paths.h>
26 #endif
28 #ifdef _PATH_KMEM
29 # define KMEM _PATH_KMEM
30 #else
31 # define KMEM "/dev/kmem"
32 #endif
34 #endif /* __KMEM_H__ */