1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
5
Copyright (c) 2001-2007 Octasic Inc.
9
Common system definitions.
11
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
12
free software; you can redistribute it and/or modify it under the terms of
13
the GNU General Public License as published by the Free Software Foundation;
14
either version 2 of the License, or (at your option) any later version.
16
The OCT6100 GPL API is distributed in the hope that it will be useful, but
17
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
You should have received a copy of the GNU General Public License
22
along with the OCT6100 GPL API; if not, write to the Free Software
23
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
25
$Octasic_Release: OCT612xAPI-01.00-PR49 $
27
$Octasic_Revision: 12 $
29
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
34
/*--------------------------------------------------------------------------
36
----------------------------------------------------------------------------*/
42
/***************************** INCLUDE FILES *******************************/
44
/*--------------------------------------------------------------------------
45
Get Platform Dependency headers
46
----------------------------------------------------------------------------*/
47
#include "octosdependant.h"
50
/*--------------------------------------------------------------------------
51
Common Type definitions
52
----------------------------------------------------------------------------*/
55
/***************************** DEFINES *************************************/
57
/* List of functions to skip compiling since we don't use them */
58
#include "digium_unused.h"
62
/*--------------------------------------------------------------------------
63
Miscellaneous constants
64
----------------------------------------------------------------------------*/
70
/* Generic return codes. */
71
#define cOCTDEF_RC_OK 0 /* Generic Ok */
72
#define cOCTDEF_RC_ERROR 1 /* Generic Error */
74
/* Default return values of all OCTAPI functions. */
76
#define GENERIC_OK 0x00000000
80
#define GENERIC_ERROR 0x00000001
83
#ifndef GENERIC_BAD_PARAM
84
#define GENERIC_BAD_PARAM 0x00000002
87
/* Defines of boolean expressions (TRUE/FALSE) */
96
/*--------------------------------------------------------------------------
98
----------------------------------------------------------------------------*/
101
#define DLLIMP __declspec( dllimport )
102
#define DLLEXP __declspec( dllexport )
108
/*--------------------------------------------------------------------------
110
----------------------------------------------------------------------------*/
116
#endif /* __OCTDEF_H__ */