1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/sbin/ipf/common/kmem.h

31 lines
508 B
C
Raw Normal View History

/* $FreeBSD$ */
/*
* Copyright (C) 2012 by Darren Reed.
*
2001-07-28 11:59:33 +00:00
* See the IPFILTER.LICENCE file for details on licencing.
* $Id$
*/
1997-05-25 15:45:04 +00:00
#ifndef __KMEM_H__
#define __KMEM_H__
#ifndef __P
# define __P(x) x
#endif
extern int openkmem(char *, char *);
extern int kmemcpy(char *, long, int);
extern int kstrncpy(char *, long, int);
#if defined(__NetBSD__) || defined(__OpenBSD)
# include <paths.h>
#endif
#ifdef _PATH_KMEM
# define KMEM _PATH_KMEM
#else
# define KMEM "/dev/kmem"
#endif
1997-05-25 15:45:04 +00:00
#endif /* __KMEM_H__ */