aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/nng.h b/src/nng.h
index c39ba9ee..6d375509 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -337,33 +337,6 @@ enum nng_flag_enum {
NNG_FLAG_NONBLOCK = 2, // Non-blocking operations.
};
-// Builtin protocol socket constructors.
-NNG_DECL int nng_bus0_open(nng_socket *);
-NNG_DECL int nng_pair0_open(nng_socket *);
-NNG_DECL int nng_pair1_open(nng_socket *);
-NNG_DECL int nng_pub0_open(nng_socket *);
-NNG_DECL int nng_sub0_open(nng_socket *);
-NNG_DECL int nng_push0_open(nng_socket *);
-NNG_DECL int nng_pull0_open(nng_socket *);
-NNG_DECL int nng_req0_open(nng_socket *);
-NNG_DECL int nng_rep0_open(nng_socket *);
-NNG_DECL int nng_surveyor0_open(nng_socket *);
-NNG_DECL int nng_respondent0_open(nng_socket *);
-
-// Default versions. These provide compile time defaults; note that
-// the actual protocols are baked into the binary; this should avoid
-// suprising. Choosing a new protocol should be done explicitly.
-#define nng_bus_open nng_bus0_open
-#define nng_pair_open nng_pair1_open
-#define nng_pub_open nng_pub0_open
-#define nng_sub_open nng_sub0_open
-#define nng_push_open nng_push0_open
-#define nng_pull_open nng_pull0_open
-#define nng_req_open nng_req0_open
-#define nng_rep_open nng_rep0_open
-#define nng_surveyor_open nng_surveyor0_open
-#define nng_respondent_open nng_respondent0_open
-
// Options.
#define NNG_OPT_SOCKNAME "socket-name"
#define NNG_OPT_DOMAIN "compat:domain" // legacy compat only
@@ -385,15 +358,6 @@ NNG_DECL int nng_respondent0_open(nng_socket *);
#define NNG_OPT_RECONNMINT "reconnect-time-min"
#define NNG_OPT_RECONNMAXT "reconnect-time-max"
-#define NNG_OPT_PAIR1_POLY "pair1:polyamorous"
-
-#define NNG_OPT_SUB_SUBSCRIBE "sub:subscribe"
-#define NNG_OPT_SUB_UNSUBSCRIBE "sub:unsubscribe"
-
-#define NNG_OPT_REQ_RESENDTIME "req:resend-time"
-
-#define NNG_OPT_SURVEYOR_SURVEYTIME "surveyor:survey-time"
-
// XXX: TBD: priorities, socket names, ipv4only
// Statistics. These are for informational purposes only, and subject