diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/client.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mds-server/client.h b/src/mds-server/client.h index a63f2b6..a795c84 100644 --- a/src/mds-server/client.h +++ b/src/mds-server/client.h @@ -103,7 +103,7 @@ typedef struct client size_t client_marshal_size(const client_t* restrict this) __attribute__((pure)); /** - * Marshals an client information + * Marshals client information * * @param this The client information * @param data Output buffer for the marshalled data @@ -112,7 +112,7 @@ size_t client_marshal_size(const client_t* restrict this) __attribute__((pure)); size_t client_marshal(const client_t* restrict this, char* restrict data); /** - * Unmarshals an client information + * Unmarshals client information * * @param this Memory slot in which to store the new client information * @param data In buffer with the marshalled data @@ -121,6 +121,14 @@ size_t client_marshal(const client_t* restrict this, char* restrict data); */ size_t client_unmarshal(client_t* restrict this, char* restrict data); +/** + * Pretend to unmarshal client information + * + * @param data In buffer with the marshalled data + * @return The number of read bytes + */ +size_t client_unmarshal_skip(char* restrict data) __attribute__((pure)); + #endif |