- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

# Messages/header.h

Go to the documentation of this file.

    00001
    00011 #ifndef HEADER_H
    00012 #define HEADER_H
    00013
    00017 struct header
    00018 {
    00020     unsigned int sequence;
    00021
    00023     unsigned char version;
    00024
    00028     unsigned char flags;
    00029
    00033     unsigned char mac[8];
    00034 };
    00035
    00036 void printHeader(struct header h);
    00037 void serializeHeader(struct header, unsigned char* destination);
    00038 unsigned int getSizeOfHeader(struct header h);
    00039 struct header mockHeader();
    00040 struct header deserializeHeader( unsigned char* sourcePtr);
    00041
    00042 #endif

All Data Structures Files Functions Variables Defines