#include <nng/nng.h>
#include <nng/protocol/pubsub0/sub.h>
int nng_sub0_socket_subscribe(nng_socket s, const void *buf, size_t sz);
int nng_sub0_socket_unsubscribe(nng_socket s, const void *buf, size_t sz);
int nng_sub0_ctx_subscribe(nng_ctx c, const void *buf, size_t sz);
int nng_sub0_ctx_unsubscribe(nng_ctx c, const void *buf, size_t sz);