]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ipfilter/kmem.h
This commit was generated by cvs2svn to compensate for changes in r57429,
[FreeBSD/FreeBSD.git] / contrib / ipfilter / kmem.h
1 /*
2  * Copyright (C) 1993-1998 by Darren Reed.
3  *
4  * Redistribution and use in source and binary forms are permitted
5  * provided that this notice is preserved and due credit is given
6  * to the original author and the contributors.
7  * $Id: kmem.h,v 2.1 1999/08/04 17:30:10 darrenr Exp $
8  */
9
10 #ifndef __KMEM_H__
11 #define __KMEM_H__
12
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((void));
21 extern  int     kmemcpy __P((char *, long, int));
22 extern  int     kstrncpy __P((char *, long, int));
23
24 #if defined(__NetBSD__) || defined(__OpenBSD)
25 # include <paths.h>
26 #endif
27
28 #ifdef _PATH_KMEM
29 # define        KMEM    _PATH_KMEM
30 #else
31 # define        KMEM    "/dev/kmem"
32 #endif
33
34 #endif /* __KMEM_H__ */