00001 /*---------------------------------------------------------------------------- 00002 secwatch - Copyright (C) 2006 Nic Stevens -- See COPYING for license details 00003 ------------------------------------------------------------------------------ 00004 funprotos.h - define types for function pointer used by hook and module 00005 functions. 00006 -----------------------------------------------------------------------------*/ 00007 #ifndef _FUNPROTOS_H 00008 #define _FUNPROTOS_H 00009 00013 typedef int (*hookfn_t)(int,void *); 00014 00018 typedef int (*addhook_t)(hookfn_t); 00019 00023 typedef int (*logfn_t) (const char *,...); 00024 00028 typedef void (*loopfn_t) (void); 00029 typedef int (*addloop_t)(loopfn_t); 00030 #endif
1.4.6