Skip Navigation Links | |
Exit Print View | |
![]() |
man pages section 3: Networking Library Functions Oracle Solaris 11 Express 11/10 |
DNSServiceConstructFullName(3DNS_SD)
DNSServiceCreateConnection(3DNS_SD)
DNSServiceEnumerateDomains(3DNS_SD)
DNSServiceProcessResult(3DNS_SD)
DNSServiceQueryRecord(3DNS_SD)
DNSServiceReconfirmRecord(3DNS_SD)
DNSServiceRefDeallocate(3DNS_SD)
DNSServiceRegisterRecord(3DNS_SD)
DNSServiceRemoveRecord(3DNS_SD)
DNSServiceUpdateRecord(3DNS_SD)
gss_create_empty_oid_set(3GSS)
gss_inquire_cred_by_mech(3GSS)
gss_inquire_mechs_for_name(3GSS)
gss_inquire_names_for_mech(3GSS)
gss_process_context_token(3GSS)
ldap_enable_translation(3LDAP)
ldap_get_entry_controls(3LDAP)
ldap_get_lang_values_len(3LDAP)
ldap_init_getfilter_buf(3LDAP)
ldap_init_searchprefs_buf(3LDAP)
ldap_init_templates_buf(3LDAP)
ldap_parse_extended_result(3LDAP)
ldap_parse_sasl_bind_result(3LDAP)
ldap_sasl_interactive_bind_s(3LDAP)
ldap_set_string_translators(3LDAP)
ldap_translate_from_t61(3LDAP)
rpc_gss_get_principal_name(3NSL)
rpc_gss_svc_max_data_length(3NSL)
sasl_auxprop_add_plugin(3SASL)
sasl_canonuser_add_plugin(3SASL)
sasl_client_plug_init_t(3SASL)
sasl_server_plug_init_t(3SASL)
sasl_server_userdb_checkpass_t(3SASL)
sasl_server_userdb_setpass_t(3SASL)
sdp_add_connection(3COMMPUTIL)
sdp_add_information(3COMMPUTIL)
sdp_delete_all_field(3COMMPUTIL)
sdp_delete_all_media_field(3COMMPUTIL)
sdp_delete_attribute(3COMMPUTIL)
sdp_find_attribute(3COMMPUTIL)
sdp_find_media_rtpmap(3COMMPUTIL)
sdp_session_to_str(3COMMPUTIL)
sip_create_dialog_req_nocontact(3SIP)
sip_delete_header_by_name(3SIP)
sip_disable_dialog_logging(3SIP)
sip_disable_trans_logging(3SIP)
sip_enable_dialog_logging(3SIP)
sip_enable_trans_logging(3SIP)
sip_get_contact_display_name(3SIP)
sip_get_content_sub_type(3SIP)
sip_get_dialog_local_contact_uri(3SIP)
sip_get_dialog_local_tag(3SIP)
sip_get_dialog_local_uri(3SIP)
sip_get_dialog_remote_cseq(3SIP)
sip_get_dialog_remote_tag(3SIP)
sip_get_dialog_remote_target_uri(3SIP)
sip_get_dialog_remote_uri(3SIP)
sip_get_dialog_route_set(3SIP)
sip_get_from_display_name(3SIP)
sip_get_passertedid_display_name(3SIP)
sip_get_passertedid_uri_str(3SIP)
sip_get_ppreferredid_display_name(3SIP)
sip_get_ppreferredid_uri_str(3SIP)
sip_get_proxy_authen_param(3SIP)
sip_get_proxy_authen_scheme(3SIP)
sip_get_proxy_author_param(3SIP)
sip_get_proxy_author_scheme(3SIP)
sip_get_replyto_display_name(3SIP)
sip_get_retry_after_cmts(3SIP)
sip_get_retry_after_time(3SIP)
sip_get_route_display_name(3SIP)
sip_get_via_sent_by_host(3SIP)
sip_get_via_sent_by_port(3SIP)
sip_get_via_sent_protocol_name(3SIP)
sip_get_via_sent_protocol_version(3SIP)
sip_get_via_sent_transport(3SIP)
sip_get_www_authen_param(3SIP)
sip_get_www_authen_scheme(3SIP)
sip_unregister_all_sent_by(3SIP)
- get dialog attributes
cc [ flag ... ] file ... -lsip [ library ... ] #include <sip.h> int sip_get_dialog_state(sip_dialog_t dialog, int *error);
const sip_str_t *sip_get_dialog_callid(sip_dialog_t dialog, int *error);
const sip_str_t *sip_get_dialog_local_tag(sip_dialog_t dialog, int *error);
const sip_str_t *sip_get_dialog_remote_tag(sip_dialog_t dialog, int *error);
const struct sip_uri *sip_get_dialog_local_uri(sip_dialog_t dialog, int *error);
const struct sip_uri *sip_get_dialog_remote_uri(sip_dialog_t dialog, int *error);
const struct sip_uri *sip_get_dialog_local_contact_uri( sip_dialog_t dialog, int *error);
const struct sip_uri *sip_get_dialog_remote_target_uri( sip_dialog_t dialog, int *error);
const sip_str_t *sip_get_dialog_route_set(sip_dialog_t dialog, int *error);
boolean_t sip_is_dialog_secure(sip_dialog_t dialog, int *error);
uint32_t sip_get_dialog_local_cseq(sip_dialog_t dialog, int *error);
uint32_t sip_get_dialog_remote_cseq(sip_dialog_t dialog, int *error);
int sip_get_dialog_type(sip_dialog_t dialog,int *error);
int sip_get_dialog_method(sip_dialog_t dialog,int *error);
int sip_get_dialog_msgcnt(sip_dialog_t dialog,int *error);
For functions that return a pointer of type sip_str_t, sip_str_t is supplied by:
typedef struct sip_str { char *sip_str_ptr; int sip_str_len; }sip_str_t;
The sip_str_ptr parameter points to the start of the returned value and sip_str_len supplies the length of the returned value.
The sip_get_dialog_state() returns the state of the dialog. A dialog can be in one of the following states:
|
The sip_get_dialog_callid() function returns the call ID value maintained in the dialog.
The sip_get_dialog_local_tag() and sip_get_dialog_remote_tag() functions return the local and remote tag values, maintained in the dialog.
The sip_get_dialog_local_uri(), sip_get_dialog_remote_uri(), sip_get_dialog_local_contact_uri(), and sip_get_dialog_remote_target_uri() functions return the local, remote, local contract, and the remote target URIs, maintained in the dialog.
The sip_get_dialog_route_set() function returns the route set, if any, maintained in the dialog.
The sip_get_dialog_local_cseq() and sip_get_dialog_remote_cseq() functions return the local and remote CSEQ numbers maintained in the dialog.
The sip_get_dialog_type() function returns one of the following dialog types, depending on whether it is created by the client or the server.
created by client
created by server
The sip_get_dialog_method() function returns the SIP method, INVITE or SUBSCRIBE, of the request that created the dialog.
The sip_is_dialog_secure() function returns B_TRUE if the dialog is secure and B_FALSE otherwise.
The sip_get_dialog_msgcnt() function returns the number of SIP messages (requests and responses) that were sent and received within the context of the given dialog.
The sip_get_dialog_state(), sip_get_dialog_local_cseq(), sip_get_dialog_remote_cseq(), sip_get_dialog_type(), sip_get_dialog_method(), and sip_get_dialog_msgcnt() functions return the required value on success and -1 on failure.
The sip_get_dialog_callid(), sip_get_dialog_local_tag(), sip_get_dialog_remote_tag(), sip_get_dialog_local_uri(), sip_get_dialog_remote_uri(), sip_get_dialog_local_contact_uri(), sip_get_dialog_remote_target_uri(), and sip_get_dialog_route_set() functions return the required value on success and NULL on failure.
The value of errno is not changed by these calls in the event of an error.
These functions take an error argument.
If the error is non-null, one of the following values is set:
The dialog is NULL or the stack is not configured to manage dialogs.
The input SIP message cannot be modified.
The memory allocation fails when the request/response line or the headers in the ACK request are created.
On success, the value of the location pointed to by error is set to 0.
See attributes(5) for descriptions of the following attributes:
|