22 const char subscription[] = {1,
'A', 0};
58 const uint8_t subscription1[] = {1,
'A'};
62 const uint8_t subscription2[] = {1,
'B'};
80 const uint8_t unsubscription1[2] = {0,
'A'};
100 const char unsubscription2[2] = {0,
'B'};
102 sizeof unsubscription2,
105 sizeof unsubscription2);
116 const uint8_t topic_buff[] = {
"1"};
117 const uint8_t payload_buff[] = {
"X"};
127 sizeof my_endpoint_frontend);
134 sizeof my_endpoint_backend);
150 const uint8_t subscription[2] = {1, *topic_buff};
205 const uint8_t unsubscription[] = {0, *topic_buff};
239 const char *topic1 =
"1";
240 const char *topic2 =
"2";
241 const char *payload =
"X";
251 sizeof my_endpoint_frontend);
258 sizeof my_endpoint_backend);
277 const uint8_t subscription1[] = {1,
static_cast<uint8_t
> (topic1[0])};
291 const uint8_t subscription2[] = {1,
static_cast<uint8_t
> (topic2[0])};
354 const uint8_t subscription1[2] = {1,
'A'};
378 const uint8_t unsubscription[2] = {0,
'A'};
390 const uint8_t subscription2[2] = {1,
'B'};
424 const char subscription[] = {2,
'A', 0};
435 #ifdef ZMQ_ONLY_FIRST_SUBSCRIBE
438 const int only_first_subscribe = 1;
444 &only_first_subscribe,
445 sizeof (only_first_subscribe)));
451 &only_first_subscribe,
452 sizeof (only_first_subscribe)));
455 const uint8_t msg_common[] = {
'A',
'B',
'C'};
457 const uint8_t msg_0a[] = {0,
'B',
'C'};
458 const uint8_t msg_0b[] = {0,
'C',
'D'};
460 const uint8_t msg_1a[] = {1,
'B',
'C'};
461 const uint8_t msg_1b[] = {1,
'C',
'D'};
507 #ifdef ZMQ_ONLY_FIRST_SUBSCRIBE