Changeset 1159:05f74dc19c49 in freeDiameter for include/freeDiameter/libfdcore.h
- Timestamp:
- May 31, 2013, 12:20:27 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdcore.h
r1155 r1159 61 61 CHECK_PRELUDE(__call__); \ 62 62 if (__ret__ < 0) { \ 63 __ret__ = errno; \ 64 LOG(faillevel, "ERROR: in '%s' :\t%s", #__call__ , gnutls_strerror(__ret__)); \ 63 LOG(faillevel, "TLS ERROR: in '%s' :\t%s", #__call__ , gnutls_strerror(__ret__)); \ 65 64 __fallback__; \ 66 65 } \ … … 76 75 #ifndef EXCLUDE_DEPRECATED 77 76 /* Macro for transition, replace with CHECK_GNUTLS_GEN */ 78 #define CHECK_GNUTLS_DO( __call__, __fallback__ ) { \ 79 CHECK_PRELUDE(__call__); \ 80 if (__ret__ < 0) { \ 81 __ret__ = errno; \ 82 TRACE_ERROR("ERROR: in '%s' :\t%s", #__call__ , gnutls_strerror(__ret__)); \ 83 __fallback__; \ 84 } \ 85 } 77 #define CHECK_GNUTLS_DO( __call__, __fallback__ ) \ 78 CHECK_GNUTLS_GEN( FD_LOG_ERROR, __call__, __fallback__ ) 86 79 87 80 #endif /* EXCLUDE_DEPRECATED */ … … 96 89 int fd_core_initialize(void); 97 90 98 /* Return astring describing the version of the library */99 const char *fd_core_version(void);91 /* A string describing the version of the library */ 92 extern const char fd_core_version[]; 100 93 101 94 /* Parse the freeDiameter.conf configuration file, load the extensions */
Note: See TracChangeset
for help on using the changeset viewer.