Changeset 114:5b3868944e2b in freeDiameter for freeDiameter/tests/testmesg.c
- Timestamp:
- Dec 8, 2009, 4:55:18 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/tests/testmesg.c
r35 r114 687 687 buf_cpy[5] = 0x11; 688 688 CHECK( 0, fd_msg_parse_buffer( &buf_cpy, 344, &msg) ); 689 CHECK( ENOTSUP, fd_msg_parse_dict( msg, fd_g_config->cnf_dict ) );689 CHECK( ENOTSUP, fd_msg_parse_dict( msg, fd_g_config->cnf_dict, NULL ) ); 690 690 691 691 /* reset */ … … 702 702 /* Check that we cannot support this message now */ 703 703 CHECK( 0, fd_msg_parse_buffer( &buf_cpy, 344, &msg) ); 704 CHECK( ENOTSUP, fd_msg_parse_dict( msg, fd_g_config->cnf_dict ) );704 CHECK( ENOTSUP, fd_msg_parse_dict( msg, fd_g_config->cnf_dict, NULL ) ); 705 705 706 706 /* reset */ … … 716 716 /* Check that we can support this message now */ 717 717 CHECK( 0, fd_msg_parse_buffer( &buf_cpy, 344, &msg) ); 718 CHECK( 0, fd_msg_parse_dict( msg, fd_g_config->cnf_dict ) );718 CHECK( 0, fd_msg_parse_dict( msg, fd_g_config->cnf_dict, NULL ) ); 719 719 720 720 #if 0 … … 727 727 728 728 CHECK( 0, fd_msg_parse_buffer( &buf, 344, &msg) ); 729 CHECK( 0, fd_msg_parse_dict( msg, fd_g_config->cnf_dict ) );729 CHECK( 0, fd_msg_parse_dict( msg, fd_g_config->cnf_dict, NULL ) ); 730 730 #if 0 731 731 fd_msg_dump_walk(0, msg); … … 964 964 /* Ok, now let's recreate the message */ 965 965 CHECK( 0, fd_msg_parse_buffer( &buf, 64, &cer) ); 966 CHECK( 0, fd_msg_parse_dict( cer, fd_g_config->cnf_dict ) );966 CHECK( 0, fd_msg_parse_dict( cer, fd_g_config->cnf_dict, NULL ) ); 967 967 968 968 /* Get the pointers to the first and last AVP */ … … 1194 1194 1195 1195 CHECK( 0, fd_msg_parse_buffer( &buf, 148, &msg) ); 1196 CHECK( 0, fd_msg_parse_dict( msg, fd_g_config->cnf_dict ) );1196 CHECK( 0, fd_msg_parse_dict( msg, fd_g_config->cnf_dict, NULL ) ); 1197 1197 #if 0 1198 1198 fd_msg_dump_walk(0, msg);
Note: See TracChangeset
for help on using the changeset viewer.