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

📄 ftpp_return_codes.h

📁 Snort为国际上著名的轻量型入侵防御系统,为国内多家著名“自主知识产权”网络安全公司所使用。
💻 H
字号:
/* * ftpp_return_codes.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 as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * 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: * * This file defines the return codes for the FTPTelnet functions. * * Common return codes are defined here for all functions and libraries to * use.  This should make function error checking easier. * * NOTES: * - 16.09.04:  Initial Development.  SAS * */#ifndef __FTPP_RETURN_CODES_H__#define __FTPP_RETURN_CODES_H__#include "ftpp_include.h"#define FTPP_BOOL_FALSE 0#define FTPP_SUCCESS    0/* * Non-fatal errors are positive */#define FTPP_BOOL_TRUE          1#define FTPP_NONFATAL_ERR       1#define FTPP_OUT_OF_BOUNDS      2#define FTPP_INVALID_PROTO      3#define FTPP_NORMALIZED         4#define FTPP_MALFORMED_FTP_RESPONSE  5#define FTPP_ALERTED            6#define FTPP_NON_DIGIT          7#define FTPP_MALFORMED_IP_PORT  8#define FTPP_PORT_ATTACK        9#define FTPP_INVALID_SESSION    10#define FTPP_OR_FOUND           100#define FTPP_OPT_END_FOUND      101#define FTPP_CHOICE_END_FOUND   102/* * Fatal errors are negative */#define FTPP_FATAL_ERR         -1#define FTPP_INVALID_ARG       -2#define FTPP_MEM_ALLOC_FAIL    -3#define FTPP_NOT_FOUND         -4#define FTPP_INVALID_FILE      -5#define FTPP_ALERT             -6#define FTPP_INVALID_DATE      -100#define FTPP_INVALID_PARAM     -101#endif

⌨️ 快捷键说明

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