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

📄 cmdline.h

📁 简单的基于SIP的会话边界控制器
💻 H
字号:
/* cmdline.h *//* File autogenerated by gengetopt version 2.19  */#ifndef CMDLINE_H#define CMDLINE_H/* If we use autoconf.  */#ifdef HAVE_CONFIG_H#include "config.h"#endif#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#ifndef CMDLINE_PARSER_PACKAGE#define CMDLINE_PARSER_PACKAGE "NSR-SBC"#endif#ifndef CMDLINE_PARSER_VERSION#define CMDLINE_PARSER_VERSION "1.0"#endifstruct gengetopt_args_info{  const char *help_help; /* Print help and exit help description.  */  const char *version_help; /* Print version and exit help description.  */  char * conf_filepath_arg;	/* sbc.conf file path (default='/etc/sbc.conf').  */  char * conf_filepath_orig;	/* sbc.conf file path original value given at command line.  */  const char *conf_filepath_help; /* sbc.conf file path help description.  */  char * inaddr_arg;	/* sbc inbound ip address.  */  char * inaddr_orig;	/* sbc inbound ip address original value given at command line.  */  const char *inaddr_help; /* sbc inbound ip address help description.  */  char * outaddr_arg;	/* sbc outbound ip address.  */  char * outaddr_orig;	/* sbc outbound ip address original value given at command line.  */  const char *outaddr_help; /* sbc outbound ip address help description.  */  char * proxy_addr_arg;	/* sip proxy ip address.  */  char * proxy_addr_orig;	/* sip proxy ip address original value given at command line.  */  const char *proxy_addr_help; /* sip proxy ip address help description.  */  int rtp_port_low_arg;	/* the lowest port for relay rtp stream.  */  char * rtp_port_low_orig;	/* the lowest port for relay rtp stream original value given at command line.  */  const char *rtp_port_low_help; /* the lowest port for relay rtp stream help description.  */  int rtp_port_high_arg;	/* the highest port for relay rtp stream.  */  char * rtp_port_high_orig;	/* the highest port for relay rtp stream original value given at command line.  */  const char *rtp_port_high_help; /* the highest port for relay rtp stream help description.  */  int rtp_timeout_arg;	/* how long an rtp stream survive .  */  char * rtp_timeout_orig;	/* how long an rtp stream survive  original value given at command line.  */  const char *rtp_timeout_help; /* how long an rtp stream survive  help description.  */  char * hosts_deny_sip_arg;	/* the sip address which we deny SIP traffic.  */  char * hosts_deny_sip_orig;	/* the sip address which we deny SIP traffic original value given at command line.  */  const char *hosts_deny_sip_help; /* the sip address which we deny SIP traffic help description.  */  char * hosts_allow_sip_arg;	/* the sip address which we accept SIP traffic.  */  char * hosts_allow_sip_orig;	/* the sip address which we accept SIP traffic original value given at command line.  */  const char *hosts_allow_sip_help; /* the sip address which we accept SIP traffic help description.  */  int nat_flag;	/* nat function option (default=off).  */  const char *nat_help; /* nat function option help description.  */  int security_flag;	/* security function option (default=off).  */  const char *security_help; /* security function option help description.  */  int bandctrl_flag;	/* bandctrl function option (default=off).  */  const char *bandctrl_help; /* bandctrl function option help description.  */  int interworking_flag;	/* interworking function option (default=off).  */  const char *interworking_help; /* interworking function option help description.  */  int help_given ;	/* Whether help was given.  */  int version_given ;	/* Whether version was given.  */  int conf_filepath_given ;	/* Whether conf_filepath was given.  */  int inaddr_given ;	/* Whether inaddr was given.  */  int outaddr_given ;	/* Whether outaddr was given.  */  int proxy_addr_given ;	/* Whether proxy_addr was given.  */  int rtp_port_low_given ;	/* Whether rtp_port_low was given.  */  int rtp_port_high_given ;	/* Whether rtp_port_high was given.  */  int rtp_timeout_given ;	/* Whether rtp_timeout was given.  */  int hosts_deny_sip_given ;	/* Whether hosts_deny_sip was given.  */  int hosts_allow_sip_given ;	/* Whether hosts_allow_sip was given.  */  int nat_given ;	/* Whether nat was given.  */  int security_given ;	/* Whether security was given.  */  int bandctrl_given ;	/* Whether bandctrl was given.  */  int interworking_given ;	/* Whether interworking was given.  */} ;extern const char *gengetopt_args_info_purpose;extern const char *gengetopt_args_info_usage;extern const char *gengetopt_args_info_help[];int cmdline_parser (int argc, char * const *argv,  struct gengetopt_args_info *args_info);int cmdline_parser2 (int argc, char * const *argv,  struct gengetopt_args_info *args_info,  int override, int initialize, int check_required);int cmdline_parser_file_save(const char *filename,  struct gengetopt_args_info *args_info);void cmdline_parser_print_help(void);void cmdline_parser_print_version(void);void cmdline_parser_init (struct gengetopt_args_info *args_info);void cmdline_parser_free (struct gengetopt_args_info *args_info);int cmdline_parser_configfile (char * const filename,  struct gengetopt_args_info *args_info,  int override, int initialize, int check_required);int cmdline_parser_required (struct gengetopt_args_info *args_info,  const char *prog_name);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* CMDLINE_H */

⌨️ 快捷键说明

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