From fbd127113629a1eed72d32ffb84572b0d40d8154 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 8 May 2014 03:58:00 +0200 Subject: use the data structure marshallers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/interception_condition.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mds-server/interception_condition.h') diff --git a/src/mds-server/interception_condition.h b/src/mds-server/interception_condition.h index c80fab0..63b9f1c 100644 --- a/src/mds-server/interception_condition.h +++ b/src/mds-server/interception_condition.h @@ -81,6 +81,14 @@ size_t interception_condition_marshal(const interception_condition_t* restrict t */ size_t interception_condition_unmarshal(interception_condition_t* restrict this, char* restrict data); +/** + * Pretend to an interception condition + * + * @param data In buffer with the marshalled data + * @return The number of read bytes + */ +size_t interception_condition_unmarshal_skip(char* restrict data) __attribute__((pure)); + #endif -- cgit v1.2.3-70-g09d2