aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/client.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-11 04:07:16 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-11 04:07:16 +0200
commit606af10d07ee0dbc8db8a7222a82bbfb5b85181e (patch)
tree95e0c643701c75592e0f08f3d624f67e5e59d1c4 /src/mds-server/client.h
parentmove mutex_created into client_t + error handling for pthread_*_init (diff)
downloadmds-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.h8
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
*