Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 56268 invoked by uid 500); 10 Feb 2001 14:17:09 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 56254 invoked by uid 500); 10 Feb 2001 14:17:09 -0000 Delivered-To: apmail-apr-util-cvs@apache.org Date: 10 Feb 2001 14:17:09 -0000 Message-ID: <20010210141709.56247.qmail@apache.org> From: gstein@apache.org To: apr-util-cvs@apache.org Subject: cvs commit: apr-util/include apr_optional.h 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 @@ * . */ +#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 */