#include "precompiled.hpp"
#include <string.h>
#include <limits.h>
#include "mechanism.hpp"
#include "options.hpp"
#include "msg.hpp"
#include "err.hpp"
#include "wire.hpp"
#include "session_base.hpp"
Go to the source code of this file.
|
| static size_t | name_len (const char *name_) |
| |
| static size_t | property_len (size_t name_len_, size_t value_len_) |
| |
| template<size_t N> |
| static bool | strequals (const char *actual_type_, const size_t actual_len_, const char(&expected_type_)[N]) |
| |
◆ ZMTP_PROPERTY_IDENTITY
| #define ZMTP_PROPERTY_IDENTITY "Identity" |
◆ ZMTP_PROPERTY_SOCKET_TYPE
| #define ZMTP_PROPERTY_SOCKET_TYPE "Socket-Type" |
◆ name_len()
| static size_t name_len |
( |
const char * |
name_ | ) |
|
|
static |
◆ property_len()
| static size_t property_len |
( |
size_t |
name_len_, |
|
|
size_t |
value_len_ |
|
) |
| |
|
static |
◆ strequals()
template<size_t N>
| static bool strequals |
( |
const char * |
actual_type_, |
|
|
const size_t |
actual_len_, |
|
|
const char(&) |
expected_type_[N] |
|
) |
| |
|
static |
◆ name_len_size
| const size_t name_len_size = sizeof (unsigned char) |
◆ socket_type_dealer
| const char socket_type_dealer[] = "DEALER" |
◆ socket_type_pair
| const char socket_type_pair[] = "PAIR" |
◆ socket_type_pub
| const char socket_type_pub[] = "PUB" |
◆ socket_type_pull
| const char socket_type_pull[] = "PULL" |
◆ socket_type_push
| const char socket_type_push[] = "PUSH" |
◆ socket_type_rep
| const char socket_type_rep[] = "REP" |
◆ socket_type_req
| const char socket_type_req[] = "REQ" |
◆ socket_type_router
| const char socket_type_router[] = "ROUTER" |
◆ socket_type_stream
| const char socket_type_stream[] = "STREAM" |
◆ socket_type_sub
| const char socket_type_sub[] = "SUB" |
◆ socket_type_xpub
| const char socket_type_xpub[] = "XPUB" |
◆ socket_type_xsub
| const char socket_type_xsub[] = "XSUB" |
◆ value_len_size
| const size_t value_len_size = sizeof (uint32_t) |