pacemaker  1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
portability.h File Reference
#include <dirent.h>
#include <glib.h>
#include <string.h>
#include <errno.h>
Include dependency graph for portability.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fake_ghi
 

Macros

#define EOS   '\0'
 
#define DIMOF(a)   ((int) (sizeof(a)/sizeof(a[0])) )
 
#define _GNU_SOURCE
 
#define ENOTUNIQ   190
 
#define ECOMM   191
 
#define ELIBACC   192
 
#define EREMOTEIO   193
 
#define EUNATCH   194
 
#define ENOKEY   195
 
#define ENODATA   196
 
#define ETIME   197
 
#define ENOSR   198
 
#define ENOSTR   199
 
#define EKEYREJECTED   200
 

Typedefs

typedef struct fake_ghi GHashTableIter
 

Functions

int daemon (int nochdir, int noclose)
 
int setenv (const char *name, const char *value, int why)
 
char * strerror (int errnum)
 
char * strchrnul (const char *s, int c_in)
 
int alphasort (const void *dirent1, const void *dirent2)
 
size_t strnlen (const char *s, size_t maxlen)
 
char * strndup (const char *str, size_t len)
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 30 of file portability.h.

#define DIMOF (   a)    ((int) (sizeof(a)/sizeof(a[0])) )

Definition at line 25 of file portability.h.

#define ECOMM   191

Definition at line 233 of file portability.h.

#define EKEYREJECTED   200

Definition at line 269 of file portability.h.

#define ELIBACC   192

Definition at line 237 of file portability.h.

#define ENODATA   196

Definition at line 253 of file portability.h.

#define ENOKEY   195

Definition at line 249 of file portability.h.

#define ENOSR   198

Definition at line 261 of file portability.h.

#define ENOSTR   199

Definition at line 265 of file portability.h.

#define ENOTUNIQ   190

Definition at line 229 of file portability.h.

#define EOS   '\0'

Definition at line 24 of file portability.h.

#define EREMOTEIO   193

Definition at line 241 of file portability.h.

#define ETIME   197

Definition at line 257 of file portability.h.

#define EUNATCH   194

Definition at line 245 of file portability.h.

Typedef Documentation

typedef struct fake_ghi GHashTableIter

Function Documentation

int alphasort ( const void *  dirent1,
const void *  dirent2 
)
int daemon ( int  nochdir,
int  noclose 
)
int setenv ( const char *  name,
const char *  value,
int  why 
)
char* strchrnul ( const char *  s,
int  c_in 
)
char* strerror ( int  errnum)
char* strndup ( const char *  str,
size_t  len 
)
size_t strnlen ( const char *  s,
size_t  maxlen 
)