modpriv.h
来自「radius服务器」· C头文件 代码 · 共 35 行
H
35 行
/* modpriv.h: Stuff needed by both modules.c and modcall.c, but should not be * accessed from anywhere else. * * Version: $Id: modpriv.h,v 1.3 2004/02/26 19:04:19 aland Exp $ */#include "radiusd.h"#include "modules.h"#include "ltdl.h"/* * Keep track of which modules we've loaded. */typedef struct module_list_t { struct module_list_t *next; char name[MAX_STRING_LEN]; module_t *module; lt_dlhandle handle;} module_list_t;/* * Per-instance data structure, to correlate the modules * with the instance names (may NOT be the module names!), * and the per-instance data structures. */typedef struct module_instance_t { struct module_instance_t *next; char name[MAX_STRING_LEN]; module_list_t *entry; void *insthandle;#ifdef HAVE_PTHREAD_H pthread_mutex_t *mutex;#endif} module_instance_t;module_instance_t *find_module_instance(const char *instname);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?