- Timestamp:
- Jun 6, 2006 6:40:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/activex-pjsua/pjsua-structs.idl
r487 r492 21 21 Pj_String data; 22 22 } Pjsip_Cred_Info; 23 24 25 [ 26 uuid(7F6CFF0F-C5B3-41e8-B278-61CD584C1F34), 27 version(1.0), 28 helpstring("PJSIP SIP URI"), 29 ] 30 typedef struct Pjsip_Sip_Uri 31 { 32 Pj_String display; 33 Pj_String user; 34 Pj_String passwd; 35 Pj_String host; 36 int port; 37 Pj_String param_user; 38 Pj_String param_method; 39 Pj_String param_transport; 40 int param_ttl; 41 int param_lr; 42 Pj_String param_maddr; 43 Pj_String param_other; 44 Pj_String param_header; 45 } Pjsip_Sip_Uri; 46 47 48 typedef enum Pjsip_Uri_Context 49 { 50 PJSIPX_URI_IN_REQ_URI, 51 PJSIPX_URI_IN_FROMTO_HDR, 52 PJSIPX_URI_IN_CONTACT_HDR, 53 PJSIPX_URI_IN_ROUTING_HDR, 54 PJSIPX_URI_IN_OTHER 55 } Pjsip_Uri_Context; 23 56 24 57 … … 45 78 typedef struct Pjsua_Config 46 79 { 47 unsigned int udp_port; 48 Pj_String sip_host; 49 unsigned int sip_port; 50 unsigned int rtp_port; 51 unsigned int max_calls; 52 unsigned int conf_ports; 53 unsigned int thread_cnt; 54 Pj_String stun_srv1; 55 unsigned int stun_port1; 56 Pj_String stun_srv2; 57 unsigned int stun_port2; 58 unsigned int snd_player_id; 59 unsigned int snd_capture_id; 60 unsigned int clock_rate; 61 Pj_Bool null_audio; 62 unsigned int quality; 63 unsigned int complexity; 64 SAFEARRAY(Pj_String) codec_arg; 65 unsigned int auto_answer; 66 unsigned int uas_refresh; 67 Pj_String outbound_proxy; 80 int udp_port; 81 Pj_String sip_host; 82 int sip_port; 83 int rtp_port; 84 int msg_logging; 85 int max_calls; 86 int conf_ports; 87 int thread_cnt; 88 Pj_String stun_srv1; 89 int stun_port1; 90 Pj_String stun_srv2; 91 int stun_port2; 92 int snd_player_id; 93 int snd_capture_id; 94 int clock_rate; 95 Pj_Bool null_audio; 96 int quality; 97 int complexity; 98 SAFEARRAY(Pj_String) codec_arg; 99 int auto_answer; 100 int uas_refresh; 101 Pj_String outbound_proxy; 68 102 SAFEARRAY(Pjsua_Acc_Config) acc_config; 69 unsigned intlog_level;70 unsigned intapp_log_level;71 unsigned longlog_decor;72 Pj_String 73 SAFEARRAY(Pj_String) 103 int log_level; 104 int app_log_level; 105 long log_decor; 106 Pj_String log_filename; 107 SAFEARRAY(Pj_String) buddy_uri; 74 108 } Pjsua_Config; 75 109 … … 94 128 typedef struct Pjsua_Call_Info 95 129 { 96 unsigned intindex;130 int index; 97 131 Pj_Bool active; 98 132 Pj_Bool is_uac; … … 101 135 Pjsua_Call_State state; 102 136 Pj_String state_text; 103 unsigned intconnect_duration;104 unsigned inttotal_duration;105 unsigned int cause;106 Pj_String cause_text;137 int connect_duration; 138 int total_duration; 139 int last_status; 140 Pj_String last_status_text; 107 141 Pj_Bool has_media; 108 unsigned intconf_slot;142 int conf_slot; 109 143 } Pjsua_Call_Info; 110 144 … … 125 159 typedef struct Pjsua_Buddy_Info 126 160 { 127 unsignedint index;161 int index; 128 162 Pj_Bool is_valid; 129 163 Pj_String name; 130 164 Pj_String display; 131 165 Pj_String host; 132 unsigned intport;166 int port; 133 167 Pj_URI uri; 134 168 Pjsua_Buddy_State status; 135 169 Pj_String status_text; 136 170 Pj_Bool monitor; 137 int acc_index;138 171 } Pjsua_Buddy_Info; 139 172 … … 146 179 typedef struct Pjsua_Acc_Info 147 180 { 148 unsigned intindex;149 Pj_URI acc_ id;181 int index; 182 Pj_URI acc_uri; 150 183 Pj_Bool has_registration; 151 184 int expires; 152 unsigned intstatus_code;185 int status_code; 153 186 Pj_String status_text; 154 187 Pj_Bool online_status; 155 188 } Pjsua_Acc_Info; 156 189 190 191 192 [ 193 uuid(0D05907A-3E1F-4c92-9FD0-26CB6E1CC56A), 194 version(1.0), 195 helpstring("PJSUA Conference Port Information"), 196 ] 197 typedef struct Pjsua_Conf_Port_Info 198 { 199 int slot_id; 200 Pj_String name; 201 int clock_rate; 202 int channel_count; 203 int samples_per_frame; 204 int bits_per_sample; 205 SAFEARRAY(int) listeners; 206 } Pjsua_Conf_Port_Info; 207
Note: See TracChangeset
for help on using the changeset viewer.