Changeset 1504


Ignore:
Timestamp:
Oct 17, 2007 6:21:44 AM (16 years ago)
Author:
bennylp
Message:

Fixed build warnings/errors for Symbian target

Location:
pjproject/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/build.symbian/pjnathU.def

    r1495 r1504  
    4646        pj_stun_get_err_reason                   @ 45 NONAME 
    4747        pj_stun_get_method_name                  @ 46 NONAME 
    48         pj_stun_msg_add_attr                     @ 47 NONAME 
    49         pj_stun_msg_add_binary_attr              @ 48 NONAME 
    50         pj_stun_msg_add_empty_attr               @ 49 NONAME 
    51         pj_stun_msg_add_errcode_attr             @ 50 NONAME 
    52         pj_stun_msg_add_msgint_attr              @ 51 NONAME 
    53         pj_stun_msg_add_sockaddr_attr            @ 52 NONAME 
    54         pj_stun_msg_add_string_attr              @ 53 NONAME 
    55         pj_stun_msg_add_uint64_attr              @ 54 NONAME 
    56         pj_stun_msg_add_uint_attr                @ 55 NONAME 
    57         pj_stun_msg_add_unknown_attr             @ 56 NONAME 
    58         pj_stun_msg_check                        @ 57 NONAME 
    59         pj_stun_msg_create                       @ 58 NONAME 
    60         pj_stun_msg_create_response              @ 59 NONAME 
    61         pj_stun_msg_decode                       @ 60 NONAME 
    62         pj_stun_msg_destroy_tdata                @ 61 NONAME 
    63         pj_stun_msg_dump                         @ 62 NONAME 
    64         pj_stun_msg_encode                       @ 63 NONAME 
    65         pj_stun_msg_find_attr                    @ 64 NONAME 
    66         pj_stun_msgint_attr_create               @ 65 NONAME 
    67         pj_stun_session_cancel_req               @ 66 NONAME 
    68         pj_stun_session_create                   @ 67 NONAME 
    69         pj_stun_session_create_ind               @ 68 NONAME 
    70         pj_stun_session_create_req               @ 69 NONAME 
    71         pj_stun_session_create_res               @ 70 NONAME 
    72         pj_stun_session_destroy                  @ 71 NONAME 
    73         pj_stun_session_get_user_data            @ 72 NONAME 
    74         pj_stun_session_on_rx_pkt                @ 73 NONAME 
    75         pj_stun_session_retransmit_req           @ 74 NONAME 
    76         pj_stun_session_send_msg                 @ 75 NONAME 
    77         pj_stun_session_set_credential           @ 76 NONAME 
    78         pj_stun_session_set_server_name          @ 77 NONAME 
    79         pj_stun_session_set_user_data            @ 78 NONAME 
    80         pj_stun_set_padding_char                 @ 79 NONAME 
    81         pj_stun_sockaddr_attr_create             @ 80 NONAME 
    82         pj_stun_string_attr_create               @ 81 NONAME 
    83         pj_stun_uint64_attr_create               @ 82 NONAME 
    84         pj_stun_uint_attr_create                 @ 83 NONAME 
    85         pj_stun_unknown_attr_create              @ 84 NONAME 
    86         pjnath_init                              @ 85 NONAME 
    87         pjnath_perror                            @ 86 NONAME 
     48        pj_stun_get_nat_name                     @ 47 NONAME 
     49        pj_stun_msg_add_attr                     @ 48 NONAME 
     50        pj_stun_msg_add_binary_attr              @ 49 NONAME 
     51        pj_stun_msg_add_empty_attr               @ 50 NONAME 
     52        pj_stun_msg_add_errcode_attr             @ 51 NONAME 
     53        pj_stun_msg_add_msgint_attr              @ 52 NONAME 
     54        pj_stun_msg_add_sockaddr_attr            @ 53 NONAME 
     55        pj_stun_msg_add_string_attr              @ 54 NONAME 
     56        pj_stun_msg_add_uint64_attr              @ 55 NONAME 
     57        pj_stun_msg_add_uint_attr                @ 56 NONAME 
     58        pj_stun_msg_add_unknown_attr             @ 57 NONAME 
     59        pj_stun_msg_check                        @ 58 NONAME 
     60        pj_stun_msg_create                       @ 59 NONAME 
     61        pj_stun_msg_create_response              @ 60 NONAME 
     62        pj_stun_msg_decode                       @ 61 NONAME 
     63        pj_stun_msg_destroy_tdata                @ 62 NONAME 
     64        pj_stun_msg_dump                         @ 63 NONAME 
     65        pj_stun_msg_encode                       @ 64 NONAME 
     66        pj_stun_msg_find_attr                    @ 65 NONAME 
     67        pj_stun_msgint_attr_create               @ 66 NONAME 
     68        pj_stun_session_cancel_req               @ 67 NONAME 
     69        pj_stun_session_create                   @ 68 NONAME 
     70        pj_stun_session_create_ind               @ 69 NONAME 
     71        pj_stun_session_create_req               @ 70 NONAME 
     72        pj_stun_session_create_res               @ 71 NONAME 
     73        pj_stun_session_destroy                  @ 72 NONAME 
     74        pj_stun_session_get_user_data            @ 73 NONAME 
     75        pj_stun_session_on_rx_pkt                @ 74 NONAME 
     76        pj_stun_session_retransmit_req           @ 75 NONAME 
     77        pj_stun_session_send_msg                 @ 76 NONAME 
     78        pj_stun_session_set_credential           @ 77 NONAME 
     79        pj_stun_session_set_server_name          @ 78 NONAME 
     80        pj_stun_session_set_user_data            @ 79 NONAME 
     81        pj_stun_set_padding_char                 @ 80 NONAME 
     82        pj_stun_sockaddr_attr_create             @ 81 NONAME 
     83        pj_stun_string_attr_create               @ 82 NONAME 
     84        pj_stun_uint64_attr_create               @ 83 NONAME 
     85        pj_stun_uint_attr_create                 @ 84 NONAME 
     86        pj_stun_unknown_attr_create              @ 85 NONAME 
     87        pjnath_init                              @ 86 NONAME 
     88        pjnath_perror                            @ 87 NONAME 
  • pjproject/trunk/build.symbian/pjsua_libU.def

    r1495 r1504  
    7676        pjsua_get_buddy_count                    @ 75 NONAME 
    7777        pjsua_get_ec_tail                        @ 76 NONAME 
    78         pjsua_get_pjmedia_endpt                  @ 77 NONAME 
    79         pjsua_get_pjsip_endpt                    @ 78 NONAME 
    80         pjsua_get_pool_factory                   @ 79 NONAME 
    81         pjsua_get_snd_dev                        @ 80 NONAME 
    82         pjsua_handle_events                      @ 81 NONAME 
    83         pjsua_im_send                            @ 82 NONAME 
    84         pjsua_im_typing                          @ 83 NONAME 
    85         pjsua_init                               @ 84 NONAME 
    86         pjsua_logging_config_default             @ 85 NONAME 
    87         pjsua_logging_config_dup                 @ 86 NONAME 
    88         pjsua_media_config_default               @ 87 NONAME 
    89         pjsua_media_transports_create            @ 88 NONAME 
    90         pjsua_msg_data_init                      @ 89 NONAME 
    91         pjsua_perror                             @ 90 NONAME 
    92         pjsua_player_create                      @ 91 NONAME 
    93         pjsua_player_destroy                     @ 92 NONAME 
    94         pjsua_player_get_conf_port               @ 93 NONAME 
    95         pjsua_player_get_port                    @ 94 NONAME 
    96         pjsua_player_set_pos                     @ 95 NONAME 
    97         pjsua_playlist_create                    @ 96 NONAME 
    98         pjsua_pool_create                        @ 97 NONAME 
    99         pjsua_pres_dump                          @ 98 NONAME 
    100         pjsua_reconfigure_logging                @ 99 NONAME 
    101         pjsua_recorder_create                    @ 100 NONAME 
    102         pjsua_recorder_destroy                   @ 101 NONAME 
    103         pjsua_recorder_get_conf_port             @ 102 NONAME 
    104         pjsua_recorder_get_port                  @ 103 NONAME 
    105         pjsua_set_ec                             @ 104 NONAME 
    106         pjsua_set_no_snd_dev                     @ 105 NONAME 
    107         pjsua_set_null_snd_dev                   @ 106 NONAME 
    108         pjsua_set_snd_dev                        @ 107 NONAME 
    109         pjsua_start                              @ 108 NONAME 
    110         pjsua_transport_close                    @ 109 NONAME 
    111         pjsua_transport_config_default           @ 110 NONAME 
    112         pjsua_transport_config_dup               @ 111 NONAME 
    113         pjsua_transport_create                   @ 112 NONAME 
    114         pjsua_transport_get_info                 @ 113 NONAME 
    115         pjsua_transport_register                 @ 114 NONAME 
    116         pjsua_transport_set_enable               @ 115 NONAME 
    117         pjsua_verify_sip_url                     @ 116 NONAME 
     78        pjsua_get_nat_type                       @ 77 NONAME 
     79        pjsua_get_pjmedia_endpt                  @ 78 NONAME 
     80        pjsua_get_pjsip_endpt                    @ 79 NONAME 
     81        pjsua_get_pool_factory                   @ 80 NONAME 
     82        pjsua_get_snd_dev                        @ 81 NONAME 
     83        pjsua_handle_events                      @ 82 NONAME 
     84        pjsua_im_send                            @ 83 NONAME 
     85        pjsua_im_typing                          @ 84 NONAME 
     86        pjsua_init                               @ 85 NONAME 
     87        pjsua_logging_config_default             @ 86 NONAME 
     88        pjsua_logging_config_dup                 @ 87 NONAME 
     89        pjsua_media_config_default               @ 88 NONAME 
     90        pjsua_media_transports_create            @ 89 NONAME 
     91        pjsua_msg_data_init                      @ 90 NONAME 
     92        pjsua_perror                             @ 91 NONAME 
     93        pjsua_player_create                      @ 92 NONAME 
     94        pjsua_player_destroy                     @ 93 NONAME 
     95        pjsua_player_get_conf_port               @ 94 NONAME 
     96        pjsua_player_get_port                    @ 95 NONAME 
     97        pjsua_player_set_pos                     @ 96 NONAME 
     98        pjsua_playlist_create                    @ 97 NONAME 
     99        pjsua_pool_create                        @ 98 NONAME 
     100        pjsua_pres_dump                          @ 99 NONAME 
     101        pjsua_reconfigure_logging                @ 100 NONAME 
     102        pjsua_recorder_create                    @ 101 NONAME 
     103        pjsua_recorder_destroy                   @ 102 NONAME 
     104        pjsua_recorder_get_conf_port             @ 103 NONAME 
     105        pjsua_recorder_get_port                  @ 104 NONAME 
     106        pjsua_set_ec                             @ 105 NONAME 
     107        pjsua_set_no_snd_dev                     @ 106 NONAME 
     108        pjsua_set_null_snd_dev                   @ 107 NONAME 
     109        pjsua_set_snd_dev                        @ 108 NONAME 
     110        pjsua_start                              @ 109 NONAME 
     111        pjsua_transport_close                    @ 110 NONAME 
     112        pjsua_transport_config_default           @ 111 NONAME 
     113        pjsua_transport_config_dup               @ 112 NONAME 
     114        pjsua_transport_create                   @ 113 NONAME 
     115        pjsua_transport_get_info                 @ 114 NONAME 
     116        pjsua_transport_register                 @ 115 NONAME 
     117        pjsua_transport_set_enable               @ 116 NONAME 
     118        pjsua_verify_sip_url                     @ 117 NONAME 
  • pjproject/trunk/pjlib/include/pj/config_site_sample.h

    r1495 r1504  
    4242 
    4343    /* Disable these */ 
    44 #   define PJMEDIA_HAS_LIBRESAMPLE      0 
     44#   define PJMEDIA_RESAMPLE_IMP         PJMEDIA_RESAMPLE_NONE 
    4545#   define PJMEDIA_HAS_SPEEX_AEC        0 
    4646 
  • pjproject/trunk/pjnath/src/pjnath/nat_detect.c

    r1501 r1504  
    170170    pj_status_t status; 
    171171 
    172     status = pj_sock_socket(PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sock); 
     172    status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock); 
    173173    if (status != PJ_SUCCESS) 
    174174        return status; 
     
    245245     * Initialize socket. 
    246246     */ 
    247     status = pj_sock_socket(PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sess->sock); 
     247    status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sess->sock); 
    248248    if (status != PJ_SUCCESS) 
    249249        goto on_error; 
     
    253253     */ 
    254254    pj_bzero(&sess->local_addr, sizeof(pj_sockaddr_in)); 
    255     sess->local_addr.sin_family = PJ_AF_INET; 
     255    sess->local_addr.sin_family = pj_AF_INET(); 
    256256    status = pj_sock_bind(sess->sock, &sess->local_addr,  
    257257                          sizeof(pj_sockaddr_in)); 
     
    526526        PJ_LOG(4,(sess->pool->obj_name, "Invalid transaction ID %u in response", 
    527527                  test_id)); 
    528         end_session(sess, status,  
    529                     PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_SERVER_ERROR)); 
     528        end_session(sess, PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_SERVER_ERROR), 
     529                    PJ_STUN_NAT_TYPE_ERR_UNKNOWN); 
    530530        return; 
    531531    } 
  • pjproject/trunk/pjsip-apps/src/symbian_ua/main_symbian.cpp

    r1249 r1504  
    8383void MyTask::RunL() 
    8484{ 
    85     int rc = ua_main(); 
     85    ua_main(); 
    8686    asw_->AsyncStop(); 
    8787} 
Note: See TracChangeset for help on using the changeset viewer.