NetBSD/dist/ipf/kmem.h
riz f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00

28 lines
561 B
C

/* $NetBSD: kmem.h,v 1.6 2012/02/15 17:55:04 riz Exp $ */
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
* Id: kmem.h,v 2.5 2002/08/21 22:57:36 darrenr Exp
*/
#ifndef __KMEM_H__
#define __KMEM_H__
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
#endif /* __KMEM_H__ */