- Timestamp:
- Nov 6, 2013 7:46:15 AM (11 years ago)
- Location:
- pjproject/branches/projects/pjsua2/pjlib-util
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjlib-util/build/Makefile
r4440 r4643 31 31 base64.o cli.o cli_console.o cli_telnet.o crc32.o errno.o dns.o \ 32 32 dns_dump.o dns_server.o getopt.o hmac_md5.o hmac_sha1.o \ 33 http_client.o md5.o pcap.o resolver.o scanner.o sha1.o \33 http_client.o json.o md5.o pcap.o resolver.o scanner.o sha1.o \ 34 34 srv_resolver.o string.o stun_simple.o \ 35 35 stun_simple_client.o xml.o … … 41 41 export UTIL_TEST_SRCDIR = ../src/pjlib-util-test 42 42 export UTIL_TEST_OBJS += xml.o encryption.o stun.o resolver_test.o test.o \ 43 http_client.o43 json_test.o http_client.o 44 44 export UTIL_TEST_CFLAGS += $(_CFLAGS) 45 45 export UTIL_TEST_LDFLAGS += $(_LDFLAGS) -
pjproject/branches/projects/pjsua2/pjlib-util/include/pjlib-util.h
r4476 r4643 55 55 #include <pjlib-util/xml.h> 56 56 57 /* JSON */ 58 #include <pjlib-util/json.h> 59 57 60 /* Old STUN */ 58 61 #include <pjlib-util/stun_simple.h> -
pjproject/branches/projects/pjsua2/pjlib-util/include/pjlib-util/errno.h
r4440 r4643 118 118 119 119 120 /************************************************************ 121 * JSON ERROR 122 ***********************************************************/ 123 /** 124 * @hideinitializer 125 * General invalid JSON message. 126 */ 127 #define PJLIB_UTIL_EINJSON (PJLIB_UTIL_ERRNO_START+30) /* 320030 */ 128 120 129 121 130 /************************************************************ -
pjproject/branches/projects/pjsua2/pjlib-util/src/pjlib-util-test/test.c
r3553 r4643 73 73 #endif 74 74 75 #if INCLUDE_JSON_TEST 76 DO_TEST(json_test()); 77 #endif 78 75 79 #if INCLUDE_ENCRYPTION_TEST 76 80 DO_TEST(encryption_test()); -
pjproject/branches/projects/pjsua2/pjlib-util/src/pjlib-util-test/test.h
r3553 r4643 21 21 22 22 #define INCLUDE_XML_TEST 1 23 #define INCLUDE_JSON_TEST 1 23 24 #define INCLUDE_ENCRYPTION_TEST 1 24 25 #define INCLUDE_STUN_TEST 1 … … 27 28 28 29 extern int xml_test(void); 30 extern int json_test(void); 29 31 extern int encryption_test(); 30 32 extern int encryption_benchmark(); -
pjproject/branches/projects/pjsua2/pjlib-util/src/pjlib-util/errno.c
r4440 r4643 51 51 /* XML errors */ 52 52 PJ_BUILD_ERR( PJLIB_UTIL_EINXML, "Invalid XML message" ), 53 54 /* JSON errors */ 55 PJ_BUILD_ERR( PJLIB_UTIL_EINJSON, "Invalid JSON document" ), 53 56 54 57 /* DNS errors */
Note: See TracChangeset
for help on using the changeset viewer.