File: ap_vercompat.h

package info (click to toggle)
libapache-mod-put 1.1-0
  • links: PTS
  • area: main
  • in suites: slink
  • size: 40 kB
  • ctags: 32
  • sloc: ansic: 153; sh: 77; makefile: 41
file content (24 lines) | stat: -rw-r--r-- 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _AP_VERCOMPAT_H_
#define _AP_VERCOMPAT_H_

/* 
 *
 * Compatibility defines for Apache 1.2/1.3 symbols
 *
 */

#include "httpd.h"

#if APACHE_RELEASE < 1030000
#define ap_pcalloc pcalloc
#define ap_pstrdup pstrdup
#define ap_get_module_config get_module_config
#define ap_get_basic_auth_pw get_basic_auth_pw
#define ap_log_reason log_reason
#define ap_pstrcat pstrcat
#define ap_getword getword
#define ap_getword_conf getword_conf
#define ap_requires requires
#endif

#endif