#include "giftconfig.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include <sys/types.h>
#include <stdint.h>
#include <inttypes.h>
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
#include "platform.h"
#include "memory.h"
#include "strobj.h"
#include "parse.h"
#include "dataset.h"
#include "list.h"
#include "list_lock.h"
#include "tree.h"
#include "array.h"
#include "event.h"
#include "network.h"
#include "tcpc.h"
#include "interface.h"
#include "conf.h"
#include "log.h"
Go to the source code of this file.
Defines | |
| #define | MIN(x, y) (((x)<(y))?(x):(y)) |
| #define | MAX(x, y) (((x)>(y))?(x):(y)) |
| #define | CLAMP(value, min, max) (((value)<(min))?(min):(((value)>(max))?(max):(value))) |
| #define | INTCMP(x, y) (((x)>(y))?1:(((x)<(y))?-1:0)) |
| #define | BOOL_EXPR(expr) ((expr)?(TRUE):(FALSE)) |
Functions | |
| EXTERN_C_BEGIN LIBGIFT_EXPORT int | libgift_init (const char *prog, LogOptions opt, const char *logfile) |
| LIBGIFT_EXPORT int | libgift_finish (void) |
|
|
Uninitialize any applicable data. This is merely used for a graceful exit and not strictly required. At any rate, use it anyway :) |
|
||||||||||||||||
|
Initialize all libgiFT subsystems. This should be a safe operation no matter how much you decide to use libgiFT functionality.
|
1.3.7