static_struct.h
author Tero Marttila <terom@fixme.fi>
Wed, 27 Aug 2008 21:30:32 +0300
changeset 41 540737bf6bac
parent 27 1e79b4cc8f1b
permissions -rw-r--r--
sending requests, and partial support for receiving -- incomplete, not tested
#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 */