32 lines
No EOL
516 B
C
32 lines
No EOL
516 B
C
#ifndef OBJECT_H
|
|
#define OBJECT_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <errno.h>
|
|
#include <dirent.h>
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
#include <zlib.h>
|
|
|
|
#ifdef _WIN32
|
|
#include <windows.h>
|
|
#ifndef PATH_MAX
|
|
#define PATH_MAX MAX_PATH
|
|
#endif
|
|
#else
|
|
#include <limits.h>
|
|
#ifndef PATH_MAX
|
|
#define PATH_MAX 4096
|
|
#endif
|
|
#endif
|
|
|
|
#include "hash.h"
|
|
#include "file.h"
|
|
#include "tree.h"
|
|
#include "utilities.h"
|
|
|
|
char* get_object(char*, size_t*);
|
|
void* parse_object(char*, ObjectType, size_t*);
|
|
|
|
#endif // OBJECT_H
|