]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ipfilter/kmem.h
Add UPDATING entries and bump version.
[FreeBSD/FreeBSD.git] / contrib / ipfilter / kmem.h
1 /*      $FreeBSD$       */
2
3 /*
4  * Copyright (C) 2012 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  * $Id$
8  */
9
10 #ifndef __KMEM_H__
11 #define __KMEM_H__
12
13 #ifndef __P
14 #  define       __P(x)  x
15 #endif
16 extern  int     openkmem(char *, char *);
17 extern  int     kmemcpy(char *, long, int);
18 extern  int     kstrncpy(char *, long, int);
19
20 #if defined(__NetBSD__) || defined(__OpenBSD)
21 # include <paths.h>
22 #endif
23
24 #ifdef _PATH_KMEM
25 # define        KMEM    _PATH_KMEM
26 #else
27 # define        KMEM    "/dev/kmem"
28 #endif
29
30 #endif /* __KMEM_H__ */