Changeset 4489 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.h
- Timestamp:
- Apr 23, 2013 7:53:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.h
r4476 r4489 25 25 */ 26 26 27 #include "pjsua_ common.h"27 #include "pjsua_app_common.h" 28 28 29 29 PJ_BEGIN_DECL … … 32 32 * This structure contains the configuration of application. 33 33 */ 34 typedef struct app_cfg_t34 typedef struct pjsua_app_cfg_t 35 35 { 36 36 /** … … 56 56 * cleanup procedure. 57 57 */ 58 pj_bool_t(*on_stopped)(pj_bool_t restart, int argc, char** argv);58 void (*on_stopped)(pj_bool_t restart, int argc, char** argv); 59 59 60 60 /** … … 63 63 */ 64 64 void (*on_config_init)(pjsua_app_config *cfg); 65 } app_cfg_t;65 } pjsua_app_cfg_t; 66 66 67 67 /** … … 69 69 * the provided configuration. 70 70 */ 71 PJ_DECL(pj_status_t) app_init(constapp_cfg_t *app_cfg);71 pj_status_t pjsua_app_init(const pjsua_app_cfg_t *app_cfg); 72 72 73 73 /** … … 77 77 * should define this param as PJ_FALSE. 78 78 */ 79 PJ_DECL(pj_status_t)app_run(pj_bool_t wait_telnet_cli);79 pj_status_t pjsua_app_run(pj_bool_t wait_telnet_cli); 80 80 81 81 /** 82 82 * This will destroy/cleanup the application library. 83 83 */ 84 PJ_DECL(pj_status_t)app_destroy();84 pj_status_t pjsua_app_destroy(); 85 85 86 86 PJ_END_DECL
Note: See TracChangeset
for help on using the changeset viewer.