1 |
/* |
/* |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Parsing primitives |
Parsing primitives |
4 |
Copyright (C) Matthew Chapman 1999-2000 |
Copyright (C) Matthew Chapman 1999-2002 |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
32 |
unsigned char *sec_hdr; |
unsigned char *sec_hdr; |
33 |
unsigned char *rdp_hdr; |
unsigned char *rdp_hdr; |
34 |
|
|
35 |
} *STREAM; |
} |
36 |
|
*STREAM; |
37 |
|
|
38 |
#define s_push_layer(s,h,n) { (s)->h = (s)->p; (s)->p += n; } |
#define s_push_layer(s,h,n) { (s)->h = (s)->p; (s)->p += n; } |
39 |
#define s_pop_layer(s,h) (s)->p = (s)->h; |
#define s_pop_layer(s,h) (s)->p = (s)->h; |