static_struct.h
author Tero Marttila <terom@fixme.fi>
Mon, 07 Jul 2008 22:31:07 +0300
changeset 29 605f4459a294
parent 27 1e79b4cc8f1b
permissions -rw-r--r--
add some comments, prune some code, fix some (of the) bugs

committer: Tero Marttila <terom@fixme.fi>
#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 */