- Timestamp:
- Feb 27, 2006 12:00:30 AM (19 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 3 added
- 1 deleted
- 3 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/build/pjsip.dsw
r213 r238 138 138 Project_Dep_Name pjsip_simple 139 139 End Project Dependency 140 Begin Project Dependency 141 Project_Dep_Name pjsua_lib 142 End Project Dependency 143 }}} 144 145 ############################################################################### 146 147 Project: "pjsua_lib"=.\pjsua_lib.dsp - Package Owner=<4> 148 149 Package=<5> 150 {{{ 151 }}} 152 153 Package=<4> 154 {{{ 140 155 }}} 141 156 -
pjproject/trunk/pjsip/build/pjsua.dsp
r236 r238 91 91 # Begin Source File 92 92 93 SOURCE=..\src\pjsua\getopt.c94 # End Source File95 # Begin Source File96 97 93 SOURCE=..\src\pjsua\main.c 98 # End Source File99 # Begin Source File100 101 SOURCE=..\src\pjsua\pjsua_call.c102 # End Source File103 # Begin Source File104 105 SOURCE=..\src\pjsua\pjsua_core.c106 # End Source File107 # Begin Source File108 109 SOURCE=..\src\pjsua\pjsua_opt.c110 # End Source File111 # Begin Source File112 113 SOURCE=..\src\pjsua\pjsua_pres.c114 # End Source File115 # Begin Source File116 117 SOURCE=..\src\pjsua\pjsua_reg.c118 94 # End Source File 119 95 # End Group … … 121 97 122 98 # PROP Default_Filter "h;hpp;hxx;hm;inl" 123 # Begin Source File124 125 SOURCE=..\src\pjsua\getopt.h126 # End Source File127 # Begin Source File128 129 SOURCE=..\src\pjsua\pjsua.h130 # End Source File131 99 # End Group 132 100 # Begin Group "Resource Files" -
pjproject/trunk/pjsip/src/pjsua-lib/getopt.c
r237 r238 26 26 */ 27 27 28 #include "getopt.h"28 #include <pjsua-lib/getopt.h> 29 29 #include <pj/string.h> 30 30 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r236 r238 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include "pjsua.h"19 #include <pjsua-lib/pjsua.h> 20 20 #include <pj/log.h> 21 21 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r236 r238 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include "pjsua.h"19 #include <pjsua-lib/pjsua.h> 20 20 21 21 /* -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_opt.c
r236 r238 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include "pjsua.h" 20 #include "getopt.h" 21 #include <stdlib.h> 19 #include <pjsua-lib/pjsua.h> 20 #include <pjsua-lib/getopt.h> 22 21 23 22 #define THIS_FILE "pjsua_opt.c" … … 190 189 return 0; 191 190 191 } 192 193 static int my_atoi(const char *cs) 194 { 195 pj_str_t s; 196 return pj_strtoul(pj_cstr(&s, cs)); 192 197 } 193 198 … … 459 464 460 465 case OPT_AUTO_ANSWER: 461 pjsua.auto_answer = atoi(optarg);466 pjsua.auto_answer = my_atoi(optarg); 462 467 if (pjsua.auto_answer < 100 || pjsua.auto_answer > 699) { 463 468 puts("Error: invalid code in --auto-answer (expecting 100-699"); … … 467 472 468 473 case OPT_MAX_CALLS: 469 pjsua.max_calls = atoi(optarg);474 pjsua.max_calls = my_atoi(optarg); 470 475 if (pjsua.max_calls < 1 || pjsua.max_calls > 255) { 471 476 puts("Too many calls for max-calls (1-255)"); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r236 r238 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include "pjsua.h"19 #include <pjsua-lib/pjsua.h> 20 20 21 21 /* -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_reg.c
r236 r238 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include "pjsua.h"19 #include <pjsua-lib/pjsua.h> 20 20 21 21 -
pjproject/trunk/pjsip/src/pjsua/main.c
r236 r238 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #include "pjsua.h"19 #include <pjsua-lib/pjsua.h> 20 20 #include <stdlib.h> 21 21
Note: See TracChangeset
for help on using the changeset viewer.