#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <time.h>
#include <sys/statvfs.h>
#include "version.h"
#include "config.h"
#include "core_mem.h"
#include "core_message.h"
Go to the source code of this file.
|
|
#define | STASIS_BANNER_HEADER "------------------------------------------------------------------------" |
| |
|
#define | STASIS_BUFSIZ 8192 |
| |
|
#define | STASIS_NAME_MAX 255 |
| |
|
#define | STASIS_DIRSTACK_MAX 1024 |
| |
|
#define | STASIS_TIME_STR_MAX 128 |
| |
| #define | HTTP_ERROR(X) |
| |
| #define | COE_CHECK_ABORT(COND, MSG) |
| |
|
|
struct STASIS_GLOBAL | globals |
| |
|
const char * | VERSION |
| |
|
const char * | AUTHOR |
| |
|
const char * | BANNER |
| |
◆ COE_CHECK_ABORT
| #define COE_CHECK_ABORT |
( |
| COND, |
|
|
| MSG ) |
Value: do {\
if (!globals.continue_on_error && (COND)) { \
msg(
STASIS_MSG_ERROR, MSG
": Aborting execution (--continue-on-error/-C is not enabled)\n"); \
exit(1); \
} \
} while (0)
#define STASIS_MSG_ERROR
The message is an error.
Definition utils.h:230
◆ HTTP_ERROR
◆ globals_free()
Free memory allocated in global configuration structure