Commit 315039b9 authored by Pekka Pessi's avatar Pekka Pessi

Fixed boilerplate stuff preventing multiple #include in many header files.

darcs-hash:20060517130101-65a35-cf0e5af13bf73fa8b488dda4ea79ae2d23029197.gz
parent 4c809e8c
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
*/ */
#ifndef SOFIA_SIP_HOSTDOMAIN_H #ifndef SOFIA_SIP_HOSTDOMAIN_H
/** Defined when sofia-sip/hostdomain.h has been included. @HIDE */ /** Defined when <sofia-sip/hostdomain.h> has been included. */
#define SOFIA_SIP_HOSTDOMAIN_H 1 #define SOFIA_SIP_HOSTDOMAIN_H
/**@file sofia-sip/hostdomain.h /**@file sofia-sip/hostdomain.h
* *
...@@ -51,4 +51,4 @@ SOFIAPUBFUN int host_has_domain_invalid(char const *string); ...@@ -51,4 +51,4 @@ SOFIAPUBFUN int host_has_domain_invalid(char const *string);
SOFIA_END_DECLS SOFIA_END_DECLS
#endif /* !defined SOFIA_SIP_HOSTDOMAIN_H */ #endif /* !defined(SOFIA_SIP_HOSTDOMAIN_H) */
...@@ -28,8 +28,10 @@ ...@@ -28,8 +28,10 @@
* *
*/ */
#ifndef HTTP_PROTOS_H /** Defined when http_protos.h has been included. */ #ifndef HTTP_PROTOS_H
/** Defined when <sofia-sip/http_protos.h> has been included. */
#define HTTP_PROTOS_H #define HTTP_PROTOS_H
/**@file sofia-sip/http_protos.h /**@file sofia-sip/http_protos.h
* *
* Macros for each HTTP header. * Macros for each HTTP header.
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef IPTSEC_DEBUG_H /** Defined when <iptsec_debug.h> has been included. */ #ifndef IPTSEC_DEBUG_H
/** Defined when <iptsec_debug.h> has been included. */
#define IPTSEC_DEBUG_H #define IPTSEC_DEBUG_H
/**@file iptsec_debug.h /**@file iptsec_debug.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef MSG_INTERNAL_H /** Defined when msg_internal.h has been included. */ #ifndef MSG_INTERNAL_H
/** Defined when <msg_internal.h> has been included. */
#define MSG_INTERNAL_H #define MSG_INTERNAL_H
/**@IFILE msg_internal.h /**@IFILE msg_internal.h
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
* *
*/ */
#ifndef MSG_TEST_CLASS_H #ifndef TEST_CLASS_H
/** Defined when test_class.h has been included. */ /** Defined when <test_class.h> has been included. */
#define MSG_TEST_CLASS_H #define TEST_CLASS_H
/**@ingroup test_msg /**@ingroup test_msg
* @file test_class.h * @file test_class.h
...@@ -161,4 +161,4 @@ msg_test_t *msg_test_public(msg_t *msg) ...@@ -161,4 +161,4 @@ msg_test_t *msg_test_public(msg_t *msg)
SOFIA_END_DECLS SOFIA_END_DECLS
#endif #endif /* !defined(TEST_CLASS_H) */
...@@ -29,7 +29,8 @@ ...@@ -29,7 +29,8 @@
* *
*/ */
#ifndef TEST_PROTOS_H /** Defined when test_protos.h has been included. */ #ifndef TEST_PROTOS_H
/** Defined when <test_protos.h> has been included. */
#define TEST_PROTOS_H #define TEST_PROTOS_H
/**@ingroup test_msg /**@ingroup test_msg
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef NEA_DEBUG_H /** Defined when <nea_debug.h> has been included. */ #ifndef NEA_DEBUG_H
/** Defined when <nea_debug.h> has been included. */
#define NEA_DEBUG_H #define NEA_DEBUG_H
/**@file nea_debug.h /**@file nea_debug.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef NTA_COMPAT_H /** Defined when <nta_compat.h> has been included. */ #ifndef NTA_COMPAT_H
/** Defined when <nta_compat.h> has been included. */
#define NTA_COMPAT_H; #define NTA_COMPAT_H;
/**@file nta_compat.h /**@file nta_compat.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef NTA_INTERNAL_H /** Defined when <nta_internal.h> has been included. */ #ifndef NTA_INTERNAL_H
/** Defined when <nta_internal.h> has been included. */
#define NTA_INTERNAL_H #define NTA_INTERNAL_H
/**@IFILE nta_internal.h /**@IFILE nta_internal.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef NUA_PARAMS_H /** Defined when <nua_params.h> has been included. */ #ifndef NUA_PARAMS_H
/** Defined when <nua_params.h> has been included. */
#define NUA_PARAMS_H #define NUA_PARAMS_H
/**@internal @file nua_params.h /**@internal @file nua_params.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef NUA_STACK_H /** Defined when <nua_stack.h> has been included. */ #ifndef NUA_STACK_H
/** Defined when <nua_stack.h> has been included. */
#define NUA_STACK_H #define NUA_STACK_H
/**@IFILE nua_stack.h /**@IFILE nua_stack.h
* @brief Sofia-SIP User Agent Engine - internal stack interface * @brief Sofia-SIP User Agent Engine - internal stack interface
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef OUTBOUND_H /** Defined when <outbound.h> has been included. */ #ifndef OUTBOUND_H
/** Defined when <outbound.h> has been included. */
#define OUTBOUND_H #define OUTBOUND_H
/**@IFILE outbound.h /**@IFILE outbound.h
* *
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
*/ */
#ifndef NUA_H #ifndef NUA_H
/** Defined when @b <sofia-sip/nua.h> has been included. */ /** Defined when <sofia-sip/nua.h> has been included. */
#define NUA_H #define NUA_H
#ifndef SU_WAIT_H #ifndef SU_WAIT_H
......
...@@ -29,7 +29,8 @@ ...@@ -29,7 +29,8 @@
* *
*/ */
#ifndef SIP_TAG_H /** Defined when @b <sip_tag.h> has been included. */ #ifndef SIP_TAG_H
/** Defined when <sofia-sip/sip_tag.h> has been included. */
#define SIP_TAG_H #define SIP_TAG_H
/**@file sofia-sip/sip_tag.h /**@file sofia-sip/sip_tag.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef STUN_INTERNAL_H /** Defined when stun_internal.h has been included. */ #ifndef STUN_INTERNAL_H
/** Defined when <stun_internal.h> has been included. */
#define STUN_INTERNAL_H #define STUN_INTERNAL_H
/**@file stun_internal.h STUN client interface /**@file stun_internal.h STUN client interface
* *
......
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef SU_ADDRINFO_H /* Defined when <sofia-sip/su_addrinfo.h> has been included */ #ifndef SU_ADDRINFO_H
/* Defined when <sofia-sip/su_addrinfo.h> has been included */
#define SU_ADDRINFO_H #define SU_ADDRINFO_H
#ifndef SU_TYPES_H #ifndef SU_TYPES_H
......
...@@ -38,7 +38,9 @@ typedef struct su_log_s su_log_t; ...@@ -38,7 +38,9 @@ typedef struct su_log_s su_log_t;
#endif #endif
#ifndef SU_LOG_H_NEED_SU_LOG_T #ifndef SU_LOG_H_NEED_SU_LOG_T
#ifndef SU_LOG_H /** Defined when <sofia-sip/su_log.h> has been included. */
#ifndef SU_LOG_H
/** Defined when <sofia-sip/su_log.h> has been included. */
#define SU_LOG_H #define SU_LOG_H
#include <stdarg.h> #include <stdarg.h>
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef SU_MODULE_DEBUG_H /** Defined when su_module_debug.h has been included. */ #ifndef SU_MODULE_DEBUG_H
/** Defined when <su_module_debug.h> has been included. */
#define SU_MODULE_DEBUG_H #define SU_MODULE_DEBUG_H
/**@ingroup su_log /**@ingroup su_log
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef SU_PORT_H /** Defined when su_port.h has been included. */ #ifndef SU_PORT_H
/** Defined when <su_port.h> has been included. */
#define SU_PORT_H #define SU_PORT_H
/**@IFILE su_port.h /**@IFILE su_port.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef TPORT_INTERNAL_H /** Defined when <tport.h> has been included. */ #ifndef TPORT_INTERNAL_H
/** Defined when <tport.h> has been included. */
#define TPORT_INTERNAL_H #define TPORT_INTERNAL_H
/**@file tport_internal.h /**@file tport_internal.h
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef TPORT_TLS_H /** Defined when <tport_tls.h> has been included. */ #ifndef TPORT_TLS_H
/** Defined when <tport_tls.h> has been included. */
#define TPORT_TLS_H #define TPORT_TLS_H
/**@IFILE tport_tls.h /**@IFILE tport_tls.h
* @brief TLS interface * @brief TLS interface
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
* *
*/ */
#ifndef URLMAP_H /** Defined when urlmap.h has been included. */ #ifndef URLMAP_H
/** Defined when <urlmap.h> has been included. */
#define URLMAP_H #define URLMAP_H
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment