![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/stat.h>
#include <zstd.h>
Go to the source code of this file.
Macros | |
#define | CHECK(cond, ...) |
#define | CHECK_ZSTD(fn) |
Enumerations | |
enum | COMMON_ErrorCode { ERROR_fsize = 1 , ERROR_fopen = 2 , ERROR_fclose = 3 , ERROR_fread = 4 , ERROR_fwrite = 5 , ERROR_loadFile = 6 , ERROR_saveFile = 7 , ERROR_malloc = 8 , ERROR_largeFile = 9 } |
#define CHECK | ( | cond, | |
... ) |
CHECK Check that the condition holds. If it doesn't print a message and die.
#define CHECK_ZSTD | ( | fn | ) |
CHECK_ZSTD Check the zstd error code and die if an error occurred after printing a message.
enum COMMON_ErrorCode |