Changeset 1033:000e1904074c in freeDiameter
- Timestamp:
- Apr 16, 2013, 12:45:52 PM (11 years ago)
- Branch:
- default
- Children:
- 1034:f4a73a991623, 1035:2f989d1a21e9
- Phase:
- public
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_diameap/diameap_tls.h
r959 r1033 42 42 #include "diameap_defs.h" 43 43 #include <gnutls/gnutls.h> 44 #pragma GCC diagnostic push 44 45 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 45 46 #include <gcrypt.h> 46 #pragma GCC diagnostic warning "-Wdeprecated-declarations"47 #pragma GCC diagnostic pop 47 48 #include <errno.h> 48 49 #include <pthread.h> -
extensions/app_diameap/libcrypt.h
r959 r1033 40 40 #define LIBCRYPT_H_ 41 41 42 #pragma GCC diagnostic push 42 43 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 43 44 #include <gcrypt.h> 44 #pragma GCC diagnostic warning "-Wdeprecated-declarations"45 #pragma GCC diagnostic pop 45 46 #include <stdio.h> 46 47 -
extensions/app_diameap/plugins/eap_md5/eap_md5.c
r1027 r1033 38 38 39 39 #include "../../plugins.h" 40 #pragma GCC diagnostic push 40 41 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 41 42 #include <gcrypt.h> 42 #pragma GCC diagnostic warning "-Wdeprecated-declarations"43 #pragma GCC diagnostic pop 43 44 44 45 #define CHALLENGE_LEN 16 -
extensions/app_diameap/plugins/eap_tls/eaptls.l
r565 r1033 40 40 %{ 41 41 #include <stdio.h> 42 #include "eap_tls.h" 42 43 #include "eaptls.tab.h" 43 44 -
extensions/app_radgw/rgw_clients.c
r1027 r1033 913 913 int ret; 914 914 915 TRACE_ENTRY("%p %p % lu", ip_port, key, keylen);915 TRACE_ENTRY("%p %p %zu", ip_port, key, keylen); 916 916 917 917 CHECK_PARAMS( ip_port && key && *key && keylen ); -
extensions/app_sip/app_sip.h
r1027 r1033 39 39 #include <stdlib.h> 40 40 #include <stdio.h> 41 #pragma GCC diagnostic push 41 42 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 42 43 #include <gcrypt.h> 43 #pragma GCC diagnostic warning "-Wdeprecated-declarations"44 #pragma GCC diagnostic pop 44 45 #include <string.h> 45 46 #include <mysql.h> -
extensions/test_sip/test_sip.h
r972 r1033 39 39 #include <stdlib.h> 40 40 #include <stdio.h> 41 #pragma GCC diagnostic push 41 42 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 42 43 #include <gcrypt.h> 43 #pragma GCC diagnostic warning "-Wdeprecated-declarations"44 #pragma GCC diagnostic pop 44 45 #include <string.h> 45 46 #include <mysql.h> -
include/freeDiameter/libfdproto.h
r1027 r1033 251 251 /* A version of __FILE__ without the full path */ 252 252 static char * file_bname = NULL; 253 #define __STRIPPED_FILE__ (file_bname ?: (file_bname = basename((char *)__FILE__))) 253 static char * file_bname_init(char * full) { file_bname = basename(full); return file_bname; } 254 #define __STRIPPED_FILE__ (file_bname ?: file_bname_init((char *)__FILE__)) 254 255 255 256 /* Boolean for tracing at a certain level */ -
libfdcore/config.c
r1027 r1033 227 227 228 228 #ifndef GNUTLS_VERSION_300 229 # pragma GCC diagnostic push 229 230 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 230 231 #endif /* !GNUTLS_VERSION_300 */ … … 599 600 } 600 601 #ifndef GNUTLS_VERSION_300 601 # pragma GCC diagnostic pop "-Wdeprecated-declarations"602 # pragma GCC diagnostic pop 602 603 #endif /* !GNUTLS_VERSION_300 */ 603 604 -
libfdcore/core.c
r1027 r1033 36 36 #include "fdcore-internal.h" 37 37 38 #pragma GCC diagnostic push 38 39 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 39 40 #include <gcrypt.h> 40 #pragma GCC diagnostic pop "-Wdeprecated-declarations"41 #pragma GCC diagnostic pop 41 42 42 43 /* The static configuration structure */ -
libfdcore/endpoints.c
r976 r1033 64 64 fd_ep_dump( 4, list ); 65 65 TRACE_DEBUG(ANNOYING, " DEBUG:fd_ep_add_merge Adding:"); 66 fd_log_debug(" %s {%s%s%s%s }", buf,66 fd_log_debug(" %s {%s%s%s%s%s}", buf, 67 67 (flags & EP_FL_CONF) ? "C" : "-", 68 68 (flags & EP_FL_DISC) ? "D" : "-", -
libfdcore/p_psm.c
r1027 r1033 660 660 /* At this point the message must have been fully handled already */ 661 661 if (msg) { 662 fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error : unhandled message.", peer->p_hdr.info.pi_diamid );662 fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error ('%s'): unhandled message.", peer->p_hdr.info.pi_diamid ); 663 663 fd_msg_free(msg); 664 664 } -
libfdcore/sctps.c
r1027 r1033 231 231 /* Set the parameters of a session to use the appropriate fifo and stream information */ 232 232 #ifndef GNUTLS_VERSION_300 233 # pragma GCC diagnostic push 233 234 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 234 235 #endif /* !GNUTLS_VERSION_300 */ … … 251 252 } 252 253 #ifndef GNUTLS_VERSION_300 253 # pragma GCC diagnostic pop "-Wdeprecated-declarations"254 # pragma GCC diagnostic pop 254 255 #endif /* !GNUTLS_VERSION_300 */ 255 256 -
libfdproto/dictionary_functions.c
r1029 r1033 279 279 /* XXX: 2036 fix */ 280 280 out += DIFF_EPOCH_TO_NTP; 281 CHECK_PARAMS( (out & 0xffffffff00000000) == 0);281 CHECK_PARAMS( (out >> 32) == 0); 282 282 283 283 CHECK_MALLOC(conv=(char *)malloc(5)); … … 314 314 CHECK_PARAMS( avp_value && interpreted ); 315 315 316 return diameter_string_to_time_t( avp_value->os.data, avp_value->os.len, interpreted);316 return diameter_string_to_time_t((const char *)avp_value->os.data, avp_value->os.len, interpreted); 317 317 } 318 318 -
tests/tests.h
r1000 r1033 47 47 #include <pthread.h> 48 48 #include <errno.h> 49 #pragma GCC diagnostic push 49 50 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 50 51 #include <gcrypt.h> 51 #pragma GCC diagnostic warning "-Wdeprecated-declarations"52 #pragma GCC diagnostic pop 52 53 53 54 /* Test timeout duration, unless -n is passed on the command line */
Note: See TracChangeset
for help on using the changeset viewer.