Commit Graph

26 Commits

Author SHA1 Message Date
Benny Prijono 04d9576b30 Added pjlib-util/config.h and pjlib-util/types.h to put
together common settings, and updated Doxygen documentation
for PJLIB-UTIL.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@754 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 13:56:07 +00:00
Benny Prijono fa9e5b1a6c Major addition to support DNS SRV resolution in PJSIP:
- added DNS asynchronous/caching resolver engine in
  PJLIB-UTIL (resolver.[hc])
- modified SIP resolver (sip_resolve.c) to properly
  perform DNS SRV/A resolution when DNS resolution is
  enabled.
- added dns_test.c in PJSIP-TEST for testing the SIP
  resolver.
- added nameserver configuration in PJSUA-LIB
- added "--nameserver" option in PJSUA.
- updated project/Makefiles and doxygen documentation.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 12:39:34 +00:00
Benny Prijono d424f5bc49 Added initial implementation of low-level DNS packetization
and parsing functions in PJLIB-UTIL/dns.h. Errors codes
added for DNS formatting related errors.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@745 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-30 11:39:17 +00:00
Benny Prijono 92ac447ad2 Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 13:42:56 +00:00
Benny Prijono b6eab2cc6d Various performance improvements in PJSIP: (1) optimizing for common case to minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc..
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@583 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 22:08:47 +00:00
Benny Prijono e1f1e38e55 Fixed bugs in scanner: (1) pj_cis_match() takes int argument, so when ASCII character above 127 is given, it will access the array with negative index, and (2) pj_scan_get_newline() may incorrectly eat two newlines when the second newline is a header continuation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@570 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 09:29:09 +00:00
Benny Prijono 385153d476 Cleanup warnings with MSVC 2003
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@472 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-24 10:25:34 +00:00
Benny Prijono 4a194157ce Removed pj_opterr from getopt.h as it is currently not supported
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@405 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-20 11:11:34 +00:00
Benny Prijono 448fc064c6 Moved getopt from pjsua-lib to pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@359 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-24 20:43:23 +00:00
Benny Prijono 0e152fff6f Added PJLIB_UTIL_EINXML in errno
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@264 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:13:10 +00:00
Benny Prijono bece36aea3 Started errno framework in pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@217 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22 22:10:42 +00:00
Benny Prijono 0cdba29e36 Added pj_xml_clone()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@194 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 01:29:42 +00:00
Benny Prijono 4d95efec88 Fixed Makefile and warnings in cygwin/mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@142 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 19:01:58 +00:00
Benny Prijono 728a905193 Complete tsx layer selftest, implemented authentication framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@123 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-18 23:34:15 +00:00
Benny Prijono b77cc54089 Added pj_cis_add_cis()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@81 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-23 20:55:37 +00:00
Benny Prijono cec5f4ae2c More optimizations for msg parser etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@77 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-22 23:51:50 +00:00
Benny Prijono de5f4643c3 Scanner optimization and added cis_uint backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@73 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 17:06:21 +00:00
Benny Prijono 9033e31911 Set svn:eol-style for all files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@66 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 02:08:39 +00:00
Benny Prijono 5dcb38d909 Set svn:eol-style property
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@65 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 01:55:47 +00:00
Benny Prijono fd39486532 Added character (un)escaping utilities in string.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@63 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-20 19:57:22 +00:00
Benny Prijono e0312a7f30 Pretty comments
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18 00:16:43 +00:00
Benny Prijono e722461aef Applying license to pjproject
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@49 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13 19:40:44 +00:00
Benny Prijono f010e69c41 First clean compile of pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@43 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-11 19:01:31 +00:00
Benny Prijono 9a65621ab4 MSVC projects for pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@33 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 11:55:27 +00:00
Benny Prijono f2afa6caef Renamed pjutil subdirs to pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@31 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 09:54:02 +00:00
Benny Prijono b3abf49f5a Rename pjutil to pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@30 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 09:52:29 +00:00