summaryrefslogtreecommitdiffstats
path: root/common/parse.h
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2014-03-04 14:11:02 -0800
committerjsorg71 <jay.sorg@gmail.com>2014-03-04 14:11:02 -0800
commit1ce75182afdf8a0fc5a44691dbada0fdc138d867 (patch)
tree5c6a169ac9707311c4a10e98215901846566a93f /common/parse.h
parent60dbacc9ffd3b2a9f1f523ecb6426042764233ee (diff)
parent866fde498efe893144b0b596999f18af90a743c3 (diff)
downloadxrdp-proprietary-1ce75182afdf8a0fc5a44691dbada0fdc138d867.tar.gz
xrdp-proprietary-1ce75182afdf8a0fc5a44691dbada0fdc138d867.zip
Merge pull request #111 from speidy/fastpath
libxrdp: Fastpath input
Diffstat (limited to 'common/parse.h')
-rw-r--r--common/parse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/parse.h b/common/parse.h
index 2829b70a..34170a41 100644
--- a/common/parse.h
+++ b/common/parse.h
@@ -116,7 +116,8 @@ struct stream
(v) = *((unsigned char*)((s)->p)); \
(s)->p++; \
} while (0)
-
+/******************************************************************************/
+#define in_uint8_peek(s, v) do { v = *s->p; } while (0)
/******************************************************************************/
#if defined(B_ENDIAN) || defined(NEED_ALIGN)
#define in_sint16_le(s, v) do \