litestomp
stomp_frame.h
Go to the documentation of this file.
1 
21 #ifndef STOMP_FRAME_H
22 #define STOMP_FRAME_H
23 
24 #if defined(__DEBIAN_DISTRO__) || defined(__UBUNTU_DISTRO__)
25 #include <apr-1.0/apr_general.h>
26 #include <apr-1.0/apr_time.h>
27 #else
28 #include <apr-1/apr_general.h>
29 #include <apr-1/apr_hash.h>
30 #endif // defined(__DEBIAN_DISTRO__) || defined(__UBUNTU_DISTRO__)
31 
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
41 typedef struct stomp_frame
42 {
43  char *command;
44  apr_hash_t *headers;
45  char *body;
46  apr_size_t body_length;
47 } stomp_frame;
48 
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* STOMP_FRAME_H */
55 
Definition: stomp_frame.h:41
apr_size_t body_length
Definition: stomp_frame.h:46
char * command
Definition: stomp_frame.h:43
struct stomp_frame stomp_frame
apr_hash_t * headers
Definition: stomp_frame.h:44
char * body
Definition: stomp_frame.h:45