mirror of
https://github.com/apache/httpd.git
synced 2025-11-09 15:21:02 +03:00
* Prevent multiple "execution" of ap_expr.h contents when included multiple
times and allow it to be included by C++ files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -14,8 +14,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef AP_EXPR_H
|
||||
#define AP_EXPR_H
|
||||
|
||||
#include "httpd.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* conditional expression parser stuff */
|
||||
typedef enum {
|
||||
TOKEN_STRING,
|
||||
@@ -101,3 +108,9 @@ AP_DECLARE(int) ap_expr_evalstring(request_rec *r, const char *expr,
|
||||
int *was_error, backref_t **reptr,
|
||||
string_func_t string_func,
|
||||
opt_func_t eval_func);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* AP_EXPR_H */
|
||||
|
||||
Reference in New Issue
Block a user