HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
420 HP-UX C SIP Stack Programmer’s Guide
Sample Applications
Table 20-2 lists the C SIP stack libraries with TLS support.
LIBRARIES ON THE PA-
RISC PLATFORM
The libraries on the PA-RISC platform are available with TLS support and
without TLS support for both 32-bit and 64-bit applications. Table 20-3 lists the
C SIP stack libraries without TLS support.
Table 20-4 lists the C SIP stack libraries with TLS support.
HEADER FILES The header files required for a SIP application is located in the /usr/include/sip/
directory. You must include this directory while compiling the application.
SAMPLE
A
PPLICATIONS
This section discusses the procedure to compile and link sample applications
with TLS and without TLS support for different platforms and architectures.
EXAMPLE 1 Follow this procedure to compile and link a 64-bit application
simpleSession.c without TLS support on a 64-bit IA platform:
1. Set the RV_TLS_TYPE macro in the /usr/include/sip/
common/rvusrconfig.h
file to RV_TLS_NONE, as follows:
Table 20-2 IA Libraries With TLS Support
Type of Library Location
32-bit /usr/lib/hpux32/sip/TLS/
64-bit /usr/lib/hpux64/sip/TLS/
Table 20-3 PA Libraries Without TLS Support
Type of Library Location
32-bit /usr/lib/sip/
64-bit /usr/lib/pa20_64/sip/
Table 20-4 PA Libraries With TLS Support
Type of Library Location
32-bit /usr/lib/sip/TLS/
64-bit /usr/lib/pa20_64/sip/TLS