diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-08-23 15:26:27 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-08-23 15:26:27 +0300 |
commit | 449198c97d2794b44b461093265637522b7a64b4 (patch) | |
tree | 36eb68c83b907474f507f5e8cde72856e29414bb /src/console/zmq/backend/cffi/_verify.c | |
parent | b156bb3ae7382481ed5f15e42d87cd3012870da5 (diff) | |
parent | 8384612b8493a4a896e91e3bb9d5d25689a87c12 (diff) |
rpc integration
Diffstat (limited to 'src/console/zmq/backend/cffi/_verify.c')
-rw-r--r-- | src/console/zmq/backend/cffi/_verify.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/console/zmq/backend/cffi/_verify.c b/src/console/zmq/backend/cffi/_verify.c new file mode 100644 index 00000000..547840eb --- /dev/null +++ b/src/console/zmq/backend/cffi/_verify.c @@ -0,0 +1,12 @@ +#include <stdio.h> +#include <sys/un.h> +#include <string.h> + +#include <zmq.h> +#include <zmq_utils.h> +#include "zmq_compat.h" + +int get_ipc_path_max_len(void) { + struct sockaddr_un *dummy; + return sizeof(dummy->sun_path) - 1; +} |