static_struct.h
author Tero Marttila <terom@fixme.fi>
Thu, 28 Aug 2008 00:29:39 +0300
changeset 43 e5b714190dee
parent 27 1e79b4cc8f1b
permissions -rw-r--r--
the request/reply code should be complete now, but still needs testing
#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 */