aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-03 08:29:55 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-03 08:30:34 -0800
commit8249242a9325a27e57107d78bfa168e918cc4f7a (patch)
tree3fa7a7a0dd66c23684b731f6b2686e9b6ea7a574 /src/nng.c
parenta5807e45b1badfb5d0cb4f697e1873a8ece59a30 (diff)
downloadnng-8249242a9325a27e57107d78bfa168e918cc4f7a.tar.gz
nng-8249242a9325a27e57107d78bfa168e918cc4f7a.tar.bz2
nng-8249242a9325a27e57107d78bfa168e918cc4f7a.zip
Remove untyped nng_pipe_get, support for untyped sockaddr set.
This is a step on the path to removing unsafe untyped option accesses.
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nng.c b/src/nng.c
index 08606715..8fafe364 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -1384,12 +1384,6 @@ pipe_get(nng_pipe p, const char *name, void *val, size_t *szp, nni_type t)
}
int
-nng_pipe_get(nng_pipe id, const char *n, void *v, size_t *szp)
-{
- return (pipe_get(id, n, v, szp, NNI_TYPE_OPAQUE));
-}
-
-int
nng_pipe_get_int(nng_pipe id, const char *n, int *v)
{
return (pipe_get(id, n, v, NULL, NNI_TYPE_INT32));