ap_release.inc 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. { Copyright 2001-2005 The Apache Software Foundation or its licensors, as applicable.
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. }
  15. //#include "apr_general.h" /* stringify */
  16. const
  17. AP_SERVER_COPYRIGHT =
  18. 'Copyright 2001-2006 The Apache Software Foundation' +
  19. ' or its licensors, as applicable.';
  20. {
  21. * The below defines the base string of the Server: header. Additional
  22. * tokens can be added via the ap_add_version_component() API call.
  23. *
  24. * The tokens are listed in order of their significance for identifying the
  25. * application.
  26. *
  27. * "Product tokens should be short and to the point -- use of them for
  28. * advertizing or other non-essential information is explicitly forbidden."
  29. *
  30. * Example: "Apache/1.1.0 MrWidget/0.1-alpha"
  31. }
  32. AP_SERVER_BASEVENDOR = 'Apache Software Foundation';
  33. AP_SERVER_BASEPRODUCT = 'Apache';
  34. AP_SERVER_MAJORVERSION_NUMBER = 2;
  35. AP_SERVER_MINORVERSION_NUMBER = 0;
  36. AP_SERVER_PATCHLEVEL_NUMBER = 58;
  37. AP_SERVER_ADD_STRING = '';
  38. { keep old macros as well }
  39. {#define AP_SERVER_MAJORVERSION APR_STRINGIFY(AP_SERVER_MAJORVERSION_NUMBER)
  40. #define AP_SERVER_MINORVERSION APR_STRINGIFY(AP_SERVER_MINORVERSION_NUMBER)
  41. #define AP_SERVER_PATCHLEVEL APR_STRINGIFY(AP_SERVER_PATCHLEVEL_NUMBER) \
  42. AP_SERVER_ADD_STRING
  43. #define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "." AP_SERVER_MINORVERSION
  44. #define AP_SERVER_BASEREVISION AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
  45. #define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/" AP_SERVER_BASEREVISION
  46. #define AP_SERVER_VERSION AP_SERVER_BASEVERSION}