sip 1.12.11devel
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Enumerations
sip.h File Reference

SIP objects. More...

#include <sofia-sip/msg_types.h>
#include <sofia-sip/msg_mime.h>
Include dependency graph for sip.h:

Go to the source code of this file.

Data Structures

struct  sip_s
 SIP message object. More...
 
struct  sip_request_s
 Structure for SIP request line. More...
 
struct  sip_status_s
 Structure for SIP status line. More...
 
struct  sip_addr_s
 Structure for From and To headers. More...
 
struct  sip_accept_s
 Structure for Accept header field. More...
 
struct  sip_allow_s
 Structure for Allow header field. More...
 
struct  sip_authentication_info_s
 Structure for Authentication-Info header. More...
 
struct  sip_call_id_s
 Structure for Call-ID (and In-Reply-To) header fields. More...
 
struct  sip_call_info_s
 Structure for Call-Info header. More...
 
struct  sip_cseq_s
 Structure for CSeq header. More...
 
struct  sip_contact_s
 Structure for Contact header field. More...
 
struct  sip_content_length_s
 Structure for Content-Length header. More...
 
struct  sip_content_type_s
 Structure for Content-Type header. More...
 
struct  sip_date_s
 Structure for Date header. More...
 
struct  sip_error_info_s
 Structure for Error-Info header. More...
 
struct  sip_event_s
 Structure for Event header. More...
 
struct  sip_expires_s
 Structure for Expires header. More...
 
struct  sip_max_forwards_s
 Structure for Max-Forwards header. More...
 
struct  sip_min_expires_s
 Structure for Min-Expires header. More...
 
struct  sip_rack_s
 Structure for RAck header. More...
 
struct  sip_refer_to_s
 Structure for Refer-To header. More...
 
struct  sip_referred_by_s
 Structure for Referred-By header. More...
 
struct  sip_replaces_s
 Structure for Replaces header. More...
 
struct  sip_retry_after_s
 Structure for Retry-After header. More...
 
struct  sip_request_disposition_s
 Structure for Request-Disposition header. More...
 
struct  sip_caller_prefs_s
 Structure for Accept-Contact and Reject-Contact header fields. More...
 
struct  sip_reason_s
 Structure for Reason header field. More...
 
struct  sip_route_s
 Structure for Route and Record-Route header fields. More...
 
struct  sip_rseq_s
 Structure for RSeq header. More...
 
struct  sip_session_expires_s
 Structure for Session-Expires header. More...
 
struct  sip_min_se_s
 Structure for Min-SE header. More...
 
struct  sip_subscription_state_s
 Structure for Subscription-State header. More...
 
struct  sip_timestamp_s
 Structure for Timestamp header. More...
 
struct  sip_via_s
 Structure for Via header field. More...
 
struct  sip_security_agree_s
 Structure for Security-Client, Security-Server, and Security-Verify headers. More...
 
struct  sip_privacy_s
 Structure for Privacy header. More...
 

Macros

#define SIP_H
 Defined when <sofia-sip/sip.h> has been included.
 
#define SIP_NONE
 Magic pointer value - never valid for SIP headers.
 
#define SIP_PROTOCOL_TAG
 SIP protocol identifier.
 
#define SIP_DEFAULT_SERV
 Default port for SIP as string.
 
#define SIP_TIME_MAX
 Latest time that can be expressed with sip_time_t.
 

Typedefs

typedef msg_time_t sip_time_t
 Time in seconds since Jan 01 1900.
 
typedef struct sip_s sip_t
 Structure for accessing parsed SIP headers.
 
typedef union sip_header_u sip_header_t
 Any SIP header - union of all possible SIP headers.
 
typedef struct msg_generic_s sip_generic_t
 Type of a generic SIP header.
 
typedef msg_common_t sip_common_t
 Common part of all the header structures.
 
typedef msg_param_t sip_param_t
 SIP parameter string.
 
typedef struct sip_addr_s sip_addr_t
 To or From header.
 
typedef msg_auth_t sip_auth_t
 Authorization, Proxy-Authenticate, WWW-Authenticate
 

Enumerations

enum  sip_method_t {
  sip_method_invalid ,
  sip_method_unknown ,
  sip_method_invite ,
  sip_method_ack ,
  sip_method_cancel ,
  sip_method_bye ,
  sip_method_options ,
  sip_method_register ,
  sip_method_info ,
  sip_method_prack ,
  sip_method_update ,
  sip_method_message ,
  sip_method_subscribe ,
  sip_method_notify ,
  sip_method_refer ,
  sip_method_publish
}
 IDs for well-known SIP methods. More...
 
enum  {
  SIP_DEFAULT_PORT ,
  SIP_DEFAULT_PORT ,
  SIPS_DEFAULT_PORT
}
 

Detailed Description

SIP objects.

Author
Pekka Pessi Pekka.nosp@m..Pes.nosp@m.si@no.nosp@m.kia..nosp@m.com.
Date
Created : Thu Jun 8 19:28:55 2000 ppessi

Typedef Documentation

◆ sip_time_t

Time in seconds since Jan 01 1900.


Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SIP_DEFAULT_PORT 

Default port for SIP as integer.

SIP_DEFAULT_PORT 

Default port for SIP as integer.

SIPS_DEFAULT_PORT 

Default port for SIPS as integer.

◆ sip_method_t

IDs for well-known SIP methods.

Enumerator
sip_method_invalid 

Invalid method name.

sip_method_unknown 

Unknown method, use method_name.

sip_method_invite 

INVITE.

sip_method_ack 

ACK.

sip_method_cancel 

CANCEL.

sip_method_bye 

BYE.

sip_method_options 

OPTIONS.

sip_method_register 

REGISTER.

sip_method_info 

INFO.

sip_method_prack 

PRACK.

sip_method_update 

UPDATE.

sip_method_message 

MESSAGE.

sip_method_subscribe 

SUBSCRIBE.

sip_method_notify 

NOTIFY.

sip_method_refer 

REFER.

sip_method_publish 

PUBLISH.


Sofia-SIP 1.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.