From 319a20a66c09ac9207080a6e11bdd1871c50efa0 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 19 Jul 2015 00:34:11 +0200 Subject: [PATCH] improve documentation improve the documentation of the getdns_upstream objects. --- src/context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/context.h b/src/context.h index 86275131..998b75b8 100644 --- a/src/context.h +++ b/src/context.h @@ -80,6 +80,7 @@ typedef enum getdns_tls_hs_state { } getdns_tls_hs_state_t; typedef struct getdns_upstream { + /* backpointer to containing upstreams structure */ struct getdns_upstreams *upstreams; socklen_t addr_len; @@ -245,6 +246,6 @@ void priv_getdns_context_ub_read_cb(void *userarg); void priv_getdns_upstreams_dereference(getdns_upstreams *upstreams); -void priv_getdns_upstream_shutdown(getdns_upstream *upstreams); +void priv_getdns_upstream_shutdown(getdns_upstream *upstream); #endif /* _GETDNS_CONTEXT_H_ */