diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-25 21:16:36 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-25 21:16:36 +0000 |
commit | fd81f3d4f4987cba762713d3e615c2a04b3b8597 (patch) | |
tree | dbc8d426eeb871f1b1e60174760f3038563f5733 /pjsip/src/pjsua | |
parent | 478d2bc6e45a2dc66472bb577a77537ea97fac5d (diff) |
Tidying up and make it consistent with the documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@230 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua')
-rw-r--r-- | pjsip/src/pjsua/main.c | 4 | ||||
-rw-r--r-- | pjsip/src/pjsua/pjsua_core.c | 5 | ||||
-rw-r--r-- | pjsip/src/pjsua/pjsua_pres.c | 1 |
3 files changed, 4 insertions, 6 deletions
diff --git a/pjsip/src/pjsua/main.c b/pjsip/src/pjsua/main.c index f0d04818..7070c761 100644 --- a/pjsip/src/pjsua/main.c +++ b/pjsip/src/pjsua/main.c @@ -281,7 +281,7 @@ static void conf_list(void) pj_ansi_strcat(txlist, s); } } - printf("Port #%02d %20.*s tx to: %s\n", + printf("Port #%02d %20.*s transmitting to: %s\n", port_info->slot, (int)port_info->name.slen, port_info->name.ptr, @@ -679,7 +679,6 @@ static pjsip_module console_msg_logger = { "mod-pjsua-log", 13 }, /* Name. */ -1, /* Id */ PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* User data. */ NULL, /* load() */ NULL, /* start() */ NULL, /* stop() */ @@ -764,6 +763,7 @@ void pjsua_perror(const char *sender, const char *title, */ int main(int argc, char *argv[]) { + /* Init default settings. */ pjsua_default(); diff --git a/pjsip/src/pjsua/pjsua_core.c b/pjsip/src/pjsua/pjsua_core.c index 56a29063..f5c35468 100644 --- a/pjsip/src/pjsua/pjsua_core.c +++ b/pjsip/src/pjsua/pjsua_core.c @@ -344,7 +344,7 @@ static pj_status_t init_stack(void) /* Initialize transaction layer: */ - status = pjsip_tsx_layer_init(pjsua.endpt); + status = pjsip_tsx_layer_init_module(pjsua.endpt); if (status != PJ_SUCCESS) { pjsua_perror(THIS_FILE, "Transaction layer initialization error", status); @@ -353,7 +353,7 @@ static pj_status_t init_stack(void) /* Initialize UA layer module: */ - status = pjsip_ua_init( pjsua.endpt, NULL ); + status = pjsip_ua_init_module( pjsua.endpt, NULL ); if (status != PJ_SUCCESS) { pjsua_perror(THIS_FILE, "UA layer initialization error", status); goto on_error; @@ -368,7 +368,6 @@ static pj_status_t init_stack(void) { "mod-pjsua", 9 }, /* Name. */ -1, /* Id */ PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* User data. */ NULL, /* load() */ NULL, /* start() */ NULL, /* stop() */ diff --git a/pjsip/src/pjsua/pjsua_pres.c b/pjsip/src/pjsua/pjsua_pres.c index 8129a829..cba02b5c 100644 --- a/pjsip/src/pjsua/pjsua_pres.c +++ b/pjsip/src/pjsua/pjsua_pres.c @@ -43,7 +43,6 @@ static pjsip_module mod_pjsua_pres = { "mod-pjsua-pres", 14 }, /* Name. */ -1, /* Id */ PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* User data. */ NULL, /* load() */ NULL, /* start() */ NULL, /* stop() */ |