#include "mod_perl.h" /* * *********** WARNING ************** * This file generated by ModPerl::Code/0.01 * Any changes made here will be lost * *********************************** * 01: lib/ModPerl/Code.pm:733 * 02: lib/ModPerl/Code.pm:759 * 03: Makefile.PL:383 * 04: Makefile.PL:96 */ U32 modperl_flags_lookup_dir(const char *str) { switch (*str) { case 'S': if (strEQ(str, "SetupEnv")) return MpDir_f_SETUP_ENV; case 'M': if (strEQ(str, "MergeHandlers")) return MpDir_f_MERGE_HANDLERS; case 'N': if (strEQ(str, "None")) return MpDir_f_NONE; case 'P': if (strEQ(str, "ParseHeaders")) return MpDir_f_PARSE_HEADERS; case 'G': if (strEQ(str, "GlobalRequest")) return MpDir_f_GLOBAL_REQUEST; case 'U': if (strEQ(str, "Unset")) return MpDir_f_UNSET; } return -1; } U32 modperl_flags_lookup_srv(const char *str) { switch (*str) { case 'F': if (strEQ(str, "Fixup")) return MpSrv_f_FIXUP; case 'A': if (strEQ(str, "Authz")) return MpSrv_f_AUTHZ; if (strEQ(str, "Authen")) return MpSrv_f_AUTHEN; if (strEQ(str, "Access")) return MpSrv_f_ACCESS; if (strEQ(str, "Autoload")) return MpSrv_f_AUTOLOAD; case 'O': if (strEQ(str, "OutputFilter")) return MpSrv_f_OUTPUT_FILTER; if (strEQ(str, "OpenLogs")) return MpSrv_f_OPEN_LOGS; case 'T': if (strEQ(str, "Type")) return MpSrv_f_TYPE; if (strEQ(str, "Trans")) return MpSrv_f_TRANS; case 'N': if (strEQ(str, "None")) return MpSrv_f_NONE; case 'P': if (strEQ(str, "Parent")) return MpSrv_f_PARENT; if (strEQ(str, "PreConnection")) return MpSrv_f_PRE_CONNECTION; if (strEQ(str, "PostReadRequest")) return MpSrv_f_POST_READ_REQUEST; if (strEQ(str, "ProcessConnection")) return MpSrv_f_PROCESS_CONNECTION; if (strEQ(str, "PostConfig")) return MpSrv_f_POST_CONFIG; case 'E': if (strEQ(str, "Enable")) return MpSrv_f_ENABLE; case 'H': if (strEQ(str, "HeaderParser")) return MpSrv_f_HEADER_PARSER; case 'M': if (strEQ(str, "MergeHandlers")) return MpSrv_f_MERGE_HANDLERS; if (strEQ(str, "MapToStorage")) return MpSrv_f_MAP_TO_STORAGE; case 'C': if (strEQ(str, "ChildInit")) return MpSrv_f_CHILD_INIT; if (strEQ(str, "ChildExit")) return MpSrv_f_CHILD_EXIT; if (strEQ(str, "Clone")) return MpSrv_f_CLONE; if (strEQ(str, "Cleanup")) return MpSrv_f_CLEANUP; case 'R': if (strEQ(str, "Response")) return MpSrv_f_RESPONSE; case 'I': if (strEQ(str, "InheritSwitches")) return MpSrv_f_INHERIT_SWITCHES; if (strEQ(str, "InputFilter")) return MpSrv_f_INPUT_FILTER; case 'L': if (strEQ(str, "Log")) return MpSrv_f_LOG; case 'U': if (strEQ(str, "Unset")) return MpSrv_f_UNSET; } return -1; }