snap_svc_reg_table.h

来自「一个学习SNMP项目:tmoerlan.」· C头文件 代码 · 共 34 行

H
34
字号
/*	snap service handler	registration table header file	(c) 2003 Willem de Bruijn	a lot of code has been copied from the base SNAP package by Jon Moore	all other code falls under the BSD License*/#ifndef SNAP_SVC_REGTABLE_H#define SNAP_SVC_REGTABLE_H#define DEF_SVC_TAB_SZ 100	#include <snap_svc.h>	/* a function table element */	struct snap_svc_rec {	snapsvc_func_proto snapsvc_func;	int nargs;	int nret;	};	int snap_svc_table_init(); /* initialize the table */	int snap_svc_table_fini(); /* destroy the table */	/* register a function */	int snap_svc_table_add(char*, snapsvc_func_proto, int, int);	/* look up a function */    void* snap_svc_table_find(char*);#endif

⌨️ 快捷键说明

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