![]() |
ARX
1.0
The next-generation open source augmented reality toolkit.
|
#include <ARX/ARUtil/file_utils.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <unistd.h>
#include <sys/param.h>
#include <utime.h>
#include <ftw.h>
#include <termios.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <errno.h>
#include <time.h>
#include "unzip.h"
#include "zip.h"
Macros | |
#define | FOPEN_FUNC(filename, mode) fopen(filename, mode) |
#define | FTELLO_FUNC(stream) ftello(stream) |
#define | FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin) |
#define | WRITEBUFFERSIZE (8192) |
#define | NOCRYPT |
#define | BUFSIZE 16384 |
#define | BUFSIZE 16384 |
#define | datevalue_in_range(min, max, value) ((min) <= (value) && (value) <= (max)) |
Functions | |
int | test_f (const char *file, const char *dir) |
int | test_d (const char *dir) |
int | cp_f (const char *source_file, const char *target_file) |
int | rn_f (const char *source_file, const char *target_file) |
int | mkdir_p (const char *path) |
int | rm_rf (const char *path) |
int | unzip_od (const char *zipFilePathname, const char *dir) |
int | zip_od (char *zipFilePathname, const char *baseFilePath, const char **fileNames, int totalFiles) |
int64_t | get_file_size (const char *pathName) |
char * | cat (const char *file, size_t *bufSize_p) |
char | read_sn1 (void) |
int | export_ (const char *name, const char *val) |
#define BUFSIZE 16384 |
#define BUFSIZE 16384 |
#define datevalue_in_range | ( | min, | |
max, | |||
value | |||
) | ((min) <= (value) && (value) <= (max)) |
#define FOPEN_FUNC | ( | filename, | |
mode | |||
) | fopen(filename, mode) |
#define FSEEKO_FUNC | ( | stream, | |
offset, | |||
origin | |||
) | fseeko(stream, offset, origin) |
#define FTELLO_FUNC | ( | stream | ) | ftello(stream) |
#define NOCRYPT |
#define WRITEBUFFERSIZE (8192) |
char * cat | ( | const char * | file, |
size_t * | bufSize_p | ||
) |
int cp_f | ( | const char * | source_file, |
const char * | target_file | ||
) |
int export_ | ( | const char * | name, |
const char * | val | ||
) |
int64_t get_file_size | ( | const char * | pathName | ) |
int mkdir_p | ( | const char * | path | ) |
char read_sn1 | ( | void | ) |
int rm_rf | ( | const char * | path | ) |
int rn_f | ( | const char * | source_file, |
const char * | target_file | ||
) |
int test_d | ( | const char * | dir | ) |
int test_f | ( | const char * | file, |
const char * | dir | ||
) |
int unzip_od | ( | const char * | zipFilePathname, |
const char * | dir | ||
) |
int zip_od | ( | char * | zipFilePathname, |
const char * | baseFilePath, | ||
const char ** | fileNames, | ||
int | totalFiles | ||
) |