aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/interception_condition.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-08 03:58:00 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-08 03:58:08 +0200
commitfbd127113629a1eed72d32ffb84572b0d40d8154 (patch)
tree5d1c4cdf7cf4260943dcd2f5aacae333b3d85e47 /src/mds-server/interception_condition.h
parentsplit up mds-server structs into their own .h-files and add marshal functions (diff)
downloadmds-fbd127113629a1eed72d32ffb84572b0d40d8154.tar.gz
mds-fbd127113629a1eed72d32ffb84572b0d40d8154.tar.bz2
mds-fbd127113629a1eed72d32ffb84572b0d40d8154.tar.xz
use the data structure marshallers
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-server/interception_condition.h8
1 files changed, 8 insertions, 0 deletions
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