-/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
- * applicable.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
#include "ap_config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct ap_directive_t ap_directive_t;
/**
*
* The config tree only stores
* the directives that will be active in the running server. Directives
- * that contain other directions, such as <Directory ...> cause a sub-level
+ * that contain other directions, such as <Directory ...> cause a sub-level
* to be created, where the included directives are stored. The closing
- * directive (</Directory>) is not stored in the tree.
+ * directive (</Directory>) is not stored in the tree.
*/
struct ap_directive_t {
/** The current directive */
/** The arguments for the current directive, stored as a space
* separated list */
const char *args;
- /** The next directive node in the tree
- * @defvar ap_directive_t *next */
+ /** The next directive node in the tree */
struct ap_directive_t *next;
- /** The first child node of this directive
- * @defvar ap_directive_t *first_child */
+ /** The first child node of this directive */
struct ap_directive_t *first_child;
- /** The parent node of this directive
- * @defvar ap_directive_t *parent */
+ /** The parent node of this directive */
struct ap_directive_t *parent;
/** directive's module can store add'l data here */
/**
* The root of the configuration tree
- * @defvar ap_directive_t *conftree
*/
AP_DECLARE_DATA extern ap_directive_t *ap_conftree;
ap_directive_t *ap_add_node(ap_directive_t **parent, ap_directive_t *current,
ap_directive_t *toadd, int child);
+#ifdef __cplusplus
+}
+#endif
+
#endif
/** @} */