summaryrefslogtreecommitdiffstats
path: root/sys/rpc/svc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/rpc/svc.h')
-rw-r--r--sys/rpc/svc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index 80285ec..2ecd1a9 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -729,6 +729,12 @@ extern SVCPOOL* svcpool_create(const char *name,
extern void svcpool_destroy(SVCPOOL *pool);
/*
+ * Close a service pool. Similar to svcpool_destroy(), but it does not
+ * free the data structures. As such, the pool can be used again.
+ */
+extern void svcpool_close(SVCPOOL *pool);
+
+/*
* Transport independent svc_create routine.
*/
extern int svc_create(SVCPOOL *, void (*)(struct svc_req *, SVCXPRT *),
OpenPOWER on IntegriCloud