/* */ #ifndef D_HELP_TAGS_H #define D_HELP_TAGS_H #include "common.h" namespace aria2 { enum HelpTag { TAG_BASIC, TAG_ADVANCED, TAG_HTTP, TAG_HTTPS, TAG_FTP, TAG_METALINK, TAG_BITTORRENT, TAG_COOKIE, TAG_HOOK, TAG_FILE, TAG_RPC, TAG_CHECKSUM, TAG_EXPERIMENTAL, TAG_DEPRECATED, TAG_HELP, MAX_HELP_TAG }; #define STR_TAG_ALL "#all" // Returns tag name of the given |tag| ID. const char* strHelpTag(uint32_t tag); // Returns the corresponding enum value of the given |tagName|. If // there is no such tag, returns MAX_HELP_TAG. uint32_t idHelpTag(const char* tagName); } // namespace aria2 #endif // D_HELP_TAGS_H