summaryrefslogtreecommitdiff
path: root/src/include/gnunet_namecache_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_namecache_service.h')
-rw-r--r--src/include/gnunet_namecache_service.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/include/gnunet_namecache_service.h b/src/include/gnunet_namecache_service.h
index da0235fc1..271d16d19 100644
--- a/src/include/gnunet_namecache_service.h
+++ b/src/include/gnunet_namecache_service.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @author Christian Grothoff 22 * @author Christian Grothoff
@@ -74,7 +74,7 @@ struct GNUNET_NAMECACHE_Handle;
74 * @return handle to use to access the service 74 * @return handle to use to access the service
75 */ 75 */
76struct GNUNET_NAMECACHE_Handle * 76struct GNUNET_NAMECACHE_Handle *
77GNUNET_NAMECACHE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); 77GNUNET_NAMECACHE_connect(const struct GNUNET_CONFIGURATION_Handle *cfg);
78 78
79 79
80/** 80/**
@@ -85,7 +85,7 @@ GNUNET_NAMECACHE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);
85 * @param h handle to the namecache 85 * @param h handle to the namecache
86 */ 86 */
87void 87void
88GNUNET_NAMECACHE_disconnect (struct GNUNET_NAMECACHE_Handle *h); 88GNUNET_NAMECACHE_disconnect(struct GNUNET_NAMECACHE_Handle *h);
89 89
90 90
91/** 91/**
@@ -116,10 +116,10 @@ typedef void
116 * @return handle to abort the request, NULL on error 116 * @return handle to abort the request, NULL on error
117 */ 117 */
118struct GNUNET_NAMECACHE_QueueEntry * 118struct GNUNET_NAMECACHE_QueueEntry *
119GNUNET_NAMECACHE_block_cache (struct GNUNET_NAMECACHE_Handle *h, 119GNUNET_NAMECACHE_block_cache(struct GNUNET_NAMECACHE_Handle *h,
120 const struct GNUNET_GNSRECORD_Block *block, 120 const struct GNUNET_GNSRECORD_Block *block,
121 GNUNET_NAMECACHE_ContinuationWithStatus cont, 121 GNUNET_NAMECACHE_ContinuationWithStatus cont,
122 void *cont_cls); 122 void *cont_cls);
123 123
124 124
125/** 125/**
@@ -146,10 +146,10 @@ typedef void
146 * @return a handle that can be used to cancel, NULL on error 146 * @return a handle that can be used to cancel, NULL on error
147 */ 147 */
148struct GNUNET_NAMECACHE_QueueEntry * 148struct GNUNET_NAMECACHE_QueueEntry *
149GNUNET_NAMECACHE_lookup_block (struct GNUNET_NAMECACHE_Handle *h, 149GNUNET_NAMECACHE_lookup_block(struct GNUNET_NAMECACHE_Handle *h,
150 const struct GNUNET_HashCode *derived_hash, 150 const struct GNUNET_HashCode *derived_hash,
151 GNUNET_NAMECACHE_BlockProcessor proc, 151 GNUNET_NAMECACHE_BlockProcessor proc,
152 void *proc_cls); 152 void *proc_cls);
153 153
154 154
155/** 155/**
@@ -161,7 +161,7 @@ GNUNET_NAMECACHE_lookup_block (struct GNUNET_NAMECACHE_Handle *h,
161 * @param qe operation to cancel 161 * @param qe operation to cancel
162 */ 162 */
163void 163void
164GNUNET_NAMECACHE_cancel (struct GNUNET_NAMECACHE_QueueEntry *qe); 164GNUNET_NAMECACHE_cancel(struct GNUNET_NAMECACHE_QueueEntry *qe);
165 165
166 166
167#if 0 /* keep Emacsens' auto-indent happy */ 167#if 0 /* keep Emacsens' auto-indent happy */