libtasks Documentation  1.6
uwsgi_structs.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013-2014 ADTECH GmbH
3  * Licensed under MIT (https://github.com/adtechlabs/libtasks/blob/master/COPYING)
4  *
5  * Author: Andreas Pohl
6  */
7 
8 #ifndef _UWSGI_STRUCTS_H_
9 #define _UWSGI_STRUCTS_H_
10 
11 namespace tasks {
12 namespace net {
13 
14 enum uwsgi_packet_type : uint8_t { UWSGI_VARS = 0 };
15 
16 struct __attribute__((__packed__)) uwsgi_packet_header {
17  uint8_t modifier1;
18  uint16_t datasize;
19  uint8_t modifier2;
20 };
21 
22 } // net
23 } // tasks
24 
25 #endif // _UWSGI_STRUCTS_H_
struct __attribute__((__packed__)) uwsgi_packet_header
Definition: uwsgi_structs.h:16