procmodule.h

来自「网络流量采集及分析软件」· C头文件 代码 · 共 68 行

H
68
字号
/*! \file  proc_modules/ProcModule.h    Copyright 2003-2004 Fraunhofer Institute for Open Communication Systems (FOKUS),                        Berlin, Germany    This file is part of Network Measurement and Accounting System (NETMATE).    NETMATE is free software; you can redistribute it and/or modify     it under the terms of the GNU General Public License as published by     the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    NETMATE is distributed in the hope that it will be useful,     but WITHOUT ANY WARRANTY; without even the implied warranty of     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this software; if not, write to the Free Software     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    Description:    declaration of interface for Classifier Action Modules    $Id: ProcModule.h,v 1.1.1.1 2004/12/23 05:52:36 s_zander Exp $*/#ifndef __PROCMODULE_H#define __PROCMODULE_H#include "ProcModuleInterface.h"/*! functions for exporting data */inline void STARTEXPORT(void *data);inline void ENDEXPORT(void **exp, int *len);inline void ADD_CHAR(char val);inline void ADD_INT8(char val);inline void ADD_INT16(short val);inline void ADD_INT32(int val);inline void ADD_INT64(long long val);inline void ADD_UINT8(unsigned char val);inline void ADD_UINT16(unsigned short val);inline void ADD_UINT32(unsigned int val);inline void ADD_UINT64(unsigned long long val);inline void ADD_FLOAT(float val);inline void ADD_DOUBLE(double val);inline void ADD_IPV4ADDR(unsigned int val);inline void ADD_LIST(unsigned int num);inline void END_LIST();inline void ADD_STRING(char *txt);inline void ADD_BINARY(unsigned int size, char *src);/*! \short   declaration of struct containing all function pointers of a module */extern ProcModuleInterface_t func;extern typeInfo_t exportInfo[];#endif /* __PROCMODULE_H */

⌨️ 快捷键说明

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