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