static_struct.h
author Tero Marttila <terom@fixme.fi>
Thu, 28 Aug 2008 03:12:11 +0300
changeset 46 8a832c0e01ee
parent 27 1e79b4cc8f1b
permissions -rw-r--r--
bugfixed, enum->string mappings, test does requests
#ifndef STATIC_STRUCT_H
#define STATIC_STRUCT_H

struct static_file {
    // the file descriptor
    int fh;

    // the size of the file in bytes
    off_t size;

    // the mmap address
    void *mmap_addr;
};

#endif /* STATIC_STRUCT_H */