include/shared.h File Reference

#include <time.h>

Go to the source code of this file.

Data Structures

struct  mmapfile_struct

Defines

#define ARRAY_SIZE(ary)   (sizeof(ary) / sizeof(ary[0]))

Typedefs

typedef mmapfile_struct mmapfile

Functions

char * my_strtok (char *buffer, char *tokens)
char * my_strsep (char **stringp, const char *delim)
mmapfilemmap_fopen (char *filename)
int mmap_fclose (mmapfile *temp_mmapfile)
char * mmap_fgets (mmapfile *temp_mmapfile)
char * mmap_fgets_multiline (mmapfile *temp_mmapfile)
void strip (char *buffer)
int hashfunc (const char *name1, const char *name2, int hashslots)
int compare_hashdata (const char *val1a, const char *val1b, const char *val2a, const char *val2b)
void get_datetime_string (time_t *raw_time, char *buffer, int buffer_length, int type)
void get_time_breakdown (unsigned long raw_time, int *days, int *hours, int *minutes, int *seconds)


Define Documentation

#define ARRAY_SIZE ( ary   )     (sizeof(ary) / sizeof(ary[0]))


Typedef Documentation

typedef struct mmapfile_struct mmapfile


Function Documentation

int compare_hashdata ( const char *  val1a,
const char *  val1b,
const char *  val2a,
const char *  val2b 
)

void get_datetime_string ( time_t *  raw_time,
char *  buffer,
int  buffer_length,
int  type 
)

void get_time_breakdown ( unsigned long  raw_time,
int *  days,
int *  hours,
int *  minutes,
int *  seconds 
)

int hashfunc ( const char *  name1,
const char *  name2,
int  hashslots 
)

int mmap_fclose ( mmapfile temp_mmapfile  ) 

char* mmap_fgets ( mmapfile temp_mmapfile  ) 

char* mmap_fgets_multiline ( mmapfile temp_mmapfile  ) 

mmapfile* mmap_fopen ( char *  filename  ) 

char* my_strsep ( char **  stringp,
const char *  delim 
)

char* my_strtok ( char *  buffer,
char *  tokens 
)

void strip ( char *  buffer  ) 


Generated on Wed Mar 30 17:22:23 2011 for icinga-core by  doxygen 1.4.7