sipxportlib  Version 3.3
Macros | Functions | Variables
OsDefs.h File Reference
#include <os/OsIntTypes.h>
#include "stdlib.h"
#include "string.h"
#include "stdio.h"
#include "time.h"
Include dependency graph for OsDefs.h:

Go to the source code of this file.

Macros

#define IS_INET_RETURN_OK(x)   (x > 0)
 
#define va_copy(dst, src)   ((dst) = (src))
 
#define sipx_max(x, y)   (((x)>(y))?(x):(y))
 
#define sipx_min(x, y)   (((x)<(y))?(x):(y))
 
#define SysLowerMemoryLimit   (pspGetLocalMemLocalAddr())
 
#define SysUpperMemoryLimit   (pspGetLocalMemLocalAddr() + pspGetLocalMemSize() - 4)
 
#define PORT_NONE   (-1)
 
#define PORT_DEFAULT   (-2)
 
#define portIsValid(p)   ((p) >= 1 && (p) <= 65535)
 
#define SIPX_UNUSED(VAR)   if(0){(void) VAR;}
 

Functions

unsigned int pspGetLocalMemLocalAddr (void)
 
unsigned int pspGetLocalMemSize (void)
 
void enableConsoleOutput (int bEnable)
 
void osPrintf (const char *format,...)
 

Variables

int hSipLogId
 

Macro Definition Documentation

#define IS_INET_RETURN_OK (   x)    (x > 0)
#define va_copy (   dst,
  src 
)    ((dst) = (src))
#define sipx_max (   x,
 
)    (((x)>(y))?(x):(y))
#define sipx_min (   x,
 
)    (((x)<(y))?(x):(y))
#define SysLowerMemoryLimit   (pspGetLocalMemLocalAddr())
#define SysUpperMemoryLimit   (pspGetLocalMemLocalAddr() + pspGetLocalMemSize() - 4)
#define PORT_NONE   (-1)
#define PORT_DEFAULT   (-2)
#define portIsValid (   p)    ((p) >= 1 && (p) <= 65535)
#define SIPX_UNUSED (   VAR)    if(0){(void) VAR;}

Function Documentation

unsigned int pspGetLocalMemLocalAddr ( void  )
unsigned int pspGetLocalMemSize ( void  )
void enableConsoleOutput ( int  bEnable)
void osPrintf ( const char *  format,
  ... 
)

Variable Documentation

int hSipLogId