Changeset 6028
- Timestamp:
- Jun 13, 2019 5:58:18 AM (5 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/pjsua
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/ios/ipjsua/ipjsuaAppDelegate.m
r5653 r6028 242 242 if (dev_ori == prev_ori) return; 243 243 244 NSLog(@"Device orientation changed: %d", ( prev_ori = dev_ori));244 NSLog(@"Device orientation changed: %d", (int)(prev_ori = dev_ori)); 245 245 246 246 if (dev_ori >= UIDeviceOrientationPortrait && -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r6027 r6028 54 54 static void ring_start(pjsua_call_id call_id); 55 55 static void ring_stop(pjsua_call_id call_id); 56 static pj_status_t app_init( );57 static pj_status_t app_destroy( );56 static pj_status_t app_init(void); 57 static pj_status_t app_destroy(void); 58 58 59 59 static pjsua_app_cfg_t app_cfg; … … 1252 1252 } 1253 1253 1254 static pj_status_t app_init( )1254 static pj_status_t app_init(void) 1255 1255 { 1256 1256 pjsua_transport_id transport_id = -1; … … 1981 1981 } 1982 1982 1983 static pj_status_t app_destroy( )1983 static pj_status_t app_destroy(void) 1984 1984 { 1985 1985 pj_status_t status = PJ_SUCCESS; … … 2066 2066 } 2067 2067 2068 pj_status_t pjsua_app_destroy( )2068 pj_status_t pjsua_app_destroy(void) 2069 2069 { 2070 2070 pj_status_t status; -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.h
r4489 r6028 82 82 * This will destroy/cleanup the application library. 83 83 */ 84 pj_status_t pjsua_app_destroy( );84 pj_status_t pjsua_app_destroy(void); 85 85 86 86 PJ_END_DECL -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_cli.c
r5939 r6028 163 163 /** Forward declaration **/ 164 164 pj_status_t cli_setup_command(pj_cli_t *cli); 165 void cli_destroy( );165 void cli_destroy(void); 166 166 167 167 PJ_DEF(void) cli_get_info(char *info, pj_size_t size) … … 185 185 } 186 186 187 pj_status_t cli_init( )187 pj_status_t cli_init(void) 188 188 { 189 189 pj_status_t status; … … 267 267 } 268 268 269 void cli_destroy( )269 void cli_destroy(void) 270 270 { 271 271 /* Destroy CLI, it will automatically destroy any FEs */ -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_common.c
r6027 r6028 63 63 * press ']' 64 64 */ 65 pj_bool_t find_next_call( )65 pj_bool_t find_next_call(void) 66 66 { 67 67 int i, max; … … 86 86 } 87 87 88 pj_bool_t find_prev_call( )88 pj_bool_t find_prev_call(void) 89 89 { 90 90 int i, max; … … 329 329 } 330 330 331 void vid_list_devs( )331 void vid_list_devs(void) 332 332 { 333 333 unsigned i, count; -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_common.h
r5746 r6028 170 170 171 171 int my_atoi(const char *cs); 172 pj_bool_t find_next_call( );173 pj_bool_t find_prev_call( );172 pj_bool_t find_next_call(void); 173 pj_bool_t find_prev_call(void); 174 174 void send_request(char *cstr_method, const pj_str_t *dst_uri); 175 175 void log_call_dump(int call_id); … … 178 178 void arrange_window(pjsua_vid_win_id wid); 179 179 180 /** Defined in pjsua_cli_cmd.c **/ 181 pj_bool_t is_cli_inited(); 182 183 /** Defined in pjsua_config.c **/ 180 /** Defined in pjsua_app_config.c **/ 184 181 /** This is to load the configuration **/ 185 182 pj_status_t load_config(int argc, char **argv, pj_str_t *uri_arg); … … 196 193 197 194 /** Pjsua cli method **/ 198 pj_status_t cli_init( );195 pj_status_t cli_init(void); 199 196 pj_status_t cli_main(pj_bool_t wait_telnet_cli); 200 void cli_destroy( );197 void cli_destroy(void); 201 198 void cli_get_info(char *info, pj_size_t size); 202 199 203 200 /** Legacy method **/ 204 void legacy_main( );201 void legacy_main(void); 205 202 206 203 #if PJSUA_HAS_VIDEO 207 204 void vid_print_dev(int id, const pjmedia_vid_dev_info *vdi, const char *title); 208 void vid_list_devs( );205 void vid_list_devs(void); 209 206 void app_config_show_video(int acc_id, const pjsua_acc_config *acc_cfg); 210 207 #endif -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c
r6004 r6028 1073 1073 if (pj_ansi_strnicmp(pj_optarg, "0x", 2) == 0) { 1074 1074 pj_str_t cipher_st = pj_str(pj_optarg + 2); 1075 cipher = pj_strtoul2(&cipher_st, NULL, 16);1075 cipher = (pj_ssl_cipher)pj_strtoul2(&cipher_st, NULL, 16); 1076 1076 } else { 1077 1077 cipher = atoi(pj_optarg); … … 1347 1347 if (pj_ansi_strnicmp(pj_optarg, "0x", 2) == 0) { 1348 1348 pj_str_t cipher_st = pj_str(pj_optarg + 2); 1349 cipher = pj_strtoul2(&cipher_st, NULL, 16);1349 cipher = (pj_ssl_cipher)pj_strtoul2(&cipher_st, NULL, 16); 1350 1350 } else { 1351 1351 cipher = atoi(pj_optarg); -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_legacy.c
r6008 r6028 1754 1754 * Main "user interface" loop. 1755 1755 */ 1756 void legacy_main( )1756 void legacy_main(void) 1757 1757 { 1758 1758 char menuin[80];
Note: See TracChangeset
for help on using the changeset viewer.