home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / perl / MethodLookup.pm < prev    next >
Encoding:
Perl POD Document  |  2004-02-15  |  98.8 KB  |  2,805 lines

  1. # /*
  2. #  * *********** WARNING **************
  3. #  * This file generated by ModPerl::WrapXS/0.01
  4. #  * Any changes made here will be lost
  5. #  * ***********************************
  6. #  * 01: lib/ModPerl/Code.pm:676
  7. #  * 02: lib/ModPerl/WrapXS.pm:629
  8. #  * 03: lib/ModPerl/WrapXS.pm:1010
  9. #  * 04: Makefile.PL:290
  10. #  * 05: Makefile.PL:238
  11. #  * 06: Makefile.PL:49
  12. #  */
  13.  
  14. package ModPerl::MethodLookup;
  15.  
  16. use strict;
  17. use warnings;
  18.  
  19. my $methods = {
  20.           'BINMODE' => [
  21.                          [
  22.                            'Apache::RequestIO',
  23.                            'Apache::RequestRec'
  24.                          ]
  25.                        ],
  26.           'CLEAR' => [
  27.                        [
  28.                          'APR::Table',
  29.                          'APR::Table'
  30.                        ]
  31.                      ],
  32.           'CLOSE' => [
  33.                        [
  34.                          'Apache::RequestIO',
  35.                          'Apache::RequestRec'
  36.                        ]
  37.                      ],
  38.           'DELETE' => [
  39.                         [
  40.                           'APR::Table',
  41.                           'APR::Table'
  42.                         ]
  43.                       ],
  44.           'DESTROY' => [
  45.                          [
  46.                            'APR::ThreadMutex',
  47.                            'APR::ThreadMutex'
  48.                          ],
  49.                          [
  50.                            'Apache::SubRequest',
  51.                            'Apache::SubRequest'
  52.                          ],
  53.                          [
  54.                            'APR::Pool',
  55.                            'APR::Pool'
  56.                          ]
  57.                        ],
  58.           'EXISTS' => [
  59.                         [
  60.                           'APR::Table',
  61.                           'APR::Table'
  62.                         ]
  63.                       ],
  64.           'FETCH' => [
  65.                        [
  66.                          'APR::Table',
  67.                          'APR::Table'
  68.                        ]
  69.                      ],
  70.           'FILENO' => [
  71.                         [
  72.                           'Apache::RequestIO',
  73.                           'Apache::RequestRec'
  74.                         ]
  75.                       ],
  76.           'FIRSTKEY' => [
  77.                           [
  78.                             'APR::Table',
  79.                             'APR::Table'
  80.                           ]
  81.                         ],
  82.           'GETC' => [
  83.                       [
  84.                         'Apache::RequestIO',
  85.                         'Apache::RequestRec'
  86.                       ]
  87.                     ],
  88.           'LOG_MARK' => [
  89.                           [
  90.                             'Apache::Log',
  91.                             undef
  92.                           ]
  93.                         ],
  94.           'MODIFY_CODE_ATTRIBUTES' => [
  95.                                         [
  96.                                           'Apache::Filter',
  97.                                           undef
  98.                                         ]
  99.                                       ],
  100.           'NEXTKEY' => [
  101.                          [
  102.                            'APR::Table',
  103.                            'APR::Table'
  104.                          ]
  105.                        ],
  106.           'OPEN' => [
  107.                       [
  108.                         'Apache::RequestIO',
  109.                         'Apache::RequestRec'
  110.                       ]
  111.                     ],
  112.           'PRINT' => [
  113.                        [
  114.                          'Apache::RequestIO',
  115.                          'Apache::RequestRec'
  116.                        ],
  117.                        [
  118.                          'Apache::Filter',
  119.                          'Apache::Filter'
  120.                        ]
  121.                      ],
  122.           'PRINTF' => [
  123.                         [
  124.                           'Apache::RequestIO',
  125.                           'Apache::RequestRec'
  126.                         ]
  127.                       ],
  128.           'READ' => [
  129.                       [
  130.                         'Apache::RequestIO',
  131.                         'Apache::RequestRec'
  132.                       ]
  133.                     ],
  134.           'STORE' => [
  135.                        [
  136.                          'APR::Table',
  137.                          'APR::Table'
  138.                        ]
  139.                      ],
  140.           'TIEHANDLE' => [
  141.                            [
  142.                              'Apache::RequestIO',
  143.                              'Apache::RequestRec'
  144.                            ],
  145.                            [
  146.                              'Apache::Filter',
  147.                              'Apache::Filter'
  148.                            ]
  149.                          ],
  150.           'UNTIE' => [
  151.                        [
  152.                          'Apache::RequestIO',
  153.                          'Apache::RequestRec'
  154.                        ]
  155.                      ],
  156.           'WRITE' => [
  157.                        [
  158.                          'Apache::RequestIO',
  159.                          'Apache::RequestRec'
  160.                        ]
  161.                      ],
  162.           'aborted' => [
  163.                          [
  164.                            'Apache::Connection',
  165.                            'Apache::Connection'
  166.                          ]
  167.                        ],
  168.           'add' => [
  169.                      [
  170.                        'APR::Table',
  171.                        'APR::Table'
  172.                      ]
  173.                    ],
  174.           'add_config' => [
  175.                             [
  176.                               'Apache::ServerUtil',
  177.                               'Apache::Server'
  178.                             ],
  179.                             [
  180.                               'Apache::RequestUtil',
  181.                               'Apache::RequestRec'
  182.                             ]
  183.                           ],
  184.           'add_input_filter' => [
  185.                                   [
  186.                                     'Apache::Filter',
  187.                                     'Apache::RequestRec'
  188.                                   ],
  189.                                   [
  190.                                     'Apache::Filter',
  191.                                     'Apache::Connection'
  192.                                   ]
  193.                                 ],
  194.           'add_output_filter' => [
  195.                                    [
  196.                                      'Apache::Filter',
  197.                                      'Apache::RequestRec'
  198.                                    ],
  199.                                    [
  200.                                      'Apache::Filter',
  201.                                      'Apache::Connection'
  202.                                    ]
  203.                                  ],
  204.           'add_version_component' => [
  205.                                        [
  206.                                          'Apache::ServerUtil',
  207.                                          'Apache::Server'
  208.                                        ]
  209.                                      ],
  210.           'addrs' => [
  211.                        [
  212.                          'Apache::Server',
  213.                          'Apache::Server'
  214.                        ]
  215.                      ],
  216.           'alert' => [
  217.                        [
  218.                          'Apache::Log',
  219.                          undef
  220.                        ]
  221.                      ],
  222.           'allow_methods' => [
  223.                                [
  224.                                  'Apache::Access',
  225.                                  'Apache::RequestRec'
  226.                                ]
  227.                              ],
  228.           'allow_options' => [
  229.                                [
  230.                                  'Apache::Access',
  231.                                  'Apache::RequestRec'
  232.                                ]
  233.                              ],
  234.           'allow_overrides' => [
  235.                                  [
  236.                                    'Apache::Access',
  237.                                    'Apache::RequestRec'
  238.                                  ]
  239.                                ],
  240.           'allowed' => [
  241.                          [
  242.                            'Apache::RequestRec',
  243.                            'Apache::RequestRec'
  244.                          ]
  245.                        ],
  246.           'allowed_methods' => [
  247.                                  [
  248.                                    'Apache::RequestRec',
  249.                                    'Apache::RequestRec'
  250.                                  ]
  251.                                ],
  252.           'allowed_xmethods' => [
  253.                                   [
  254.                                     'Apache::RequestRec',
  255.                                     'Apache::RequestRec'
  256.                                   ]
  257.                                 ],
  258.           'ap_auth_type' => [
  259.                               [
  260.                                 'Apache::RequestRec',
  261.                                 'Apache::RequestRec'
  262.                               ]
  263.                             ],
  264.           'args' => [
  265.                       [
  266.                         'Apache::Directive',
  267.                         'Apache::Directive'
  268.                       ],
  269.                       [
  270.                         'Apache::RequestRec',
  271.                         'Apache::RequestRec'
  272.                       ]
  273.                     ],
  274.           'args_how' => [
  275.                           [
  276.                             'Apache::Command',
  277.                             'Apache::Command'
  278.                           ]
  279.                         ],
  280.           'as_hash' => [
  281.                          [
  282.                            'Apache::Directive',
  283.                            'Apache::Directive'
  284.                          ]
  285.                        ],
  286.           'as_string' => [
  287.                            [
  288.                              'Apache::RequestUtil',
  289.                              'Apache::RequestRec'
  290.                            ],
  291.                            [
  292.                              'Apache::Directive',
  293.                              'Apache::Directive'
  294.                            ]
  295.                          ],
  296.           'assbackwards' => [
  297.                               [
  298.                                 'Apache::RequestRec',
  299.                                 'Apache::RequestRec'
  300.                               ]
  301.                             ],
  302.           'atime' => [
  303.                        [
  304.                          'APR::Finfo',
  305.                          'APR::Finfo'
  306.                        ]
  307.                      ],
  308.           'auth_name' => [
  309.                            [
  310.                              'Apache::Access',
  311.                              'Apache::RequestRec'
  312.                            ]
  313.                          ],
  314.           'auth_type' => [
  315.                            [
  316.                              'Apache::Access',
  317.                              'Apache::RequestRec'
  318.                            ]
  319.                          ],
  320.           'base_server' => [
  321.                              [
  322.                                'Apache::Connection',
  323.                                'Apache::Connection'
  324.                              ]
  325.                            ],
  326.           'bind' => [
  327.                       [
  328.                         'APR::Socket',
  329.                         'APR::Socket'
  330.                       ]
  331.                     ],
  332.           'bucket_alloc' => [
  333.                               [
  334.                                 'Apache::Connection',
  335.                                 'Apache::Connection'
  336.                               ]
  337.                             ],
  338.           'bytes_sent' => [
  339.                             [
  340.                               'Apache::RequestRec',
  341.                               'Apache::RequestRec'
  342.                             ]
  343.                           ],
  344.           'c' => [
  345.                    [
  346.                      'Apache::Filter',
  347.                      'Apache::Filter'
  348.                    ]
  349.                  ],
  350.           'canonical_filename' => [
  351.                                     [
  352.                                       'Apache::RequestRec',
  353.                                       'Apache::RequestRec'
  354.                                     ]
  355.                                   ],
  356.           'check_cmd_context' => [
  357.                                    [
  358.                                      'Apache::Command',
  359.                                      'Apache::Command'
  360.                                    ]
  361.                                  ],
  362.           'cleanup_for_exec' => [
  363.                                   [
  364.                                     'APR::Pool',
  365.                                     'APR::Pool'
  366.                                   ]
  367.                                 ],
  368.           'cleanup_register' => [
  369.                                   [
  370.                                     'APR::Pool',
  371.                                     'APR::Pool'
  372.                                   ]
  373.                                 ],
  374.           'clear' => [
  375.                        [
  376.                          'APR::Table',
  377.                          'APR::Table'
  378.                        ],
  379.                        [
  380.                          'APR::Pool',
  381.                          'APR::Pool'
  382.                        ]
  383.                      ],
  384.           'client_socket' => [
  385.                                [
  386.                                  'Apache::Connection',
  387.                                  'Apache::Connection'
  388.                                ]
  389.                              ],
  390.           'close' => [
  391.                        [
  392.                          'APR::Socket',
  393.                          'APR::Socket'
  394.                        ]
  395.                      ],
  396.           'cmd' => [
  397.                      [
  398.                        'Apache::CmdParms',
  399.                        'Apache::CmdParms'
  400.                      ]
  401.                    ],
  402.           'cmd_data' => [
  403.                           [
  404.                             'Apache::Command',
  405.                             'Apache::Command'
  406.                           ]
  407.                         ],
  408.           'cmds' => [
  409.                       [
  410.                         'Apache::Module',
  411.                         'Apache::Module'
  412.                       ]
  413.                     ],
  414.           'compress' => [
  415.                           [
  416.                             'APR::Table',
  417.                             'APR::Table'
  418.                           ]
  419.                         ],
  420.           'concat' => [
  421.                         [
  422.                           'APR::Brigade',
  423.                           'APR::Brigade'
  424.                         ]
  425.                       ],
  426.           'config_file' => [
  427.                              [
  428.                                'Apache::CmdParms',
  429.                                'Apache::CmdParms'
  430.                              ]
  431.                            ],
  432.           'conftree' => [
  433.                           [
  434.                             'Apache::Directive',
  435.                             'Apache::Directive'
  436.                           ]
  437.                         ],
  438.           'conn_config' => [
  439.                              [
  440.                                'Apache::Connection',
  441.                                'Apache::Connection'
  442.                              ]
  443.                            ],
  444.           'connect' => [
  445.                          [
  446.                            'APR::Socket',
  447.                            'APR::Socket'
  448.                          ]
  449.                        ],
  450.           'connection' => [
  451.                             [
  452.                               'Apache::RequestRec',
  453.                               'Apache::RequestRec'
  454.                             ]
  455.                           ],
  456.           'construct_server' => [
  457.                                   [
  458.                                     'Apache::URI',
  459.                                     'Apache::RequestRec'
  460.                                   ]
  461.                                 ],
  462.           'construct_url' => [
  463.                                [
  464.                                  'Apache::URI',
  465.                                  'Apache::RequestRec'
  466.                                ]
  467.                              ],
  468.           'content_encoding' => [
  469.                                   [
  470.                                     'Apache::RequestRec',
  471.                                     'Apache::RequestRec'
  472.                                   ]
  473.                                 ],
  474.           'content_languages' => [
  475.                                    [
  476.                                      'Apache::RequestRec',
  477.                                      'Apache::RequestRec'
  478.                                    ]
  479.                                  ],
  480.           'content_type' => [
  481.                               [
  482.                                 'Apache::RequestRec',
  483.                                 'Apache::RequestRec'
  484.                               ]
  485.                             ],
  486.           'context' => [
  487.                          [
  488.                            'Apache::CmdParms',
  489.                            'Apache::CmdParms'
  490.                          ]
  491.                        ],
  492.           'copy' => [
  493.                       [
  494.                         'APR::Table',
  495.                         'APR::Table'
  496.                       ]
  497.                     ],
  498.           'crit' => [
  499.                       [
  500.                         'Apache::Log',
  501.                         undef
  502.                       ]
  503.                     ],
  504.           'csize' => [
  505.                        [
  506.                          'APR::Finfo',
  507.                          'APR::Finfo'
  508.                        ]
  509.                      ],
  510.           'ctime' => [
  511.                        [
  512.                          'APR::Finfo',
  513.                          'APR::Finfo'
  514.                        ]
  515.                      ],
  516.           'ctx' => [
  517.                      [
  518.                        'Apache::Filter',
  519.                        'Apache::Filter'
  520.                      ]
  521.                    ],
  522.           'current_callback' => [
  523.                                   [
  524.                                     'ModPerl::Util',
  525.                                     'Apache'
  526.                                   ]
  527.                                 ],
  528.           'custom_response' => [
  529.                                  [
  530.                                    'Apache::Response',
  531.                                    'Apache::RequestRec'
  532.                                  ]
  533.                                ],
  534.           'data' => [
  535.                       [
  536.                         'APR::Bucket',
  537.                         'APR::Bucket'
  538.                       ],
  539.                       [
  540.                         'Apache::Directive',
  541.                         'Apache::Directive'
  542.                       ]
  543.                     ],
  544.           'debug' => [
  545.                        [
  546.                          'Apache::Log',
  547.                          undef
  548.                        ]
  549.                      ],
  550.           'decode' => [
  551.                         [
  552.                           'APR::Base64',
  553.                           undef
  554.                         ]
  555.                       ],
  556.           'default_type' => [
  557.                               [
  558.                                 'Apache::RequestUtil',
  559.                                 'Apache::RequestRec'
  560.                               ]
  561.                             ],
  562.           'destroy' => [
  563.                          [
  564.                            'APR::Brigade',
  565.                            'APR::Brigade'
  566.                          ],
  567.                          [
  568.                            'APR::Pool',
  569.                            'APR::Pool'
  570.                          ]
  571.                        ],
  572.           'device' => [
  573.                         [
  574.                           'APR::Finfo',
  575.                           'APR::Finfo'
  576.                         ]
  577.                       ],
  578.           'die' => [
  579.                      [
  580.                        'Apache::HookRun',
  581.                        'Apache::RequestRec'
  582.                      ]
  583.                    ],
  584.           'dir_config' => [
  585.                             [
  586.                               'Apache::ServerUtil',
  587.                               'Apache::Server'
  588.                             ],
  589.                             [
  590.                               'Apache::RequestUtil',
  591.                               'Apache::RequestRec'
  592.                             ]
  593.                           ],
  594.           'directive' => [
  595.                            [
  596.                              'Apache::CmdParms',
  597.                              'Apache::CmdParms'
  598.                            ],
  599.                            [
  600.                              'Apache::Directive',
  601.                              'Apache::Directive'
  602.                            ]
  603.                          ],
  604.           'discard_request_body' => [
  605.                                       [
  606.                                         'Apache::RequestIO',
  607.                                         'Apache::RequestRec'
  608.                                       ]
  609.                                     ],
  610.           'dns_looked_up' => [
  611.                                [
  612.                                  'APR::URI',
  613.                                  'APR::URI'
  614.                                ]
  615.                              ],
  616.           'dns_resolved' => [
  617.                               [
  618.                                 'APR::URI',
  619.                                 'APR::URI'
  620.                               ]
  621.                             ],
  622.           'do' => [
  623.                     [
  624.                       'APR::Table',
  625.                       'APR::Table'
  626.                     ]
  627.                   ],
  628.           'document_root' => [
  629.                                [
  630.                                  'Apache::RequestUtil',
  631.                                  'Apache::RequestRec'
  632.                                ]
  633.                              ],
  634.           'dynamic_load_handle' => [
  635.                                      [
  636.                                        'Apache::Module',
  637.                                        'Apache::Module'
  638.                                      ]
  639.                                    ],
  640.           'emerg' => [
  641.                        [
  642.                          'Apache::Log',
  643.                          undef
  644.                        ]
  645.                      ],
  646.           'empty' => [
  647.                        [
  648.                          'APR::Brigade',
  649.                          'APR::Brigade'
  650.                        ]
  651.                      ],
  652.           'encode' => [
  653.                         [
  654.                           'APR::Base64',
  655.                           undef
  656.                         ]
  657.                       ],
  658.           'encode_len' => [
  659.                             [
  660.                               'APR::Base64',
  661.                               'APR::Base64'
  662.                             ]
  663.                           ],
  664.           'eos_create' => [
  665.                             [
  666.                               'APR::Bucket',
  667.                               'APR::Bucket'
  668.                             ]
  669.                           ],
  670.           'equal' => [
  671.                        [
  672.                          'APR::SockAddr',
  673.                          'APR::SockAddr'
  674.                        ]
  675.                      ],
  676.           'err_directive' => [
  677.                                [
  678.                                  'Apache::CmdParms',
  679.                                  'Apache::CmdParms'
  680.                                ]
  681.                              ],
  682.           'err_headers_out' => [
  683.                                  [
  684.                                    'Apache::RequestRec',
  685.                                    'Apache::RequestRec'
  686.                                  ]
  687.                                ],
  688.           'errmsg' => [
  689.                         [
  690.                           'Apache::Command',
  691.                           'Apache::Command'
  692.                         ]
  693.                       ],
  694.           'error' => [
  695.                        [
  696.                          'Apache::Log',
  697.                          undef
  698.                        ]
  699.                      ],
  700.           'error_fname' => [
  701.                              [
  702.                                'Apache::Server',
  703.                                'Apache::Server'
  704.                              ]
  705.                            ],
  706.           'error_log2stderr' => [
  707.                                   [
  708.                                     'Apache::ServerUtil',
  709.                                     'Apache::Server'
  710.                                   ]
  711.                                 ],
  712.           'escape_path' => [
  713.                              [
  714.                                'Apache::Util',
  715.                                'Apache::Util'
  716.                              ]
  717.                            ],
  718.           'exists_config_define' => [
  719.                                       [
  720.                                         'Apache::ServerUtil',
  721.                                         'Apache::Server'
  722.                                       ]
  723.                                     ],
  724.           'exit' => [
  725.                       [
  726.                         'ModPerl::Util',
  727.                         'ModPerl::Util'
  728.                       ]
  729.                     ],
  730.           'fflush' => [
  731.                         [
  732.                           'Apache::Filter',
  733.                           'Apache::Filter'
  734.                         ]
  735.                       ],
  736.           'filename' => [
  737.                           [
  738.                             'Apache::Directive',
  739.                             'Apache::Directive'
  740.                           ],
  741.                           [
  742.                             'Apache::RequestRec',
  743.                             'Apache::RequestRec'
  744.                           ]
  745.                         ],
  746.           'filepath_name_get' => [
  747.                                    [
  748.                                      'APR::Util',
  749.                                      'APR'
  750.                                    ]
  751.                                  ],
  752.           'filetype' => [
  753.                           [
  754.                             'APR::Finfo',
  755.                             'APR::Finfo'
  756.                           ]
  757.                         ],
  758.           'filter_flush' => [
  759.                               [
  760.                                 'Apache::Filter',
  761.                                 'APR::Brigade'
  762.                               ]
  763.                             ],
  764.           'find_linked_module' => [
  765.                                     [
  766.                                       'Apache::Module',
  767.                                       'Apache::Module'
  768.                                     ]
  769.                                   ],
  770.           'find_module_name' => [
  771.                                   [
  772.                                     'Apache::Module',
  773.                                     'Apache::Module'
  774.                                   ]
  775.                                 ],
  776.           'finfo' => [
  777.                        [
  778.                          'Apache::RequestRec',
  779.                          'Apache::RequestRec'
  780.                        ]
  781.                      ],
  782.           'first' => [
  783.                        [
  784.                          'APR::Brigade',
  785.                          'APR::Brigade'
  786.                        ]
  787.                      ],
  788.           'first_child' => [
  789.                              [
  790.                                'Apache::Directive',
  791.                                'Apache::Directive'
  792.                              ]
  793.                            ],
  794.           'flatten' => [
  795.                          [
  796.                            'APR::Brigade',
  797.                            'APR::Brigade'
  798.                          ]
  799.                        ],
  800.           'flush_create' => [
  801.                               [
  802.                                 'APR::Bucket',
  803.                                 'APR::Bucket'
  804.                               ]
  805.                             ],
  806.           'fname' => [
  807.                        [
  808.                          'APR::Finfo',
  809.                          'APR::Finfo'
  810.                        ]
  811.                      ],
  812.           'format' => [
  813.                         [
  814.                           'APR::UUID',
  815.                           undef
  816.                         ]
  817.                       ],
  818.           'format_size' => [
  819.                              [
  820.                                'APR::String',
  821.                                'APR::String'
  822.                              ]
  823.                            ],
  824.           'fputs' => [
  825.                        [
  826.                          'Apache::Filter',
  827.                          'Apache::Filter'
  828.                        ]
  829.                      ],
  830.           'fragment' => [
  831.                           [
  832.                             'APR::URI',
  833.                             'APR::URI'
  834.                           ]
  835.                         ],
  836.           'frec' => [
  837.                       [
  838.                         'Apache::Filter',
  839.                         'Apache::Filter'
  840.                       ]
  841.                     ],
  842.           'get' => [
  843.                      [
  844.                        'APR::Table',
  845.                        undef
  846.                      ]
  847.                    ],
  848.           'get_basic_auth_pw' => [
  849.                                    [
  850.                                      'Apache::Access',
  851.                                      undef
  852.                                    ]
  853.                                  ],
  854.           'get_brigade' => [
  855.                              [
  856.                                'Apache::Filter',
  857.                                'Apache::Filter'
  858.                              ]
  859.                            ],
  860.           'get_client_block' => [
  861.                                   [
  862.                                     'Apache::RequestIO',
  863.                                     'Apache::RequestRec'
  864.                                   ]
  865.                                 ],
  866.           'get_config' => [
  867.                             [
  868.                               'Apache::Module',
  869.                               'Apache::Module'
  870.                             ]
  871.                           ],
  872.           'get_handlers' => [
  873.                               [
  874.                                 'Apache::ServerUtil',
  875.                                 'Apache::Server'
  876.                               ],
  877.                               [
  878.                                 'Apache::RequestUtil',
  879.                                 'Apache::RequestRec'
  880.                               ]
  881.                             ],
  882.           'get_limit_req_body' => [
  883.                                     [
  884.                                       'Apache::RequestUtil',
  885.                                       'Apache::RequestRec'
  886.                                     ]
  887.                                   ],
  888.           'get_remote_host' => [
  889.                                  [
  890.                                    'Apache::Connection',
  891.                                    'Apache::Connection'
  892.                                  ]
  893.                                ],
  894.           'get_remote_logname' => [
  895.                                     [
  896.                                       'Apache::Access',
  897.                                       'Apache::RequestRec'
  898.                                     ]
  899.                                   ],
  900.           'get_server_name' => [
  901.                                  [
  902.                                    'Apache::RequestUtil',
  903.                                    'Apache::RequestRec'
  904.                                  ]
  905.                                ],
  906.           'get_server_port' => [
  907.                                  [
  908.                                    'Apache::RequestUtil',
  909.                                    'Apache::RequestRec'
  910.                                  ]
  911.                                ],
  912.           'get_status_line' => [
  913.                                  [
  914.                                    'Apache::ServerUtil',
  915.                                    'Apache::Server'
  916.                                  ]
  917.                                ],
  918.           'group' => [
  919.                        [
  920.                          'APR::Finfo',
  921.                          'APR::Finfo'
  922.                        ]
  923.                      ],
  924.           'handler' => [
  925.                          [
  926.                            'Apache::RequestRec',
  927.                            'Apache::RequestRec'
  928.                          ]
  929.                        ],
  930.           'header_only' => [
  931.                              [
  932.                                'Apache::RequestRec',
  933.                                'Apache::RequestRec'
  934.                              ]
  935.                            ],
  936.           'headers_in' => [
  937.                             [
  938.                               'Apache::RequestRec',
  939.                               'Apache::RequestRec'
  940.                             ]
  941.                           ],
  942.           'headers_out' => [
  943.                              [
  944.                                'Apache::RequestRec',
  945.                                'Apache::RequestRec'
  946.                              ]
  947.                            ],
  948.           'hostinfo' => [
  949.                           [
  950.                             'APR::URI',
  951.                             'APR::URI'
  952.                           ]
  953.                         ],
  954.           'hostname' => [
  955.                           [
  956.                             'APR::URI',
  957.                             'APR::URI'
  958.                           ],
  959.                           [
  960.                             'Apache::RequestRec',
  961.                             'Apache::RequestRec'
  962.                           ]
  963.                         ],
  964.           'ht_time' => [
  965.                          [
  966.                            'Apache::Util',
  967.                            'Apache::Util'
  968.                          ]
  969.                        ],
  970.           'id' => [
  971.                     [
  972.                       'Apache::Connection',
  973.                       'Apache::Connection'
  974.                     ]
  975.                   ],
  976.           'info' => [
  977.                       [
  978.                         'Apache::CmdParms',
  979.                         'Apache::CmdParms'
  980.                       ],
  981.                       [
  982.                         'Apache::Log',
  983.                         undef
  984.                       ]
  985.                     ],
  986.           'inode' => [
  987.                        [
  988.                          'APR::Finfo',
  989.                          'APR::Finfo'
  990.                        ]
  991.                      ],
  992.           'input_filters' => [
  993.                                [
  994.                                  'Apache::Connection',
  995.                                  'Apache::Connection'
  996.                                ],
  997.                                [
  998.                                  'Apache::RequestRec',
  999.                                  'Apache::RequestRec'
  1000.                                ]
  1001.                              ],
  1002.           'insert_after' => [
  1003.                               [
  1004.                                 'APR::Bucket',
  1005.                                 'APR::Bucket'
  1006.                               ]
  1007.                             ],
  1008.           'insert_before' => [
  1009.                                [
  1010.                                  'APR::Bucket',
  1011.                                  'APR::Bucket'
  1012.                                ]
  1013.                              ],
  1014.           'insert_head' => [
  1015.                              [
  1016.                                'APR::Brigade',
  1017.                                'APR::Brigade'
  1018.                              ]
  1019.                            ],
  1020.           'insert_tail' => [
  1021.                              [
  1022.                                'APR::Brigade',
  1023.                                'APR::Brigade'
  1024.                              ]
  1025.                            ],
  1026.           'internal_fast_redirect' => [
  1027.                                         [
  1028.                                           'Apache::SubRequest',
  1029.                                           'Apache::RequestRec'
  1030.                                         ]
  1031.                                       ],
  1032.           'internal_redirect' => [
  1033.                                    [
  1034.                                      'Apache::SubRequest',
  1035.                                      'Apache::RequestRec'
  1036.                                    ]
  1037.                                  ],
  1038.           'internal_redirect_handler' => [
  1039.                                            [
  1040.                                              'Apache::SubRequest',
  1041.                                              'Apache::RequestRec'
  1042.                                            ]
  1043.                                          ],
  1044.           'ip_get' => [
  1045.                         [
  1046.                           'APR::SockAddr',
  1047.                           'APR::SockAddr'
  1048.                         ]
  1049.                       ],
  1050.           'is_ancestor' => [
  1051.                              [
  1052.                                'APR::Pool',
  1053.                                'APR::Pool'
  1054.                              ]
  1055.                            ],
  1056.           'is_eos' => [
  1057.                         [
  1058.                           'APR::Bucket',
  1059.                           'APR::Bucket'
  1060.                         ]
  1061.                       ],
  1062.           'is_flush' => [
  1063.                           [
  1064.                             'APR::Bucket',
  1065.                             'APR::Bucket'
  1066.                           ]
  1067.                         ],
  1068.           'is_initial_req' => [
  1069.                                 [
  1070.                                   'Apache::RequestUtil',
  1071.                                   'Apache::RequestRec'
  1072.                                 ]
  1073.                               ],
  1074.           'is_initialized' => [
  1075.                                 [
  1076.                                   'APR::URI',
  1077.                                   'APR::URI'
  1078.                                 ]
  1079.                               ],
  1080.           'is_perl_option_enabled' => [
  1081.                                         [
  1082.                                           'Apache::ServerUtil',
  1083.                                           'Apache::Server'
  1084.                                         ],
  1085.                                         [
  1086.                                           'Apache::RequestUtil',
  1087.                                           'Apache::RequestRec'
  1088.                                         ]
  1089.                                       ],
  1090.           'is_virtual' => [
  1091.                             [
  1092.                               'Apache::Server',
  1093.                               'Apache::Server'
  1094.                             ]
  1095.                           ],
  1096.           'keep_alive' => [
  1097.                             [
  1098.                               'Apache::Server',
  1099.                               'Apache::Server'
  1100.                             ]
  1101.                           ],
  1102.           'keep_alive_max' => [
  1103.                                 [
  1104.                                   'Apache::Server',
  1105.                                   'Apache::Server'
  1106.                                 ]
  1107.                               ],
  1108.           'keep_alive_timeout' => [
  1109.                                     [
  1110.                                       'Apache::Server',
  1111.                                       'Apache::Server'
  1112.                                     ]
  1113.                                   ],
  1114.           'keepalive' => [
  1115.                            [
  1116.                              'Apache::Connection',
  1117.                              'Apache::Connection'
  1118.                            ]
  1119.                          ],
  1120.           'last' => [
  1121.                       [
  1122.                         'APR::Brigade',
  1123.                         'APR::Brigade'
  1124.                       ]
  1125.                     ],
  1126.           'length' => [
  1127.                         [
  1128.                           'APR::Bucket',
  1129.                           'APR::Bucket'
  1130.                         ],
  1131.                         [
  1132.                           'APR::Brigade',
  1133.                           'APR::Brigade'
  1134.                         ]
  1135.                       ],
  1136.           'limit_req_fields' => [
  1137.                                   [
  1138.                                     'Apache::Server',
  1139.                                     'Apache::Server'
  1140.                                   ]
  1141.                                 ],
  1142.           'limit_req_fieldsize' => [
  1143.                                      [
  1144.                                        'Apache::Server',
  1145.                                        'Apache::Server'
  1146.                                      ]
  1147.                                    ],
  1148.           'limit_req_line' => [
  1149.                                 [
  1150.                                   'Apache::Server',
  1151.                                   'Apache::Server'
  1152.                                 ]
  1153.                               ],
  1154.           'limited' => [
  1155.                          [
  1156.                            'Apache::CmdParms',
  1157.                            'Apache::CmdParms'
  1158.                          ]
  1159.                        ],
  1160.           'limited_xmethods' => [
  1161.                                   [
  1162.                                     'Apache::CmdParms',
  1163.                                     'Apache::CmdParms'
  1164.                                   ]
  1165.                                 ],
  1166.           'line_num' => [
  1167.                           [
  1168.                             'Apache::Directive',
  1169.                             'Apache::Directive'
  1170.                           ]
  1171.                         ],
  1172.           'listen' => [
  1173.                         [
  1174.                           'APR::Socket',
  1175.                           'APR::Socket'
  1176.                         ]
  1177.                       ],
  1178.           'loaded' => [
  1179.                         [
  1180.                           'Apache::Module',
  1181.                           'Apache::Module'
  1182.                         ]
  1183.                       ],
  1184.           'local_addr' => [
  1185.                             [
  1186.                               'Apache::Connection',
  1187.                               'Apache::Connection'
  1188.                             ]
  1189.                           ],
  1190.           'local_host' => [
  1191.                             [
  1192.                               'Apache::Connection',
  1193.                               'Apache::Connection'
  1194.                             ]
  1195.                           ],
  1196.           'local_ip' => [
  1197.                           [
  1198.                             'Apache::Connection',
  1199.                             'Apache::Connection'
  1200.                           ]
  1201.                         ],
  1202.           'location' => [
  1203.                           [
  1204.                             'Apache::RequestUtil',
  1205.                             'Apache::RequestRec'
  1206.                           ]
  1207.                         ],
  1208.           'location_merge' => [
  1209.                                 [
  1210.                                   'Apache::RequestUtil',
  1211.                                   'Apache::RequestRec'
  1212.                                 ]
  1213.                               ],
  1214.           'lock' => [
  1215.                       [
  1216.                         'APR::ThreadMutex',
  1217.                         'APR::ThreadMutex'
  1218.                       ]
  1219.                     ],
  1220.           'log' => [
  1221.                      [
  1222.                        'Apache::Log',
  1223.                        'Apache::Server'
  1224.                      ],
  1225.                      [
  1226.                        'Apache::Log',
  1227.                        'Apache::RequestRec'
  1228.                      ]
  1229.                    ],
  1230.           'log_error' => [
  1231.                            [
  1232.                              'Apache::Log',
  1233.                              undef
  1234.                            ],
  1235.                            [
  1236.                              'Apache::Log',
  1237.                              undef
  1238.                            ]
  1239.                          ],
  1240.           'log_pid' => [
  1241.                          [
  1242.                            'Apache::Log',
  1243.                            'Apache::Log'
  1244.                          ]
  1245.                        ],
  1246.           'log_rerror' => [
  1247.                             [
  1248.                               'Apache::Log',
  1249.                               undef
  1250.                             ]
  1251.                           ],
  1252.           'log_serror' => [
  1253.                             [
  1254.                               'Apache::Log',
  1255.                               undef
  1256.                             ]
  1257.                           ],
  1258.           'loglevel' => [
  1259.                           [
  1260.                             'Apache::Server',
  1261.                             'Apache::Server'
  1262.                           ]
  1263.                         ],
  1264.           'lookup' => [
  1265.                         [
  1266.                           'Apache::Directive',
  1267.                           undef
  1268.                         ]
  1269.                       ],
  1270.           'lookup_defaults' => [
  1271.                                  [
  1272.                                    'Apache::Server',
  1273.                                    'Apache::Server'
  1274.                                  ]
  1275.                                ],
  1276.           'lookup_dirent' => [
  1277.                                [
  1278.                                  'Apache::SubRequest',
  1279.                                  'Apache::RequestRec'
  1280.                                ]
  1281.                              ],
  1282.           'lookup_file' => [
  1283.                              [
  1284.                                'Apache::SubRequest',
  1285.                                'Apache::RequestRec'
  1286.                              ]
  1287.                            ],
  1288.           'lookup_method_uri' => [
  1289.                                    [
  1290.                                      'Apache::SubRequest',
  1291.                                      'Apache::RequestRec'
  1292.                                    ]
  1293.                                  ],
  1294.           'lookup_uri' => [
  1295.                             [
  1296.                               'Apache::SubRequest',
  1297.                               'Apache::RequestRec'
  1298.                             ]
  1299.                           ],
  1300.           'main' => [
  1301.                       [
  1302.                         'Apache::RequestRec',
  1303.                         'Apache::RequestRec'
  1304.                       ]
  1305.                     ],
  1306.           'make' => [
  1307.                       [
  1308.                         'APR::Table',
  1309.                         'APR::Table'
  1310.                       ]
  1311.                     ],
  1312.           'make_etag' => [
  1313.                            [
  1314.                              'Apache::Response',
  1315.                              'Apache::RequestRec'
  1316.                            ]
  1317.                          ],
  1318.           'meets_conditions' => [
  1319.                                   [
  1320.                                     'Apache::Response',
  1321.                                     'Apache::RequestRec'
  1322.                                   ]
  1323.                                 ],
  1324.           'merge' => [
  1325.                        [
  1326.                          'APR::Table',
  1327.                          'APR::Table'
  1328.                        ]
  1329.                      ],
  1330.           'method' => [
  1331.                         [
  1332.                           'Apache::RequestRec',
  1333.                           'Apache::RequestRec'
  1334.                         ]
  1335.                       ],
  1336.           'method_number' => [
  1337.                                [
  1338.                                  'Apache::RequestRec',
  1339.                                  'Apache::RequestRec'
  1340.                                ]
  1341.                              ],
  1342.           'method_register' => [
  1343.                                  [
  1344.                                    'Apache::ServerUtil',
  1345.                                    'Apache::Server'
  1346.                                  ]
  1347.                                ],
  1348.           'minor_version' => [
  1349.                                [
  1350.                                  'Apache::Module',
  1351.                                  'Apache::Module'
  1352.                                ]
  1353.                              ],
  1354.           'module_config' => [
  1355.                                [
  1356.                                  'Apache::Server',
  1357.                                  'Apache::Server'
  1358.                                ]
  1359.                              ],
  1360.           'module_index' => [
  1361.                               [
  1362.                                 'Apache::Module',
  1363.                                 'Apache::Module'
  1364.                               ]
  1365.                             ],
  1366.           'mtime' => [
  1367.                        [
  1368.                          'APR::Finfo',
  1369.                          'APR::Finfo'
  1370.                        ],
  1371.                        [
  1372.                          'Apache::RequestRec',
  1373.                          'Apache::RequestRec'
  1374.                        ]
  1375.                      ],
  1376.           'name' => [
  1377.                       [
  1378.                         'APR::Bucket',
  1379.                         'APR::BucketType'
  1380.                       ],
  1381.                       [
  1382.                         'Apache::FilterRec',
  1383.                         'Apache::FilterRec'
  1384.                       ],
  1385.                       [
  1386.                         'APR::Finfo',
  1387.                         'APR::Finfo'
  1388.                       ],
  1389.                       [
  1390.                         'Apache::Module',
  1391.                         'Apache::Module'
  1392.                       ],
  1393.                       [
  1394.                         'Apache::Command',
  1395.                         'Apache::Command'
  1396.                       ]
  1397.                     ],
  1398.           'names' => [
  1399.                        [
  1400.                          'Apache::Server',
  1401.                          'Apache::Server'
  1402.                        ]
  1403.                      ],
  1404.           'new' => [
  1405.                      [
  1406.                        'APR::Bucket',
  1407.                        'APR::Bucket'
  1408.                      ],
  1409.                      [
  1410.                        'APR::NetLib',
  1411.                        'APR::IpSubnet'
  1412.                      ],
  1413.                      [
  1414.                        'APR::UUID',
  1415.                        'APR::UUID'
  1416.                      ],
  1417.                      [
  1418.                        'Apache::RequestUtil',
  1419.                        'Apache::RequestRec'
  1420.                      ],
  1421.                      [
  1422.                        'APR::Brigade',
  1423.                        'APR::Brigade'
  1424.                      ],
  1425.                      [
  1426.                        'APR::ThreadMutex',
  1427.                        'APR::ThreadMutex'
  1428.                      ],
  1429.                      [
  1430.                        'APR::Pool',
  1431.                        'APR::Pool'
  1432.                      ]
  1433.                    ],
  1434.           'next' => [
  1435.                       [
  1436.                         'Apache::FilterRec',
  1437.                         'Apache::FilterRec'
  1438.                       ],
  1439.                       [
  1440.                         'Apache::Server',
  1441.                         'Apache::Server'
  1442.                       ],
  1443.                       [
  1444.                         'Apache::Module',
  1445.                         'Apache::Module'
  1446.                       ],
  1447.                       [
  1448.                         'APR::Brigade',
  1449.                         'APR::Brigade'
  1450.                       ],
  1451.                       [
  1452.                         'Apache::Command',
  1453.                         'Apache::Command'
  1454.                       ],
  1455.                       [
  1456.                         'Apache::Directive',
  1457.                         'Apache::Directive'
  1458.                       ],
  1459.                       [
  1460.                         'Apache::RequestRec',
  1461.                         'Apache::RequestRec'
  1462.                       ],
  1463.                       [
  1464.                         'Apache::Filter',
  1465.                         'Apache::Filter'
  1466.                       ]
  1467.                     ],
  1468.           'nlink' => [
  1469.                        [
  1470.                          'APR::Finfo',
  1471.                          'APR::Finfo'
  1472.                        ]
  1473.                      ],
  1474.           'no_cache' => [
  1475.                           [
  1476.                             'Apache::RequestUtil',
  1477.                             'Apache::RequestRec'
  1478.                           ]
  1479.                         ],
  1480.           'no_local_copy' => [
  1481.                                [
  1482.                                  'Apache::RequestRec',
  1483.                                  'Apache::RequestRec'
  1484.                                ]
  1485.                              ],
  1486.           'note_auth_failure' => [
  1487.                                    [
  1488.                                      'Apache::Access',
  1489.                                      'Apache::RequestRec'
  1490.                                    ]
  1491.                                  ],
  1492.           'note_basic_auth_failure' => [
  1493.                                          [
  1494.                                            'Apache::Access',
  1495.                                            'Apache::RequestRec'
  1496.                                          ]
  1497.                                        ],
  1498.           'note_digest_auth_failure' => [
  1499.                                           [
  1500.                                             'Apache::Access',
  1501.                                             'Apache::RequestRec'
  1502.                                           ]
  1503.                                         ],
  1504.           'notes' => [
  1505.                        [
  1506.                          'Apache::Connection',
  1507.                          'Apache::Connection'
  1508.                        ],
  1509.                        [
  1510.                          'Apache::RequestRec',
  1511.                          'Apache::RequestRec'
  1512.                        ]
  1513.                      ],
  1514.           'notice' => [
  1515.                         [
  1516.                           'Apache::Log',
  1517.                           undef
  1518.                         ]
  1519.                       ],
  1520.           'opt_get' => [
  1521.                          [
  1522.                            'APR::Socket',
  1523.                            'APR::Socket'
  1524.                          ]
  1525.                        ],
  1526.           'opt_set' => [
  1527.                          [
  1528.                            'APR::Socket',
  1529.                            'APR::Socket'
  1530.                          ]
  1531.                        ],
  1532.           'output_filters' => [
  1533.                                 [
  1534.                                   'Apache::Connection',
  1535.                                   'Apache::Connection'
  1536.                                 ],
  1537.                                 [
  1538.                                   'Apache::RequestRec',
  1539.                                   'Apache::RequestRec'
  1540.                                 ]
  1541.                               ],
  1542.           'overlap' => [
  1543.                          [
  1544.                            'APR::Table',
  1545.                            'APR::Table'
  1546.                          ]
  1547.                        ],
  1548.           'overlay' => [
  1549.                          [
  1550.                            'APR::Table',
  1551.                            'APR::Table'
  1552.                          ]
  1553.                        ],
  1554.           'override' => [
  1555.                           [
  1556.                             'Apache::CmdParms',
  1557.                             'Apache::CmdParms'
  1558.                           ]
  1559.                         ],
  1560.           'parent' => [
  1561.                         [
  1562.                           'Apache::Directive',
  1563.                           'Apache::Directive'
  1564.                         ]
  1565.                       ],
  1566.           'parent_get' => [
  1567.                             [
  1568.                               'APR::Pool',
  1569.                               'APR::Pool'
  1570.                             ]
  1571.                           ],
  1572.           'parse' => [
  1573.                        [
  1574.                          'APR::UUID',
  1575.                          'APR::UUID'
  1576.                        ],
  1577.                        [
  1578.                          'APR::URI',
  1579.                          'APR::URI'
  1580.                        ]
  1581.                      ],
  1582.           'parse_http' => [
  1583.                             [
  1584.                               'APR::Date',
  1585.                               'APR::Date'
  1586.                             ]
  1587.                           ],
  1588.           'parse_rfc' => [
  1589.                            [
  1590.                              'APR::Date',
  1591.                              'APR::Date'
  1592.                            ]
  1593.                          ],
  1594.           'parse_uri' => [
  1595.                            [
  1596.                              'Apache::URI',
  1597.                              'Apache::RequestRec'
  1598.                            ]
  1599.                          ],
  1600.           'parsed_uri' => [
  1601.                             [
  1602.                               'Apache::URI',
  1603.                               'Apache::RequestRec'
  1604.                             ]
  1605.                           ],
  1606.           'pass_brigade' => [
  1607.                               [
  1608.                                 'Apache::Filter',
  1609.                                 'Apache::Filter'
  1610.                               ]
  1611.                             ],
  1612.           'password' => [
  1613.                           [
  1614.                             'APR::URI',
  1615.                             'APR::URI'
  1616.                           ]
  1617.                         ],
  1618.           'password_get' => [
  1619.                               [
  1620.                                 'APR::Util',
  1621.                                 'APR'
  1622.                               ]
  1623.                             ],
  1624.           'password_validate' => [
  1625.                                    [
  1626.                                      'APR::Util',
  1627.                                      'APR'
  1628.                                    ]
  1629.                                  ],
  1630.           'path' => [
  1631.                       [
  1632.                         'Apache::CmdParms',
  1633.                         'Apache::CmdParms'
  1634.                       ],
  1635.                       [
  1636.                         'Apache::Server',
  1637.                         'Apache::Server'
  1638.                       ],
  1639.                       [
  1640.                         'APR::URI',
  1641.                         'APR::URI'
  1642.                       ]
  1643.                     ],
  1644.           'path_info' => [
  1645.                            [
  1646.                              'Apache::RequestRec',
  1647.                              'Apache::RequestRec'
  1648.                            ]
  1649.                          ],
  1650.           'pconf' => [
  1651.                        [
  1652.                          'Apache::Process',
  1653.                          'Apache::Process'
  1654.                        ]
  1655.                      ],
  1656.           'per_dir_config' => [
  1657.                                 [
  1658.                                   'Apache::RequestRec',
  1659.                                   'Apache::RequestRec'
  1660.                                 ]
  1661.                               ],
  1662.           'pnotes' => [
  1663.                         [
  1664.                           'Apache::RequestUtil',
  1665.                           'Apache::RequestRec'
  1666.                         ]
  1667.                       ],
  1668.           'pool' => [
  1669.                       [
  1670.                         'APR::Finfo',
  1671.                         'APR::Finfo'
  1672.                       ],
  1673.                       [
  1674.                         'Apache::CmdParms',
  1675.                         'Apache::CmdParms'
  1676.                       ],
  1677.                       [
  1678.                         'Apache::Connection',
  1679.                         'Apache::Connection'
  1680.                       ],
  1681.                       [
  1682.                         'Apache::Process',
  1683.                         'Apache::Process'
  1684.                       ],
  1685.                       [
  1686.                         'APR::Brigade',
  1687.                         'APR::Brigade'
  1688.                       ],
  1689.                       [
  1690.                         'Apache::RequestRec',
  1691.                         'Apache::RequestRec'
  1692.                       ]
  1693.                     ],
  1694.           'pool_get' => [
  1695.                           [
  1696.                             'APR::ThreadMutex',
  1697.                             'APR::ThreadMutex'
  1698.                           ]
  1699.                         ],
  1700.           'port' => [
  1701.                       [
  1702.                         'APR::SockAddr',
  1703.                         'APR::SockAddr'
  1704.                       ],
  1705.                       [
  1706.                         'Apache::Server',
  1707.                         'Apache::Server'
  1708.                       ],
  1709.                       [
  1710.                         'APR::URI',
  1711.                         'APR::URI'
  1712.                       ]
  1713.                     ],
  1714.           'port_of_scheme' => [
  1715.                                 [
  1716.                                   'APR::URI',
  1717.                                   'APR::URI'
  1718.                                 ]
  1719.                               ],
  1720.           'prev' => [
  1721.                       [
  1722.                         'APR::Brigade',
  1723.                         'APR::Brigade'
  1724.                       ],
  1725.                       [
  1726.                         'Apache::RequestRec',
  1727.                         'Apache::RequestRec'
  1728.                       ]
  1729.                     ],
  1730.           'print' => [
  1731.                        [
  1732.                          'Apache::RequestIO',
  1733.                          'Apache::RequestRec'
  1734.                        ],
  1735.                        [
  1736.                          'Apache::Filter',
  1737.                          'Apache::Filter'
  1738.                        ]
  1739.                      ],
  1740.           'printf' => [
  1741.                         [
  1742.                           'Apache::RequestIO',
  1743.                           'Apache::RequestRec'
  1744.                         ]
  1745.                       ],
  1746.           'process' => [
  1747.                          [
  1748.                            'Apache::Server',
  1749.                            'Apache::Server'
  1750.                          ]
  1751.                        ],
  1752.           'protection' => [
  1753.                             [
  1754.                               'APR::Finfo',
  1755.                               'APR::Finfo'
  1756.                             ]
  1757.                           ],
  1758.           'proto_input_filters' => [
  1759.                                      [
  1760.                                        'Apache::RequestRec',
  1761.                                        'Apache::RequestRec'
  1762.                                      ]
  1763.                                    ],
  1764.           'proto_num' => [
  1765.                            [
  1766.                              'Apache::RequestRec',
  1767.                              'Apache::RequestRec'
  1768.                            ]
  1769.                          ],
  1770.           'proto_output_filters' => [
  1771.                                       [
  1772.                                         'Apache::RequestRec',
  1773.                                         'Apache::RequestRec'
  1774.                                       ]
  1775.                                     ],
  1776.           'protocol' => [
  1777.                           [
  1778.                             'Apache::RequestRec',
  1779.                             'Apache::RequestRec'
  1780.                           ]
  1781.                         ],
  1782.           'proxyreq' => [
  1783.                           [
  1784.                             'Apache::RequestRec',
  1785.                             'Apache::RequestRec'
  1786.                           ]
  1787.                         ],
  1788.           'psignature' => [
  1789.                             [
  1790.                               'Apache::ServerUtil',
  1791.                               'Apache::RequestRec'
  1792.                             ]
  1793.                           ],
  1794.           'push_handlers' => [
  1795.                                [
  1796.                                  'Apache::ServerUtil',
  1797.                                  'Apache::Server'
  1798.                                ],
  1799.                                [
  1800.                                  'Apache::RequestUtil',
  1801.                                  'Apache::RequestRec'
  1802.                                ]
  1803.                              ],
  1804.           'puts' => [
  1805.                       [
  1806.                         'Apache::RequestIO',
  1807.                         'Apache::RequestRec'
  1808.                       ]
  1809.                     ],
  1810.           'query' => [
  1811.                        [
  1812.                          'APR::URI',
  1813.                          'APR::URI'
  1814.                        ],
  1815.                        [
  1816.                          'Apache::MPM',
  1817.                          'Apache::MPM'
  1818.                        ]
  1819.                      ],
  1820.           'r' => [
  1821.                    [
  1822.                      'Apache::Filter',
  1823.                      'Apache::Filter'
  1824.                    ]
  1825.                  ],
  1826.           'rationalize_mtime' => [
  1827.                                    [
  1828.                                      'Apache::Response',
  1829.                                      'Apache::RequestRec'
  1830.                                    ]
  1831.                                  ],
  1832.           'read' => [
  1833.                       [
  1834.                         'APR::Bucket',
  1835.                         'APR::Bucket'
  1836.                       ],
  1837.                       [
  1838.                         'Apache::RequestIO',
  1839.                         'Apache::RequestRec'
  1840.                       ],
  1841.                       [
  1842.                         'Apache::Filter',
  1843.                         'Apache::Filter'
  1844.                       ]
  1845.                     ],
  1846.           'recv' => [
  1847.                       [
  1848.                         'APR::Socket',
  1849.                         'APR::Socket'
  1850.                       ]
  1851.                     ],
  1852.           'recvfrom' => [
  1853.                           [
  1854.                             'APR::Socket',
  1855.                             'APR::Socket'
  1856.                           ]
  1857.                         ],
  1858.           'remaining' => [
  1859.                            [
  1860.                              'Apache::RequestRec',
  1861.                              'Apache::RequestRec'
  1862.                            ]
  1863.                          ],
  1864.           'remote_addr' => [
  1865.                              [
  1866.                                'Apache::Connection',
  1867.                                'Apache::Connection'
  1868.                              ]
  1869.                            ],
  1870.           'remote_host' => [
  1871.                              [
  1872.                                'Apache::Connection',
  1873.                                'Apache::Connection'
  1874.                              ]
  1875.                            ],
  1876.           'remote_ip' => [
  1877.                            [
  1878.                              'Apache::Connection',
  1879.                              'Apache::Connection'
  1880.                            ]
  1881.                          ],
  1882.           'remote_logname' => [
  1883.                                 [
  1884.                                   'Apache::Connection',
  1885.                                   'Apache::Connection'
  1886.                                 ]
  1887.                               ],
  1888.           'remove' => [
  1889.                         [
  1890.                           'APR::Bucket',
  1891.                           'APR::Bucket'
  1892.                         ],
  1893.                         [
  1894.                           'Apache::Filter',
  1895.                           'Apache::Filter'
  1896.                         ]
  1897.                       ],
  1898.           'remove_input_filter' => [
  1899.                                      [
  1900.                                        'Apache::Filter',
  1901.                                        'Apache::Filter'
  1902.                                      ]
  1903.                                    ],
  1904.           'remove_loaded_module' => [
  1905.                                       [
  1906.                                         'Apache::Module',
  1907.                                         'Apache::Module'
  1908.                                       ]
  1909.                                     ],
  1910.           'remove_module' => [
  1911.                                [
  1912.                                  'Apache::Module',
  1913.                                  'Apache::Module'
  1914.                                ]
  1915.                              ],
  1916.           'remove_output_filter' => [
  1917.                                       [
  1918.                                         'Apache::Filter',
  1919.                                         'Apache::Filter'
  1920.                                       ]
  1921.                                     ],
  1922.           'req_override' => [
  1923.                               [
  1924.                                 'Apache::Command',
  1925.                                 'Apache::Command'
  1926.                               ]
  1927.                             ],
  1928.           'request' => [
  1929.                          [
  1930.                            'Apache::RequestUtil',
  1931.                            'Apache'
  1932.                          ]
  1933.                        ],
  1934.           'request_config' => [
  1935.                                 [
  1936.                                   'Apache::RequestRec',
  1937.                                   'Apache::RequestRec'
  1938.                                 ]
  1939.                               ],
  1940.           'request_time' => [
  1941.                               [
  1942.                                 'Apache::RequestRec',
  1943.                                 'Apache::RequestRec'
  1944.                               ]
  1945.                             ],
  1946.           'requires' => [
  1947.                           [
  1948.                             'Apache::Access',
  1949.                             'Apache::RequestRec'
  1950.                           ]
  1951.                         ],
  1952.           'rflush' => [
  1953.                         [
  1954.                           'Apache::RequestIO',
  1955.                           'Apache::RequestRec'
  1956.                         ]
  1957.                       ],
  1958.           'run' => [
  1959.                      [
  1960.                        'Apache::SubRequest',
  1961.                        'Apache::SubRequest'
  1962.                      ]
  1963.                    ],
  1964.           'run_access_checker' => [
  1965.                                     [
  1966.                                       'Apache::HookRun',
  1967.                                       'Apache::RequestRec'
  1968.                                     ]
  1969.                                   ],
  1970.           'run_auth_checker' => [
  1971.                                   [
  1972.                                     'Apache::HookRun',
  1973.                                     'Apache::RequestRec'
  1974.                                   ]
  1975.                                 ],
  1976.           'run_check_user_id' => [
  1977.                                    [
  1978.                                      'Apache::HookRun',
  1979.                                      'Apache::RequestRec'
  1980.                                    ]
  1981.                                  ],
  1982.           'run_create_request' => [
  1983.                                     [
  1984.                                       'Apache::HookRun',
  1985.                                       'Apache::RequestRec'
  1986.                                     ]
  1987.                                   ],
  1988.           'run_fixups' => [
  1989.                             [
  1990.                               'Apache::HookRun',
  1991.                               'Apache::RequestRec'
  1992.                             ]
  1993.                           ],
  1994.           'run_handler' => [
  1995.                              [
  1996.                                'Apache::HookRun',
  1997.                                'Apache::RequestRec'
  1998.                              ]
  1999.                            ],
  2000.           'run_header_parser' => [
  2001.                                    [
  2002.                                      'Apache::HookRun',
  2003.                                      'Apache::RequestRec'
  2004.                                    ]
  2005.                                  ],
  2006.           'run_log_transaction' => [
  2007.                                      [
  2008.                                        'Apache::HookRun',
  2009.                                        'Apache::RequestRec'
  2010.                                      ]
  2011.                                    ],
  2012.           'run_map_to_storage' => [
  2013.                                     [
  2014.                                       'Apache::HookRun',
  2015.                                       'Apache::RequestRec'
  2016.                                     ]
  2017.                                   ],
  2018.           'run_post_read_request' => [
  2019.                                        [
  2020.                                          'Apache::HookRun',
  2021.                                          'Apache::RequestRec'
  2022.                                        ]
  2023.                                      ],
  2024.           'run_translate_name' => [
  2025.                                     [
  2026.                                       'Apache::HookRun',
  2027.                                       'Apache::RequestRec'
  2028.                                     ]
  2029.                                   ],
  2030.           'run_type_checker' => [
  2031.                                   [
  2032.                                     'Apache::HookRun',
  2033.                                     'Apache::RequestRec'
  2034.                                   ]
  2035.                                 ],
  2036.           'satisfies' => [
  2037.                            [
  2038.                              'Apache::Access',
  2039.                              'Apache::RequestRec'
  2040.                            ]
  2041.                          ],
  2042.           'sbh' => [
  2043.                      [
  2044.                        'Apache::Connection',
  2045.                        'Apache::Connection'
  2046.                      ]
  2047.                    ],
  2048.           'scheme' => [
  2049.                         [
  2050.                           'APR::URI',
  2051.                           'APR::URI'
  2052.                         ]
  2053.                       ],
  2054.           'seen_eos' => [
  2055.                           [
  2056.                             'Apache::Filter',
  2057.                             'Apache::Filter'
  2058.                           ]
  2059.                         ],
  2060.           'send' => [
  2061.                       [
  2062.                         'APR::Socket',
  2063.                         'APR::Socket'
  2064.                       ]
  2065.                     ],
  2066.           'send_cgi_header' => [
  2067.                                  [
  2068.                                    'Apache::Response',
  2069.                                    'Apache::RequestRec'
  2070.                                  ]
  2071.                                ],
  2072.           'send_error_response' => [
  2073.                                      [
  2074.                                        'Apache::Response',
  2075.                                        'Apache::RequestRec'
  2076.                                      ]
  2077.                                    ],
  2078.           'send_mmap' => [
  2079.                            [
  2080.                              'Apache::Response',
  2081.                              'Apache::RequestRec'
  2082.                            ]
  2083.                          ],
  2084.           'sendfile' => [
  2085.                           [
  2086.                             'Apache::RequestIO',
  2087.                             'Apache::RequestRec'
  2088.                           ]
  2089.                         ],
  2090.           'sendto' => [
  2091.                         [
  2092.                           'APR::Socket',
  2093.                           'APR::Socket'
  2094.                         ]
  2095.                       ],
  2096.           'server' => [
  2097.                         [
  2098.                           'Apache::CmdParms',
  2099.                           'Apache::CmdParms'
  2100.                         ],
  2101.                         [
  2102.                           'Apache::ServerUtil',
  2103.                           'Apache'
  2104.                         ],
  2105.                         [
  2106.                           'Apache::RequestRec',
  2107.                           'Apache::RequestRec'
  2108.                         ]
  2109.                       ],
  2110.           'server_admin' => [
  2111.                               [
  2112.                                 'Apache::Server',
  2113.                                 'Apache::Server'
  2114.                               ]
  2115.                             ],
  2116.           'server_hostname' => [
  2117.                                  [
  2118.                                    'Apache::Server',
  2119.                                    'Apache::Server'
  2120.                                  ]
  2121.                                ],
  2122.           'server_root_relative' => [
  2123.                                       [
  2124.                                         'Apache::ServerUtil',
  2125.                                         'Apache::Server'
  2126.                                       ],
  2127.                                       [
  2128.                                         'Apache::Connection',
  2129.                                         'Apache::Connection'
  2130.                                       ],
  2131.                                       [
  2132.                                         'Apache::RequestRec',
  2133.                                         'Apache::RequestRec'
  2134.                                       ]
  2135.                                     ],
  2136.           'set' => [
  2137.                      [
  2138.                        'APR::Table',
  2139.                        'APR::Table'
  2140.                      ]
  2141.                    ],
  2142.           'set_basic_credentials' => [
  2143.                                        [
  2144.                                          'Apache::RequestUtil',
  2145.                                          'Apache::RequestRec'
  2146.                                        ]
  2147.                                      ],
  2148.           'set_content_length' => [
  2149.                                     [
  2150.                                       'Apache::Response',
  2151.                                       'Apache::RequestRec'
  2152.                                     ]
  2153.                                   ],
  2154.           'set_etag' => [
  2155.                           [
  2156.                             'Apache::Response',
  2157.                             'Apache::RequestRec'
  2158.                           ]
  2159.                         ],
  2160.           'set_handlers' => [
  2161.                               [
  2162.                                 'Apache::ServerUtil',
  2163.                                 'Apache::Server'
  2164.                               ],
  2165.                               [
  2166.                                 'Apache::RequestUtil',
  2167.                                 'Apache::RequestRec'
  2168.                               ]
  2169.                             ],
  2170.           'set_keepalive' => [
  2171.                                [
  2172.                                  'Apache::Response',
  2173.                                  'Apache::RequestRec'
  2174.                                ]
  2175.                              ],
  2176.           'set_last_modified' => [
  2177.                                    [
  2178.                                      'Apache::Response',
  2179.                                      'Apache::RequestRec'
  2180.                                    ]
  2181.                                  ],
  2182.           'setup_client_block' => [
  2183.                                     [
  2184.                                       'Apache::RequestIO',
  2185.                                       'Apache::RequestRec'
  2186.                                     ]
  2187.                                   ],
  2188.           'short_name' => [
  2189.                             [
  2190.                               'Apache::Process',
  2191.                               'Apache::Process'
  2192.                             ]
  2193.                           ],
  2194.           'should_client_block' => [
  2195.                                      [
  2196.                                        'Apache::RequestIO',
  2197.                                        'Apache::RequestRec'
  2198.                                      ]
  2199.                                    ],
  2200.           'size' => [
  2201.                       [
  2202.                         'APR::Finfo',
  2203.                         'APR::Finfo'
  2204.                       ]
  2205.                     ],
  2206.           'slurp_filename' => [
  2207.                                 [
  2208.                                   'Apache::RequestUtil',
  2209.                                   'Apache::RequestRec'
  2210.                                 ]
  2211.                               ],
  2212.           'soak_end_container' => [
  2213.                                     [
  2214.                                       'Apache::Command',
  2215.                                       'Apache::Command'
  2216.                                     ]
  2217.                                   ],
  2218.           'some_auth_required' => [
  2219.                                     [
  2220.                                       'Apache::Access',
  2221.                                       'Apache::RequestRec'
  2222.                                     ]
  2223.                                   ],
  2224.           'spawn_proc_prog' => [
  2225.                                  [
  2226.                                    'Apache::SubProcess',
  2227.                                    undef
  2228.                                  ]
  2229.                                ],
  2230.           'special_list_call' => [
  2231.                                    [
  2232.                                      'ModPerl::Global',
  2233.                                      'ModPerl::Global'
  2234.                                    ]
  2235.                                  ],
  2236.           'special_list_clear' => [
  2237.                                     [
  2238.                                       'ModPerl::Global',
  2239.                                       'ModPerl::Global'
  2240.                                     ]
  2241.                                   ],
  2242.           'split' => [
  2243.                        [
  2244.                          'APR::Brigade',
  2245.                          'APR::Brigade'
  2246.                        ]
  2247.                      ],
  2248.           'start' => [
  2249.                        [
  2250.                          'APR::Bucket',
  2251.                          'APR::Bucket'
  2252.                        ]
  2253.                      ],
  2254.           'stat' => [
  2255.                       [
  2256.                         'APR::Finfo',
  2257.                         'APR::Finfo'
  2258.                       ]
  2259.                     ],
  2260.           'status' => [
  2261.                         [
  2262.                           'Apache::RequestRec',
  2263.                           'Apache::RequestRec'
  2264.                         ]
  2265.                       ],
  2266.           'status_line' => [
  2267.                              [
  2268.                                'Apache::RequestRec',
  2269.                                'Apache::RequestRec'
  2270.                              ]
  2271.                            ],
  2272.           'strerror' => [
  2273.                           [
  2274.                             'APR::Util',
  2275.                             undef
  2276.                           ]
  2277.                         ],
  2278.           'subprocess_env' => [
  2279.                                 [
  2280.                                   'Apache::RequestRec',
  2281.                                   'Apache::RequestRec'
  2282.                                 ]
  2283.                               ],
  2284.           'tag' => [
  2285.                      [
  2286.                        'APR::Pool',
  2287.                        'APR::Pool'
  2288.                      ]
  2289.                    ],
  2290.           'temp_pool' => [
  2291.                            [
  2292.                              'Apache::CmdParms',
  2293.                              'Apache::CmdParms'
  2294.                            ]
  2295.                          ],
  2296.           'test' => [
  2297.                       [
  2298.                         'APR::NetLib',
  2299.                         'APR::IpSubnet'
  2300.                       ]
  2301.                     ],
  2302.           'the_request' => [
  2303.                              [
  2304.                                'Apache::RequestRec',
  2305.                                'Apache::RequestRec'
  2306.                              ]
  2307.                            ],
  2308.           'thread_current' => [
  2309.                                 [
  2310.                                   'APR::OS',
  2311.                                   'APR::OS'
  2312.                                 ]
  2313.                               ],
  2314.           'timeout' => [
  2315.                          [
  2316.                            'Apache::Server',
  2317.                            'Apache::Server'
  2318.                          ]
  2319.                        ],
  2320.           'timeout_get' => [
  2321.                              [
  2322.                                'APR::Socket',
  2323.                                'APR::Socket'
  2324.                              ]
  2325.                            ],
  2326.           'timeout_set' => [
  2327.                              [
  2328.                                'APR::Socket',
  2329.                                'APR::Socket'
  2330.                              ]
  2331.                            ],
  2332.           'top_module' => [
  2333.                             [
  2334.                               'Apache::Module',
  2335.                               'Apache::Module'
  2336.                             ]
  2337.                           ],
  2338.           'trylock' => [
  2339.                          [
  2340.                            'APR::ThreadMutex',
  2341.                            'APR::ThreadMutex'
  2342.                          ]
  2343.                        ],
  2344.           'type' => [
  2345.                       [
  2346.                         'APR::Bucket',
  2347.                         'APR::Bucket'
  2348.                       ]
  2349.                     ],
  2350.           'unescape_url' => [
  2351.                               [
  2352.                                 'Apache::URI',
  2353.                                 'Apache::URI'
  2354.                               ]
  2355.                             ],
  2356.           'unlock' => [
  2357.                         [
  2358.                           'APR::ThreadMutex',
  2359.                           'APR::ThreadMutex'
  2360.                         ]
  2361.                       ],
  2362.           'unparse' => [
  2363.                          [
  2364.                            'APR::URI',
  2365.                            'APR::URI'
  2366.                          ]
  2367.                        ],
  2368.           'unparsed_uri' => [
  2369.                               [
  2370.                                 'Apache::RequestRec',
  2371.                                 'Apache::RequestRec'
  2372.                               ]
  2373.                             ],
  2374.           'unset' => [
  2375.                        [
  2376.                          'APR::Table',
  2377.                          'APR::Table'
  2378.                        ]
  2379.                      ],
  2380.           'untaint' => [
  2381.                          [
  2382.                            'ModPerl::Util',
  2383.                            'ModPerl::Util'
  2384.                          ]
  2385.                        ],
  2386.           'update_mtime' => [
  2387.                               [
  2388.                                 'Apache::Response',
  2389.                                 'Apache::RequestRec'
  2390.                               ]
  2391.                             ],
  2392.           'uri' => [
  2393.                      [
  2394.                        'Apache::RequestRec',
  2395.                        'Apache::RequestRec'
  2396.                      ]
  2397.                    ],
  2398.           'used_path_info' => [
  2399.                                 [
  2400.                                   'Apache::RequestRec',
  2401.                                   'Apache::RequestRec'
  2402.                                 ]
  2403.                               ],
  2404.           'user' => [
  2405.                       [
  2406.                         'APR::Finfo',
  2407.                         'APR::Finfo'
  2408.                       ],
  2409.                       [
  2410.                         'APR::URI',
  2411.                         'APR::URI'
  2412.                       ],
  2413.                       [
  2414.                         'Apache::RequestRec',
  2415.                         'Apache::RequestRec'
  2416.                       ]
  2417.                     ],
  2418.           'valid' => [
  2419.                        [
  2420.                          'APR::Finfo',
  2421.                          'APR::Finfo'
  2422.                        ]
  2423.                      ],
  2424.           'version' => [
  2425.                          [
  2426.                            'Apache::Module',
  2427.                            'Apache::Module'
  2428.                          ]
  2429.                        ],
  2430.           'walk_config' => [
  2431.                              [
  2432.                                'Apache::Directive',
  2433.                                'Apache::Directive'
  2434.                              ]
  2435.                            ],
  2436.           'warn' => [
  2437.                       [
  2438.                         'Apache::Log',
  2439.                         undef
  2440.                       ],
  2441.                       [
  2442.                         'Apache::Log',
  2443.                         undef
  2444.                       ],
  2445.                       [
  2446.                         'Apache::Log',
  2447.                         undef
  2448.                       ]
  2449.                     ],
  2450.           'wild_names' => [
  2451.                             [
  2452.                               'Apache::Server',
  2453.                               'Apache::Server'
  2454.                             ]
  2455.                           ],
  2456.           'write' => [
  2457.                        [
  2458.                          'Apache::RequestIO',
  2459.                          'Apache::RequestRec'
  2460.                        ]
  2461.                      ],
  2462.           'xlimited' => [
  2463.                           [
  2464.                             'Apache::CmdParms',
  2465.                             'Apache::CmdParms'
  2466.                           ]
  2467.                         ]
  2468.         };
  2469.  
  2470.  
  2471. use base qw(Exporter);
  2472.  
  2473. our @EXPORT = qw(print_method print_module print_object);
  2474.  
  2475. use constant MODULE => 0;
  2476. use constant OBJECT  => 1;
  2477.  
  2478. my $modules;
  2479. my $objects;
  2480.  
  2481. sub _get_modules {
  2482.     for my $method (sort keys %$methods) { 
  2483.         for my $item ( @{ $methods->{$method} }) {
  2484.             push @{ $modules->{$item->[MODULE]} }, [$method, $item->[OBJECT]];
  2485.         }
  2486.     }
  2487. }
  2488.  
  2489. sub _get_objects {
  2490.     for my $method (sort keys %$methods) { 
  2491.         for my $item ( @{ $methods->{$method} }) {
  2492.             next unless defined $item->[OBJECT];
  2493.             push @{ $objects->{$item->[OBJECT]} }, [$method, $item->[MODULE]];
  2494.         }
  2495.     }
  2496. }
  2497.  
  2498. # if there is only one replacement method in 2.0 API we can
  2499. # automatically lookup it, up however if there are more than one
  2500. # (e.g. new()), we need to use a fully qualified value here
  2501. # of course the same if the package is not a mod_perl one.
  2502. #
  2503. # the first field represents the replacement method or undef if none
  2504. # exists, the second field is for extra comments (e.g. when there is
  2505. # no replacement method)
  2506. my $methods_compat = {
  2507.     # Apache::
  2508.     gensym            => ['Symbol::gensym',
  2509.                           'or use "open my $fh, $file"'],
  2510.     module            => ['Apache::Module::loaded',
  2511.                           ''],
  2512.     define            => ['exists_config_define',
  2513.                           ''],
  2514.     httpd_conf        => ['add_config',
  2515.                           ''],
  2516.     SERVER_VERSION    => ['get_server_version',
  2517.                           ''],
  2518.     can_stack_handlers=> [undef,
  2519.                           'there is no more need for that method in mp2'],
  2520.  
  2521.     # Apache::RequestRec
  2522.     soft_timeout      => [undef,
  2523.                           'there is no more need for that method in mp2'],
  2524.     hard_timeout      => [undef,
  2525.                           'there is no more need for that method in mp2'],
  2526.     kill_timeout      => [undef,
  2527.                           'there is no more need for that method in mp2'],
  2528.     reset_timeout     => [undef,
  2529.                           'there is no more need for that method in mp2'],
  2530.     cleanup_for_exec  => [undef,
  2531.                           'there is no more need for that method in mp2'],
  2532.     send_http_header  => ['content_type',
  2533.                           ''],
  2534.     header_in         => ['headers_in',
  2535.                           'this method works in mod_perl 1.0 too'],
  2536.     header_out        => ['headers_out',
  2537.                           'this method works in mod_perl 1.0 too'],
  2538.     err_header_out    => ['err_headers_out',
  2539.                           'this method works in mod_perl 1.0 too'],
  2540.     register_cleanup  => ['cleanup_register',
  2541.                           ''],
  2542.     post_connection   => ['cleanup_register',
  2543.                           ''],
  2544.     content           => [undef, # XXX: Apache::Request::what?
  2545.                           'use CGI.pm or Apache::Request instead'],
  2546.     clear_rgy_endav   => ['special_list_clear',
  2547.                           ''],
  2548.     stash_rgy_endav   => [undef,
  2549.                           ''],
  2550.     run_rgy_endav     => ['special_list_call',
  2551.                           'this method is no longer needed'],
  2552.     seqno             => [undef,
  2553.                           'internal to mod_perl 1.0'],
  2554.     chdir_file        => [undef, # XXX: to be resolved
  2555.                           'temporary unavailable till the issue with chdir' .
  2556.                           ' in the threaded env is resolved'],
  2557.     log_reason        => ['log_error',
  2558.                           'not in the Apache 2.0 API'],
  2559.     READLINE          => [undef, # XXX: to be resolved
  2560.                           ''],
  2561.     send_fd_length    => [undef,
  2562.                           'not in the Apache 2.0 API'],
  2563.     send_fd           => ['sendfile',
  2564.                           'requires an offset argument'],
  2565.     is_main           => ['main',
  2566.                           'not in the Apache 2.0 API'],
  2567.     cgi_var           => ['subprocess_env',
  2568.                           'subprocess_env can be used with mod_perl 1.0'],
  2569.     cgi_env           => ['subprocess_env',
  2570.                           'subprocess_env can be used with mod_perl 1.0'],
  2571.     each_byterange    => [undef,
  2572.                           'now handled internally by ap_byterange_filter'],
  2573.     set_byterange     => [undef,
  2574.                           'now handled internally by ap_byterange_filter'],
  2575.  
  2576.     # Apache::File
  2577.     open              => [undef,
  2578.                           ''],
  2579.     close             => [undef, # XXX: also defined in APR::Socket
  2580.                           ''],
  2581.     tmpfile           => [undef,
  2582.                           'not in the Apache 2.0 API, ' .
  2583.                           'use File::Temp instead'],
  2584.  
  2585.     # Apache::Util
  2586.     size_string       => ['format_size',
  2587.                           ''],
  2588.     escape_uri        => ['unescape_path',
  2589.                           ''],
  2590.     unescape_uri      => ['unescape_url',
  2591.                           ''],
  2592.     escape_html       => [undef, # XXX: will be ap_escape_html
  2593.                           'ap_escape_html now requires a pool object'],
  2594.     parsedate         => ['parse_http',
  2595.                           ''],
  2596.     validate_password => ['password_validate',
  2597.                           ''],
  2598.  
  2599.     # Apache::Table
  2600.     #new               => ['make',
  2601.     #                      ''], # XXX: there are other 'new' methods
  2602.  
  2603.     # Apache::Connection
  2604.     auth_type         => ['ap_auth_type',
  2605.                           'now resides in the request object'],
  2606. };
  2607.  
  2608. sub avail_methods_compat {
  2609.     return keys %$methods_compat;
  2610. }
  2611.  
  2612. sub avail_methods {
  2613.     return keys %$methods;
  2614. }
  2615.  
  2616. sub avail_modules {
  2617.     my %modules = ();
  2618.     for my $method (keys %$methods) {
  2619.         for my $item ( @{ $methods->{$method} }) {
  2620.             $modules{$item->[MODULE]}++;
  2621.         }
  2622.     }
  2623.     return keys %modules;
  2624. }
  2625.  
  2626. sub preload_all_modules {
  2627.     _get_modules() unless $modules;
  2628.     eval "require $_" for keys %$modules;
  2629. }
  2630.  
  2631. sub _print_func {
  2632.     my $func = shift;
  2633.     my @args = @_ ? @_ : @ARGV;
  2634.     no strict 'refs';
  2635.     print( ($func->($_))[0]) for @args;
  2636. }
  2637.  
  2638. sub print_module { _print_func('lookup_module', @_) }
  2639. sub print_object { _print_func('lookup_object', @_) }
  2640.  
  2641. sub print_method {
  2642.     my @args = @_ ? @_ : @ARGV;
  2643.     while (@args) {
  2644.          my $method = shift @args;
  2645.          my $object = (@args && 
  2646.              (ref($args[0]) || $args[0] =~ /^(Apache|ModPerl|APR)/))
  2647.              ? shift @args
  2648.              : undef;
  2649.          print( (lookup_method($method, $object))[0]);
  2650.     }
  2651. }
  2652.  
  2653. sub sep { return '-' x (shift() + 20) . "\n" }
  2654.  
  2655. # what modules contain the passed method.
  2656. # an optional object or a reference to it can be passed to help
  2657. # resolve situations where there is more than one module containing
  2658. # the same method. Inheritance is supported.
  2659. sub lookup_method {
  2660.     my ($method, $object) = @_;
  2661.  
  2662.     unless (defined $method) {
  2663.         my $hint = "No 'method' argument was passed\n";
  2664.         return ($hint);
  2665.     }
  2666.  
  2667.     # strip the package name for the fully qualified method
  2668.     $method =~ s/.+:://;
  2669.  
  2670.     if (exists $methods_compat->{$method}) {
  2671.         my ($replacement, $comment) = @{$methods_compat->{$method}};
  2672.         my $hint = "'$method' is not a part of the mod_perl 2.0 API\n";
  2673.         $comment = length $comment ? " $comment\n" : "";
  2674.  
  2675.         # some removed methods have no replacement
  2676.         return $hint . "$comment" unless defined $replacement;
  2677.  
  2678.         $hint .= "use '$replacement' instead. $comment";
  2679.  
  2680.         # if fully qualified don't look up its container
  2681.         return $hint if $replacement =~ /::/;
  2682.  
  2683.         my ($modules_hint, @modules) = lookup_method($replacement, $object);
  2684.         return $hint . $modules_hint;
  2685.     }
  2686.     elsif (!exists $methods->{$method}) {
  2687.         my $hint = "Don't know anything about method '$method'\n";
  2688.         return ($hint);
  2689.     }
  2690.  
  2691.     my @items = @{ $methods->{$method} };
  2692.     if (@items == 1) {
  2693.         my $module = $items[0]->[MODULE];
  2694.         my $hint = "To use method '$method' add:\n" . "\tuse $module ();\n";
  2695.         return ($hint, $module);
  2696.     }
  2697.     else {
  2698.         if (defined $object) {
  2699.             my $class = ref $object || $object;
  2700.             for my $item (@items) {
  2701.                 if ($class eq $item->[OBJECT] or
  2702.                     (ref($object) && $object->isa($class))) { # inheritance
  2703.                     my $module = $item->[MODULE];
  2704.                     my $hint = "To use method '$method' add:\n" .
  2705.                         "\tuse $module ();\n";
  2706.                     return ($hint, $module);
  2707.                 }
  2708.             }
  2709.         }
  2710.         else {
  2711.             my %modules = map { $_->[MODULE] => 1 } @items;
  2712.             # remove dups if any (e.g. $s->add_input_filter and
  2713.             # $r->add_input_filter are loaded by the same Apache::Filter)
  2714.             my @modules = keys %modules;
  2715.             my $hint;
  2716.             if (@modules == 1) {
  2717.                 $hint = "To use method '$method' add:\n\tuse $modules[0] ();\n";
  2718.                 return ($hint, $modules[0]);
  2719.             }
  2720.             else {
  2721.                 $hint = "There is more than one class with method '$method'\n" .
  2722.                     "try one of:\n" . join '', map {"\tuse $_ ();\n"} @modules;
  2723.                 return ($hint, @modules);
  2724.             }
  2725.         }
  2726.     }
  2727. }
  2728.  
  2729. # what methods are contained in the passed module name
  2730. sub lookup_module {
  2731.     my ($module) = shift;
  2732.  
  2733.     unless (defined $module) {
  2734.         my $hint = "no 'module' argument was passed\n";
  2735.         return ($hint);
  2736.     }
  2737.  
  2738.     _get_modules() unless $modules;
  2739.  
  2740.     unless (exists $modules->{$module}) {
  2741.         my $hint = "don't know anything about module '$module'\n";
  2742.         return ($hint);
  2743.     }
  2744.  
  2745.     my @methods;
  2746.     my $max_len = 6;
  2747.     for ( @{ $modules->{$module} } ) {
  2748.         $max_len = length $_->[0] if length $_->[0] > $max_len;
  2749.         push @methods, $_->[0];
  2750.     }
  2751.  
  2752.     my $format = "%-${max_len}s %s\n";
  2753.     my $banner = sprintf($format, "Method", "Invoked on object type");
  2754.     my $hint = join '',
  2755.         ("\nModule '$module' contains the following XS methods:\n\n", 
  2756.          $banner,  sep(length($banner)),
  2757.          map( { sprintf $format, $_->[0], $_->[1]||'???'}
  2758.              @{ $modules->{$module} }),
  2759.          sep(length($banner)));
  2760.  
  2761.     return ($hint, @methods);
  2762. }
  2763.  
  2764. # what methods can be invoked on the passed object (or its reference)
  2765. sub lookup_object {
  2766.     my ($object) = shift;
  2767.  
  2768.     unless (defined $object) {
  2769.         my $hint = "no 'object' argument was passed\n";
  2770.         return ($hint);
  2771.     }
  2772.  
  2773.     _get_objects() unless $objects;
  2774.  
  2775.     # a real object was passed?
  2776.     $object = ref $object || $object;
  2777.  
  2778.     unless (exists $objects->{$object}) {
  2779.         my $hint = "don't know anything about objects of type '$object'\n";
  2780.         return ($hint);
  2781.     }
  2782.  
  2783.     my @methods;
  2784.     my $max_len = 6;
  2785.     for ( @{ $objects->{$object} } ) {
  2786.         $max_len = length $_->[0] if length $_->[0] > $max_len;
  2787.         push @methods, $_->[0];
  2788.     }
  2789.  
  2790.     my $format = "%-${max_len}s %s\n";
  2791.     my $banner = sprintf($format, "Method", "Module");
  2792.     my $hint = join '',
  2793.         ("\nObjects of type '$object' can invoke the following XS methods:\n\n",
  2794.          $banner, sep(length($banner)),
  2795.          map({ sprintf $format, $_->[0], $_->[1]} @{ $objects->{$object} }),
  2796.          sep(length($banner)));
  2797.  
  2798.     return ($hint, @methods);
  2799.  
  2800. }
  2801.  
  2802. 1;
  2803.