http_main.inc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. { Copyright 1999-2005 The Apache Software Foundation or its licensors, as
  2. * applicable.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. }
  16. //#include "apr_optional.h"
  17. { AP_SERVER_BASEARGS is the command argument list parsed by http_main.c
  18. * in apr_getopt() format. Use this for default'ing args that the MPM
  19. * can safely ignore and pass on from its rewrite_args() handler.
  20. }
  21. const
  22. AP_SERVER_BASEARGS = 'C:c:D:d:E:e:f:vVlLtSh?X';
  23. {
  24. * @package Command line options
  25. }
  26. { The name of the Apache executable }
  27. //AP_DECLARE_DATA extern const char *ap_server_argv0;
  28. { The global server's ServerRoot }
  29. //AP_DECLARE_DATA extern const char *ap_server_root;
  30. { for -C, -c and -D switches }
  31. { An array of all -C directives. These are processed before the server's
  32. * config file }
  33. //AP_DECLARE_DATA extern apr_array_header_t *ap_server_pre_read_config;
  34. { An array of all -c directives. These are processed after the server's
  35. * config file }
  36. //AP_DECLARE_DATA extern apr_array_header_t *ap_server_post_read_config;
  37. { An array of all -D defines on the command line. This allows people to
  38. * effect the server based on command line options }
  39. //AP_DECLARE_DATA extern apr_array_header_t *ap_server_config_defines;
  40. //APR_DECLARE_OPTIONAL_FN(int, ap_signal_server, (int *, apr_pool_t *));