JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
SIPAPI Developer's Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  SIP Overview

2.  Oracle Solaris SIP Internals

3.  Multithreading and URI Support

4.  SIP API Functions

A.  Examples of Use

B.  Programming with the SIP API

Initializing the SIP Stack

Upper Layer Registrations

Connection Manager Interfaces

Custom SIP Headers

C.  Transaction Timers

Index

Initializing the SIP Stack

The SIP stack must be initialized before performing any other functions. This section discusses the initialization parameters in some detail. The initialization structure is given by the following structure:

typedef struct sip_stack_init_s {
            int                     sip_version;
            uint32_t                sip_stack_flags;
            sip_io_pointers_t       *sip_io_pointers;
            sip_ulp_pointers_t      *sip_ulp_pointers;
            sip_header_function_t   *sip_function_table;
    }sip_stack_init_t;
sip_version

This variable must be set to SIP_STACK_VERSION

sip_stack_flags

If the application wants the SIP stack to maintain dialogs, this flag must be set to SIP_STACK_DIALOGS, otherwise this must be set to 0. If SIP_STACK_DIALOGS is not set, the stack does not deal with dialogs at all.