diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-11 04:07:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-11 04:07:16 +0200 |
commit | 606af10d07ee0dbc8db8a7222a82bbfb5b85181e (patch) | |
tree | 95e0c643701c75592e0f08f3d624f67e5e59d1c4 /src/mds-server/client.h | |
parent | move mutex_created into client_t + error handling for pthread_*_init (diff) | |
download | mds-606af10d07ee0dbc8db8a7222a82bbfb5b85181e.tar.gz mds-606af10d07ee0dbc8db8a7222a82bbfb5b85181e.tar.bz2 mds-606af10d07ee0dbc8db8a7222a82bbfb5b85181e.tar.xz |
m + release all resources before re-execing
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-server/client.h')
-rw-r--r-- | src/mds-server/client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mds-server/client.h b/src/mds-server/client.h index fee5eba..6b98ade 100644 --- a/src/mds-server/client.h +++ b/src/mds-server/client.h @@ -99,6 +99,14 @@ typedef struct client } client_t; + +/** + * Release all resources assoicated with a client + * + * @param this The client information + */ +void client_destroy(client_t* restrict this); + /** * Calculate the buffer size need to marshal client information * |