diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gnunet_dnsstub_lib.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gnunet_dnsstub_lib.h')
-rw-r--r-- | src/include/gnunet_dnsstub_lib.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/gnunet_dnsstub_lib.h b/src/include/gnunet_dnsstub_lib.h index ff59e1292..4e93105bb 100644 --- a/src/include/gnunet_dnsstub_lib.h +++ b/src/include/gnunet_dnsstub_lib.h | |||
@@ -52,7 +52,7 @@ struct GNUNET_DNSSTUB_RequestSocket; | |||
52 | * @return NULL on error | 52 | * @return NULL on error |
53 | */ | 53 | */ |
54 | struct GNUNET_DNSSTUB_Context * | 54 | struct GNUNET_DNSSTUB_Context * |
55 | GNUNET_DNSSTUB_start(unsigned int num_sockets); | 55 | GNUNET_DNSSTUB_start (unsigned int num_sockets); |
56 | 56 | ||
57 | 57 | ||
58 | /** | 58 | /** |
@@ -64,8 +64,8 @@ GNUNET_DNSSTUB_start(unsigned int num_sockets); | |||
64 | * @return #GNUNET_OK on success | 64 | * @return #GNUNET_OK on success |
65 | */ | 65 | */ |
66 | int | 66 | int |
67 | GNUNET_DNSSTUB_add_dns_ip(struct GNUNET_DNSSTUB_Context *ctx, | 67 | GNUNET_DNSSTUB_add_dns_ip (struct GNUNET_DNSSTUB_Context *ctx, |
68 | const char *dns_ip); | 68 | const char *dns_ip); |
69 | 69 | ||
70 | 70 | ||
71 | /** | 71 | /** |
@@ -77,8 +77,8 @@ GNUNET_DNSSTUB_add_dns_ip(struct GNUNET_DNSSTUB_Context *ctx, | |||
77 | * @return #GNUNET_OK on success | 77 | * @return #GNUNET_OK on success |
78 | */ | 78 | */ |
79 | int | 79 | int |
80 | GNUNET_DNSSTUB_add_dns_sa(struct GNUNET_DNSSTUB_Context *ctx, | 80 | GNUNET_DNSSTUB_add_dns_sa (struct GNUNET_DNSSTUB_Context *ctx, |
81 | const struct sockaddr *sa); | 81 | const struct sockaddr *sa); |
82 | 82 | ||
83 | 83 | ||
84 | /** | 84 | /** |
@@ -89,8 +89,8 @@ GNUNET_DNSSTUB_add_dns_sa(struct GNUNET_DNSSTUB_Context *ctx, | |||
89 | * @param retry_frequ how long to wait between retries | 89 | * @param retry_frequ how long to wait between retries |
90 | */ | 90 | */ |
91 | void | 91 | void |
92 | GNUNET_DNSSTUB_set_retry(struct GNUNET_DNSSTUB_Context *ctx, | 92 | GNUNET_DNSSTUB_set_retry (struct GNUNET_DNSSTUB_Context *ctx, |
93 | struct GNUNET_TIME_Relative retry_freq); | 93 | struct GNUNET_TIME_Relative retry_freq); |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * Cleanup DNSSTUB resolver. | 96 | * Cleanup DNSSTUB resolver. |
@@ -98,7 +98,7 @@ GNUNET_DNSSTUB_set_retry(struct GNUNET_DNSSTUB_Context *ctx, | |||
98 | * @param ctx stub resolver to clean up | 98 | * @param ctx stub resolver to clean up |
99 | */ | 99 | */ |
100 | void | 100 | void |
101 | GNUNET_DNSSTUB_stop(struct GNUNET_DNSSTUB_Context *ctx); | 101 | GNUNET_DNSSTUB_stop (struct GNUNET_DNSSTUB_Context *ctx); |
102 | 102 | ||
103 | 103 | ||
104 | /** | 104 | /** |
@@ -128,11 +128,11 @@ typedef void | |||
128 | * @return socket used for the request, NULL on error | 128 | * @return socket used for the request, NULL on error |
129 | */ | 129 | */ |
130 | struct GNUNET_DNSSTUB_RequestSocket * | 130 | struct GNUNET_DNSSTUB_RequestSocket * |
131 | GNUNET_DNSSTUB_resolve(struct GNUNET_DNSSTUB_Context *ctx, | 131 | GNUNET_DNSSTUB_resolve (struct GNUNET_DNSSTUB_Context *ctx, |
132 | const void *request, | 132 | const void *request, |
133 | size_t request_len, | 133 | size_t request_len, |
134 | GNUNET_DNSSTUB_ResultCallback rc, | 134 | GNUNET_DNSSTUB_ResultCallback rc, |
135 | void *rc_cls); | 135 | void *rc_cls); |
136 | 136 | ||
137 | 137 | ||
138 | /** | 138 | /** |
@@ -141,7 +141,7 @@ GNUNET_DNSSTUB_resolve(struct GNUNET_DNSSTUB_Context *ctx, | |||
141 | * @param rs resolution to cancel | 141 | * @param rs resolution to cancel |
142 | */ | 142 | */ |
143 | void | 143 | void |
144 | GNUNET_DNSSTUB_resolve_cancel(struct GNUNET_DNSSTUB_RequestSocket *rs); | 144 | GNUNET_DNSSTUB_resolve_cancel (struct GNUNET_DNSSTUB_RequestSocket *rs); |
145 | 145 | ||
146 | 146 | ||
147 | #endif | 147 | #endif |