Conferencing API Programming Guide — August 2006 29
8
8.Building Applications
This chapter provides information on building applications using the conferencing API library. The
following topics are discussed:
•Compiling and Linking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
•Variables for Compiling and Linking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.1 Compiling and LinkingThe following topics discuss compiling and linking requirements:
•Include Files
•Required Libraries
8.1.1 Include Files
Function prototypes and symbolic defines are determined in include files, also known as header
files. Applications that use conferencing library functions must contain statements for include files
in this form, where <filename> represents the include file name:
#include <filename.h>
The following header files must be included in the application code in the order shown prior to
calling the conferencing library functions:
srllib.h
Contains function prototypes and equates for the Standard Runtime Library.
Note: srllib.h must be included in code before all other Intel® Dialogic® header files.
cnflib.h
The primary header file for the conferencing library. Contains function prototypes and
symbolic defines.
cnferrs.h
Contains equates for conferencing error codes.
cnfevts.h
Contains equates for conferencing event codes.
devmgmt.h
Contains function prototypes and symbolic defines for the device management library.