📄 modpriv.h
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -