summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/xs.h b/include/xs.h
index 05d98ab..3aa1045 100644
--- a/include/xs.h
+++ b/include/xs.h
@@ -143,11 +143,15 @@ XS_EXPORT int xs_getmsgopt (xs_msg_t *msg, int option, void *optval,
size_t *optvallen);
/******************************************************************************/
-/* Crossroads infrastructure initialisation & termination. */
+/* Crossroads context definition. */
/******************************************************************************/
+#define XS_CTX_MAX_SOCKETS 1
+
XS_EXPORT void *xs_init (int io_threads);
XS_EXPORT int xs_term (void *context);
+XS_EXPORT int xs_setctxopt (void *context, int option, const void *optval,
+ size_t optvallen);
/******************************************************************************/
/* Crossroads socket definition. */