gstein 01/02/10 06:17:09
Modified: include apr_optional.h
Log:
add sugar to make this a useful header
Revision Changes Path
1.3 +16 -0 apr-util/include/apr_optional.h
Index: apr_optional.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_optional.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- apr_optional.h 2001/01/27 19:03:28 1.2
+++ apr_optional.h 2001/02/10 14:17:08 1.3
@@ -52,6 +52,15 @@
* <http://www.apache.org/>.
*/
+#ifndef APR_OPTIONAL_H
+#define APR_OPTIONAL_H
+
+#include "apu.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Typesafe registration and retrieval of functions that may not be present
* (i.e. functions exported by optional modules)
@@ -95,3 +104,10 @@
*/
#define APR_RETRIEVE_OPTIONAL_FN(name) \
(APR_OPTIONAL_FN_TYPE(name) *)apr_retrieve_optional_fn(#name)
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* APR_OPTIONAL_H */