aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/Makefile.am3
-rw-r--r--src/fs/gnunet-directory.c1
-rw-r--r--src/fs/gnunet-publish.c2
-rw-r--r--src/include/gnunet_core_service.h23
-rw-r--r--src/include/gnunet_transport_service.h2
-rw-r--r--src/topology/gnunet-daemon-topology.c3
-rw-r--r--src/transport/gnunet-service-transport.c3
-rw-r--r--src/util/pseudonym.c3
8 files changed, 31 insertions, 9 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index 3dccb2dbd..605b8d2ce 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -15,7 +15,8 @@ lib_LTLIBRARIES = \
15 15
16libgnunetcore_la_SOURCES = \ 16libgnunetcore_la_SOURCES = \
17 core_api.c core.h \ 17 core_api.c core.h \
18 core_api_peer_get_info.c 18 core_api_peer_get_info.c \
19 core_api_peer_request.c
19libgnunetcore_la_LIBADD = \ 20libgnunetcore_la_LIBADD = \
20 $(top_builddir)/src/arm/libgnunetarm.la \ 21 $(top_builddir)/src/arm/libgnunetarm.la \
21 $(top_builddir)/src/util/libgnunetutil.la \ 22 $(top_builddir)/src/util/libgnunetutil.la \
diff --git a/src/fs/gnunet-directory.c b/src/fs/gnunet-directory.c
index fe2ae8af6..de4ccdd3f 100644
--- a/src/fs/gnunet-directory.c
+++ b/src/fs/gnunet-directory.c
@@ -31,6 +31,7 @@ static int ret;
31 * Print a meta data entry. 31 * Print a meta data entry.
32 * 32 *
33 * @param cls closure (unused) 33 * @param cls closure (unused)
34 * @param plugin_name name of the plugin that generated the meta data
34 * @param type type of the keyword 35 * @param type type of the keyword
35 * @param format format of data 36 * @param format format of data
36 * @param data_mime_type mime type of data 37 * @param data_mime_type mime type of data
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 226877b15..d063b73c7 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -138,6 +138,7 @@ progress_cb (void *cls,
138 * metadata and the filename). 138 * metadata and the filename).
139 * 139 *
140 * @param cls closure 140 * @param cls closure
141 * @param plugin_name name of the plugin that generated the meta data
141 * @param type type of the meta data 142 * @param type type of the meta data
142 * @param format format of data 143 * @param format format of data
143 * @param data_mime_type mime type of data 144 * @param data_mime_type mime type of data
@@ -171,6 +172,7 @@ meta_printer (void *cls,
171 * Merge metadata entries. 172 * Merge metadata entries.
172 * 173 *
173 * @param cls closure, target metadata structure 174 * @param cls closure, target metadata structure
175 * @param plugin_name name of the plugin that generated the meta data
174 * @param type type of the meta data 176 * @param type type of the meta data
175 * @param format format of data 177 * @param format format of data
176 * @param data_mime_type mime type of data 178 * @param data_mime_type mime type of data
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index 3ee2f102f..afe762772 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 (C) 2009 Christian Grothoff (and other contributing authors) 3 (C) 2009, 2010 Christian Grothoff (and other contributing authors)
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -175,6 +175,27 @@ GNUNET_CORE_connect (struct GNUNET_SCHEDULER_Handle *sched,
175void GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle); 175void GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle);
176 176
177 177
178struct GNUNET_CORE_PeerRequestHandle;
179
180struct GNUNET_CORE_PeerRequestHandle *
181struct GNUNET_CORE_peer_request_connect (struct GNUNET_SCHEDULER_Handle *sched,
182 const struct GNUNET_CONFIGURATION_Handle *cfg,
183 const struct GNUNET_PeerIdentity * peer,
184 GNUNET_SCHEDULER_Task cont,
185 void *cont_cls);
186
187
188struct GNUNET_CORE_PeerRequestHandle *
189struct GNUNET_CORE_peer_request_disconnect (struct GNUNET_SCHEDULER_Handle *sched,
190 const struct GNUNET_CONFIGURATION_Handle *cfg,
191 const struct GNUNET_PeerIdentity * peer,
192 GNUNET_SCHEDULER_Task cont,
193 void *cont_cls);
194
195void
196GNUNET_CORE_peer_request_cancel (struct GNUNET_CORE_PeerRequestHandle *req);
197
198
178/** 199/**
179 * Function called with statistics about the given peer. 200 * Function called with statistics about the given peer.
180 * 201 *
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h
index a705d3e10..726e03a95 100644
--- a/src/include/gnunet_transport_service.h
+++ b/src/include/gnunet_transport_service.h
@@ -238,7 +238,7 @@ GNUNET_TRANSPORT_offer_hello (struct GNUNET_TRANSPORT_Handle *handle,
238 * Convert a binary address into a human 238 * Convert a binary address into a human
239 * readable address. 239 * readable address.
240 * 240 *
241 * @param handle connection to transport service 241 * @param sched scheduler to use
242 * @param cfg configuration to use 242 * @param cfg configuration to use
243 * @param address address to convert (binary format) 243 * @param address address to convert (binary format)
244 * @param addressLen number of bytes in address 244 * @param addressLen number of bytes in address
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 5c581fd42..0e4bbffc9 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -347,8 +347,7 @@ ready_callback (void *cls,
347/** 347/**
348 * Try to connect to the specified peer. 348 * Try to connect to the specified peer.
349 * 349 *
350 * @param peer who we should try to connect to 350 * @param pos peer to connect to
351 * @param pos entry in our friend list; NULL if not in friend list yet
352 */ 351 */
353static void 352static void
354attempt_connect (struct PeerList *pos) 353attempt_connect (struct PeerList *pos)
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index 8196dd45a..6b8e0e7dd 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -840,9 +840,6 @@ try_transmission_to_peer (struct NeighbourList *neighbour);
840 * @param cls closure, identifies the entry on the 840 * @param cls closure, identifies the entry on the
841 * message queue that was transmitted and the 841 * message queue that was transmitted and the
842 * client responsible for queueing the message 842 * client responsible for queueing the message
843 * @param rl identifies plugin used for the transmission for
844 * this neighbour; needs to be re-enabled for
845 * future transmissions
846 * @param target the peer receiving the message 843 * @param target the peer receiving the message
847 * @param result GNUNET_OK on success, if the transmission 844 * @param result GNUNET_OK on success, if the transmission
848 * failed, we should not tell the client to transmit 845 * failed, we should not tell the client to transmit
diff --git a/src/util/pseudonym.c b/src/util/pseudonym.c
index 07c05b9e6..dfacbdcd8 100644
--- a/src/util/pseudonym.c
+++ b/src/util/pseudonym.c
@@ -540,11 +540,12 @@ GNUNET_PSEUDONYM_rank (const struct GNUNET_CONFIGURATION_Handle *cfg,
540 * Insert metadata into existing MD record (passed as cls). 540 * Insert metadata into existing MD record (passed as cls).
541 * 541 *
542 * @param cls metadata to add to 542 * @param cls metadata to add to
543 * @param plugin_name name of the plugin that generated the meta data
543 * @param type type of entry to insert 544 * @param type type of entry to insert
544 * @param format format of data 545 * @param format format of data
545 * @param data_mime_type mime type of data 546 * @param data_mime_type mime type of data
546 * @param data value of the meta data 547 * @param data value of the meta data
547 * @param data_size number of bytes in data 548 * @param data_len number of bytes in data
548 * @return always 0 549 * @return always 0
549 */ 550 */
550static int 551static int