开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
forked from THEWON/lua-engine
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
文件
master
分支 (1)
master
master
分支 (1)
master
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (1)
master
lua-engine
/
lua
/
LuaScripts
/
true_false_strings.h
lua-engine
/
lua
/
LuaScripts
/
true_false_strings.h
true_false_strings.h 5.98 KB
一键复制 编辑 原始数据 按行查看 历史
THEWON 提交于 2024年10月30日 11:36 +08:00 . v1.0
/* true_false_strings.h
* true_false strings
* Copyright 2007, Jaap Keuter <jaap.keuter@xs4all.nl>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __TRUE_FALSE_STRINGS_H__
#define __TRUE_FALSE_STRINGS_H__
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/** @file
* true_false strings
*/
/** Struct for boolean representation */
typedef struct true_false_string {
const char *true_string; /**< The string presented when true */
const char *false_string; /**< The string presented when false */
} true_false_string;
/** Returns the string representing the true or false value.
*
* From the given true_false_string return the appropriate string pointer
* @param[in] value The boolean value for which the string representation is sought
* @param[in] tfs The true_false_string containing the relevant strings
* @return Pointer to the appropriate string
*/
const char *tfs_get_string(bool value, const true_false_string *tfs);
#define tfs_get_true_false(value) tfs_get_string(value, NULL)
/*
* A default set of true/false strings that dissectors can use for
* FT_BOOLEAN header fields. By default { "True", "False" } is used.
*/
extern const true_false_string tfs_yes_no;
extern const true_false_string tfs_no_yes;
extern const true_false_string tfs_set_notset;
extern const true_false_string tfs_enabled_disabled;
extern const true_false_string tfs_disabled_enabled;
extern const true_false_string tfs_ok_error;
extern const true_false_string tfs_error_ok;
extern const true_false_string tfs_success_fail;
extern const true_false_string tfs_fail_success;
extern const true_false_string tfs_on_off;
extern const true_false_string tfs_off_on;
extern const true_false_string tfs_ack_nack;
extern const true_false_string tfs_odd_even;
extern const true_false_string tfs_allow_block;
extern const true_false_string tfs_restricted_not_restricted;
extern const true_false_string tfs_not_restricted_restricted;
extern const true_false_string tfs_accept_reject;
extern const true_false_string tfs_more_nomore;
extern const true_false_string tfs_present_absent;
extern const true_false_string tfs_present_not_present;
extern const true_false_string tfs_active_inactive;
extern const true_false_string tfs_activated_deactivated;
extern const true_false_string tfs_found_not_found;
extern const true_false_string tfs_command_response;
extern const true_false_string tfs_response_command;
extern const true_false_string tfs_capable_not_capable;
extern const true_false_string tfs_supported_not_supported;
extern const true_false_string tfs_not_supported_supported;
extern const true_false_string tfs_used_notused;
extern const true_false_string tfs_high_low;
extern const true_false_string tfs_high_normal;
extern const true_false_string tfs_low_normal;
extern const true_false_string tfs_pressed_not_pressed;
extern const true_false_string tfs_implemented_not_implemented;
extern const true_false_string tfs_requested_not_requested;
extern const true_false_string tfs_reliable_not_reliable;
extern const true_false_string tfs_allowed_not_allowed;
extern const true_false_string tfs_not_allowed_allowed;
extern const true_false_string tfs_accepted_not_accepted;
extern const true_false_string tfs_detected_not_detected;
extern const true_false_string tfs_available_not_available;
extern const true_false_string tfs_shared_independent;
extern const true_false_string tfs_valid_invalid;
extern const true_false_string tfs_invalid_valid;
extern const true_false_string tfs_group_unique_name;
extern const true_false_string tfs_inuse_not_inuse;
extern const true_false_string tfs_critical_not_critical;
extern const true_false_string tfs_complete_incomplete;
extern const true_false_string tfs_valid_not_valid;
extern const true_false_string tfs_do_not_clear_clear;
extern const true_false_string tfs_confirmed_unconfirmed;
extern const true_false_string tfs_enforced_not_enforced;
extern const true_false_string tfs_possible_not_possible;
extern const true_false_string tfs_required_not_required;
extern const true_false_string tfs_registered_not_registered;
extern const true_false_string tfs_provisioned_not_provisioned;
extern const true_false_string tfs_included_not_included;
extern const true_false_string tfs_allocated_by_receiver_sender;
extern const true_false_string tfs_asynchronous_synchronous;
extern const true_false_string tfs_protocol_sensative_bit_transparent;
extern const true_false_string tfs_full_half;
extern const true_false_string tfs_acknowledged_not_acknowledged;
extern const true_false_string tfs_segmentation_no_segmentation;
extern const true_false_string tfs_response_request;
extern const true_false_string tfs_defined_not_defined;
extern const true_false_string tfs_constructed_primitive;
extern const true_false_string tfs_client_server;
extern const true_false_string tfs_server_client;
extern const true_false_string tfs_preferred_no_preference;
extern const true_false_string tfs_encrypt_do_not_encrypt;
extern const true_false_string tfs_down_up;
extern const true_false_string tfs_up_down;
extern const true_false_string tfs_uplink_downlink;
extern const true_false_string tfs_s2c_c2s;
extern const true_false_string tfs_open_closed;
extern const true_false_string tfs_external_internal;
extern const true_false_string tfs_changed_not_changed;
extern const true_false_string tfs_needed_not_needed;
extern const true_false_string tfs_selected_not_selected;
extern const true_false_string tfs_add_drop;
extern const true_false_string tfs_no_extension_extension;
extern const true_false_string tfs_user_provider;
extern const true_false_string tfs_applicable_not_applicable;
extern const true_false_string tfs_current_not_yet;
extern const true_false_string tfs_should_be_traced_should_not_be_traced;
extern const true_false_string tfs_activate_do_not_activate;
extern const true_false_string tfs_data_pdu_control_pdu;
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __TRUE_FALSE_STRINGS_H__ */
Loading...
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

lua 插件,带一个测试程序,感谢 wireshark
暂无标签
Apache-2.0
使用 Apache-2.0 开源许可协议
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aaabackup/lua-engine.git
git@gitee.com:aaabackup/lua-engine.git
aaabackup
lua-engine
lua-engine
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /