Changeset 1295:a22d9e907d48 in freeDiameter for include
- Timestamp:
- Jun 19, 2015, 1:00:10 AM (9 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include/freeDiameter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/CMakeLists.txt
r1289 r1295 16 16 OPTION(ERRORS_ON_TODO "(development) Generate compilation errors on TODO items ?" OFF) 17 17 18 # In DEBUG mode, each log c ontains pid, calling function and file for easy debug. Set to ON to stripthis information.19 OPTION(DEBUG_WITH OUT_META "Stripcalling location in logs?" OFF)18 # In DEBUG mode, each log can contain pid, calling function and file for easy debug. Set to ON to display this information. 19 OPTION(DEBUG_WITH_META "Show calling location in logs?" OFF) 20 20 21 21 # Create the absolute path for searching extensions … … 37 37 OPTION(WORKAROUND_ACCEPT_INVALID_VSAI "Do not reject a CER/CEA with a Vendor-Specific-Application-Id AVP containing both Auth- and Acct- application AVPs?" OFF) 38 38 39 MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DEBUG_WITH OUT_META DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT DISABLE_PEER_EXPIRY WORKAROUND_ACCEPT_INVALID_VSAI)39 MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DEBUG_WITH_META DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT DISABLE_PEER_EXPIRY WORKAROUND_ACCEPT_INVALID_VSAI) 40 40 41 41 ######################## -
include/freeDiameter/freeDiameter-host.h.in
r1237 r1295 54 54 #cmakedefine DISABLE_SCTP 55 55 #cmakedefine DEBUG_SCTP 56 #cmakedefine DEBUG_WITH OUT_META56 #cmakedefine DEBUG_WITH_META 57 57 #cmakedefine SCTP_USE_MAPPED_ADDRESSES 58 58 #cmakedefine SCTP_CONNECTX_4_ARGS -
include/freeDiameter/libfdproto.h
r1281 r1295 298 298 299 299 /* In DEBUG mode, we add meta-information along each trace. This makes multi-threading problems easier to debug. */ 300 #if (defined(DEBUG) && !defined(DEBUG_WITHOUT_META))300 #if (defined(DEBUG) && defined(DEBUG_WITH_META)) 301 301 # define STD_TRACE_FMT_STRING "pid:%s in %s@%s:%d: " 302 302 # define STD_TRACE_FMT_ARGS , ((char *)pthread_getspecific(fd_log_thname) ?: "unnamed"), __PRETTY_FUNCTION__, __STRIPPED_FILE__, __LINE__ 303 #else /* DEBUG && !DEBUG_WITHOUT_META */303 #else /* DEBUG && DEBUG_WITH_META */ 304 304 # define STD_TRACE_FMT_STRING "" 305 305 # define STD_TRACE_FMT_ARGS 306 #endif /* DEBUG && !DEBUG_WITHOUT_META */306 #endif /* DEBUG && DEBUG_WITH_META */ 307 307 308 308 /*************************
Note: See TracChangeset
for help on using the changeset viewer.