#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <sstream>
#include "AppHdr.h"
#include "package.h"
#include "endianness.h"
#include "errors.h"
#include "syscalls.h"
Classes | |
struct | file_header |
struct | block_header |
struct | dir_entry0 |
Defines | |
#define | DO_FSYNC |
#define | dprintf(...) do {} while(0) |
#define | PACKAGE_VERSION 1 |
#define | PACKAGE_MAGIC 0x53534344 |
#define | ZB_SIZE 32768 |
#define | SPACE 1024 |
Typedefs | |
typedef std::map< std::string, len_t > | directory_t |
typedef std::pair< len_t, len_t > | bm_p |
typedef std::map< len_t, bm_p > | bm_t |
typedef std::map< len_t, len_t > | fb_t |
#define DO_FSYNC |
#define dprintf | ( | ... | ) | do {} while(0) |
#define PACKAGE_MAGIC 0x53534344 |
#define PACKAGE_VERSION 1 |
#define SPACE 1024 |
#define ZB_SIZE 32768 |
typedef std::map<std::string, len_t> directory_t |