Changeset 214:5a1b93f59f8f in freeDiameter for include
- Timestamp:
- Feb 18, 2010, 3:20:00 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/freeDiameter.h
r162 r214 47 47 #endif /* GNUTLS_VERSION */ 48 48 49 /* GNUTLS calls debug level */ 50 #ifndef GNUTLS_DBG_LEVEL 51 #define GNUTLS_DBG_LEVEL ANNOYING 52 #endif /* GNUTLS_DBG_LEVEL */ 53 49 54 /* Check the return value of a GNUTLS function, log and propagate */ 50 55 #define CHECK_GNUTLS_DO( __call__, __fallback__ ) { \ 51 56 int __ret__; \ 52 TRACE_DEBUG _ALL( "Check FCT: " #__call__ );\57 TRACE_DEBUG(GNUTLS_DBG_LEVEL, "GNUTLS call: " #__call__ ); \ 53 58 __ret__ = (__call__); \ 54 59 if (__ret__ < 0) { \ … … 57 62 } \ 58 63 } 64 65 /* For GNUTLS routines that do not return a value */ 66 #define GNUTLS_TRACE( __call__) { \ 67 TRACE_DEBUG(GNUTLS_DBG_LEVEL, "GNUTLS call: " #__call__ ); \ 68 (__call__); \ 69 } 70 59 71 60 72
Note: See TracChangeset
for help on using the changeset viewer.