static_struct.h
author Tero Marttila <terom@fixme.fi>
Thu, 28 Aug 2008 03:14:07 +0300
changeset 47 a5c09677ca6f
parent 27 1e79b4cc8f1b
permissions -rw-r--r--
add the coro_test.c file, and update .hgignore a bit
#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 */