⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modcall.h

📁 radius server在linux下的源码
💻 H
字号:
/* modcall.h: the outside interface to the module-calling tree. Includes * functions to build the tree from the config file, and to call it by * feeding it REQUESTs. * * Version: $Id: modcall.h,v 1.4 2004/02/26 19:04:19 aland Exp $ */#include "conffile.h" /* Need CONF_* definitions *//* *	For each authorize/authtype/etc, we have an ordered *	tree of instances to call.  This data structure keeps track *	of that order. */typedef struct modcallable modcallable;int modcall(int component, modcallable *c, REQUEST *request);/* Parse a module-method's config section (e.g. authorize{}) into a tree that * may be called with modcall() */modcallable *compile_modgroup(int component, CONF_SECTION *cs,		const char *filename);/* Create a single modcallable node that references a module instance. This * may be a CONF_SECTION containing action specifiers like "notfound = return" * or a simple CONF_PAIR, in which case the default actions are used. */modcallable *compile_modsingle(int component, CONF_ITEM *ci,		const char *filename, const char **modname);/* Add an entry to the end of a modgroup, creating it first if necessary */void add_to_modcallable(modcallable **parent, modcallable *this,		int component, char *name);/* Free a tree returned by compile_modgroup or compile_modsingle */void modcallable_free(modcallable **pc);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -