common/shared.c File Reference

#include "../include/config.h"
#include "../include/common.h"

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)

Variables

int date_format

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  ) 


Variable Documentation

int date_format


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