Asterisk - The Open Source Telephony Project  18.5.0
Macros | Typedefs | Functions
include/solaris-compat/compat.h File Reference
#include <alloca.h>
#include <strings.h>
#include <string.h>
#include <pthread.h>
#include <sys/stat.h>
#include <signal.h>
#include <netinet/in.h>
Include dependency graph for include/solaris-compat/compat.h:

Go to the source code of this file.

Macros

#define __BEGIN_DECLS
 
#define __BIG_ENDIAN   BIG_ENDIAN
 
#define __BIT_TYPES_DEFINED__
 
#define __BYTE_ORDER   BYTE_ORDER
 
#define __END_DECLS
 
#define __LITTLE_ENDIAN   LITTLE_ENDIAN
 
#define __P(p)   p
 
#define BIG_ENDIAN   4321
 
#define BYTE_ORDER   LITTLE_ENDIAN
 
#define LITTLE_ENDIAN   1234
 

Typedefs

typedef unsigned short u_int16_t
 
typedef unsigned int u_int32_t
 
typedef unsigned char u_int8_t
 

Functions

int setenv (const char *name, const char *value, int overwrite)
 
char * strsep (char **str, const char *delims)
 
int unsetenv (const char *name)
 

Macro Definition Documentation

◆ __BEGIN_DECLS

#define __BEGIN_DECLS

Definition at line 4 of file include/solaris-compat/compat.h.

◆ __BIG_ENDIAN

#define __BIG_ENDIAN   BIG_ENDIAN

Definition at line 32 of file include/solaris-compat/compat.h.

◆ __BIT_TYPES_DEFINED__

#define __BIT_TYPES_DEFINED__

Definition at line 37 of file include/solaris-compat/compat.h.

◆ __BYTE_ORDER

#define __BYTE_ORDER   BYTE_ORDER

Definition at line 33 of file include/solaris-compat/compat.h.

Referenced by ogg_vorbis_read().

◆ __END_DECLS

#define __END_DECLS

Definition at line 5 of file include/solaris-compat/compat.h.

◆ __LITTLE_ENDIAN

#define __LITTLE_ENDIAN   LITTLE_ENDIAN

Definition at line 31 of file include/solaris-compat/compat.h.

◆ __P

#define __P (   p)    p

Definition at line 8 of file include/solaris-compat/compat.h.

◆ BIG_ENDIAN

#define BIG_ENDIAN   4321

Definition at line 21 of file include/solaris-compat/compat.h.

Referenced by __bt_open(), byteorder(), and init_hash().

◆ BYTE_ORDER

#define BYTE_ORDER   LITTLE_ENDIAN

Definition at line 26 of file include/solaris-compat/compat.h.

Referenced by __get_page(), __put_page(), and init_hash().

◆ LITTLE_ENDIAN

#define LITTLE_ENDIAN   1234

Definition at line 20 of file include/solaris-compat/compat.h.

Referenced by __bt_open(), byteorder(), and init_hash().

Typedef Documentation

◆ u_int16_t

typedef unsigned short u_int16_t

Definition at line 39 of file include/solaris-compat/compat.h.

◆ u_int32_t

typedef unsigned int u_int32_t

Definition at line 40 of file include/solaris-compat/compat.h.

◆ u_int8_t

typedef unsigned char u_int8_t

Definition at line 38 of file include/solaris-compat/compat.h.

Function Documentation

◆ setenv()

int setenv ( const char *  name,
const char *  value,
int  overwrite 
)

◆ strsep()

char* strsep ( char **  str,
const char *  delims 
)

◆ unsetenv()

int unsetenv ( const char *  name)