1 /* 2 * Project : ipv6calc 3 * File : ipv6calchelp.h 4 * Version : $Id: 6ac3fcaae609ac192676422e31069b771d15f859 $ 5 * Copyright : 2002-2019 by Peter Bieringer <pb (at) bieringer.de> 6 * 7 * Information: 8 * Header file for ipv6calchelp.c 9 */ 10 11 #include "ipv6calc_inttypes.h" 12 #include "ipv6calcoptions.h" 13 14 #ifndef _ipv6calchelp_h 15 16 #define _ipv6calchelp_h 1 17 18 #define IPV6CALC_HELP_GEOIP 0x0010 19 #define IPV6CALC_HELP_IP2LOCATION 0x0020 20 #define IPV6CALC_HELP_DBIP 0x0040 21 #define IPV6CALC_HELP_EXTERNAL 0x0080 22 #define IPV6CALC_HELP_BUILTIN 0x0100 23 #define IPV6CALC_HELP_MMDB 0x0200 24 #define IPV6CALC_HELP_ALL 0xffff 25 #define IPV6CALC_HELP_BASIC 0x0000 26 #define IPV6CALC_HELP_QUIET 0x0001 27 28 #endif 29 30 /* defined in each main program */ 31 extern void printhelp_info(void); 32 extern void printhelp_copyright(void); 33 extern void printhelp_version(void); 34 35 /* defined in ipv6calchelp.c */ 36 /* extern void printhelp_print(void); */ 37 /* extern void printhelp_mask(void); */ 38 /* extern void printhelp_case(void); */ 39 /* extern void printhelp_printstartend(void); */ 40 41 extern void printhelp_doublecommands(void); 42 extern void printhelp_missinginputdata(void); 43 extern void printhelp_inputtypes(const uint32_t formatoptions); 44 extern void printhelp_outputtypes(const uint32_t inputtype, const uint32_t formatoptions); 45 extern void printhelp_actiontypes(const uint32_t formatoptions, const struct option longopts[]); 46 extern void printhelp_common(const uint32_t help_features); 47 extern void printhelp_shortcut_options(const struct option longopts[], const s_ipv6calc_longopts_shortopts_map longopts_shortopts_map[]); 48 extern void printhelp_output_dispatcher(const uint32_t outputtype, const uint32_t inputtype); 49 extern void printhelp_action_dispatcher(const uint32_t action, const int embedded); 50 51 extern void ipv6calc_print_features_verbose(const int level_vebose); 52