Objective Systems, Inc.  

ooCommon.h File Reference

Common runtime constant and type definitions. More...

#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>

Go to the source code of this file.

Data Structures

struct  _OOMsgBuf
struct  OOEnumItem

Defines

#define OOUINT32_MAX   4294967295U
#define OOINT32_MAX   ((OOINT32)2147483647L)
#define OOINT32_MIN   ((OOINT32)(-OOINT32_MAX-1))
#define FALSE   0
#define TRUE   1
#define OOERRINVPARAM   (-50)
#define OOERRBUFOVFLW   (-51)
#define OOERRNOMEM   (-52)
#define OOMEMALLOC   malloc
#define OOMEMFREE   free
#define OOMAX(a, b)   (((a)>(b))?(a):(b))
#define OOMIN(a, b)   (((a)<(b))?(a):(b))
#define OONUMBEROF(items)   (sizeof(items)/sizeof(items[0]))
#define EXTERN

Typedefs

typedef char OOCHAR
typedef unsigned char OOUCHAR
typedef signed char OOINT8
typedef unsigned char OOUINT8
typedef short OOINT16
typedef unsigned short OOUINT16
typedef int OOINT32
typedef unsigned int OOUINT32
typedef OOUINT8 OOBOOL
typedef _OOMsgBuf OOMsgBuf

Functions

EXTERN OOINT32 lookupEnum (const char *strValue, size_t strValueSize, const OOEnumItem enumTable[], OOUINT16 enumTableSize)


Detailed Description

Common runtime constant and type definitions.

Definition in file ooCommon.h.


This file was last modified on 28 May 2010.
Objective Open H.323 Stack, 0.9.1