libsangoma  1
Classes | Macros
sangoma_interface.h File Reference

Used with Sample.cpp Code. More...

#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include "wanpipe_api.h"
#include "sangoma_cthread.h"
#include "sample.h"
#include "libsangoma.h"
#include "libstelephony.h"
Include dependency graph for sangoma_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sangoma_interface
 Sangoma Interface Class that deals with span/chan IO (read/write/events) More...
 
class  sangoma_api_ctrl_dev
 
class  sangoma_api_logger_dev
 

Macros

#define USE_STELEPHONY_API
 
#define SANGOMA_INTERFACE_NUMBER_OF_WAIT_OBJECTS   1
 
#define SANGOMA_TX_WAIT_OBJECT   0
 
#define SANGOMA_RX_AND_EVENT_WAIT_OBJECT   0
 

Detailed Description

Used with Sample.cpp Code.

Provides a C++ class that deals with channel IO (read/write/events)

Author(s): David Rokhvarg Nenad Corbic

Copyright: (c) 2005-2009 Sangoma Technologies

THIS SOFTWARE IS PROVIDED BY Sangoma Technologies ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Sangoma Technologies BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT

(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

Definition in file sangoma_interface.h.

Macro Definition Documentation

#define USE_STELEPHONY_API
Value:
1 /* set to zero if don't need to compile
function calls to libstelephony.dll */

Definition at line 80 of file sangoma_interface.h.