From 113f2696fe4103474cb2703e3d2f8848304fdd3d Mon Sep 17 00:00:00 2001 From: speidy Date: Sat, 8 Feb 2014 13:34:01 +0200 Subject: libxrdp: work on fastpath --- common/parse.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/parse.h') diff --git a/common/parse.h b/common/parse.h index 69a57ff8..97911abb 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 \ -- cgit v1.2.1