#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 struct mmapfile_struct | mmapfile |
Functions |
char * | my_strtok (char *buffer, char *tokens) |
char * | my_strsep (char **stringp, const char *delim) |
mmapfile * | mmap_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
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 | ) |
|
char* my_strsep |
( |
char ** |
stringp, |
|
|
const char * |
delim |
|
) |
| |
char* my_strtok |
( |
char * |
buffer, |
|
|
char * |
tokens |
|
) |
| |
void strip |
( |
char * |
buffer | ) |
|