?? ftp_client.h
字號:
/* * ftp_client.h * * Copyright (C) 2004 Sourcefire,Inc * Steven A. Sturges <ssturges@sourcefire.com> * Daniel J. Roelker <droelker@sourcefire.com> * Marc A. Norton <mnorton@sourcefire.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License Version 2 as * published by the Free Software Foundation. You may not use, modify or * distribute this program under any other version of the GNU General * Public License. * * This program 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 program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Description: * * Header file for FTPTelnet FTP Client Module * * This file defines the client reqest structure and functions * to access client inspection. * * NOTES: * - 16.09.04: Initial Development. SAS * */#ifndef __FTP_CLIENT_H__#define __FTP_CLIENT_H__#ifdef HAVE_CONFIG_H#include "config.h"#endif#include <sys/types.h>#include "ftpp_include.h"typedef struct s_FTP_CLIENT_REQ{ const char *cmd_line; unsigned int cmd_line_size; const char *cmd_begin; const char *cmd_end; unsigned int cmd_size; const char *param_begin; const char *param_end; unsigned int param_size; const char *pipeline_req;} FTP_CLIENT_REQ;typedef struct s_FTP_CLIENT{ FTP_CLIENT_REQ request; int (*state)(void *, unsigned char, int);} FTP_CLIENT;int ftp_client_inspection(void *Session, unsigned char *data, int dsize);int ftp_client_init(FTPTELNET_GLOBAL_CONF *GlobalConf);#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -