#include "giftconfig.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <assert.h>
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>
#include <unistd.h>
#include "gi_time.h"
#include "gi_event.h"
#include "gi_string.h"
#include "gi_strobj.h"
#include "gi_fileutil.h"
#include "gi_path.h"
#include "gi_memory.h"
#include "gi_list.h"
#include "gi_sockapi.h"
#include "gi_tcp.h"
#include "gi_log.h"
#include "platform.h"
#include "gi_dataset.h"
#include "array.h"
#include "conf.h"
Go to the source code of this file.
Defines | |
| #define | LIBGIFT_DEBUG 1 |
| #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 bool | libgift_init (const char *prog, int logopt, const char *logfile) |
| LIBGIFT_EXPORT void | libgift_finish (void) |
|
|
Uninitialize any applicable data. This is merely used for a graceful exit and not strictly required. 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