#include "arm.h"
+/**
+ * FIXME: document.
+ */
struct ArmContext
{
+
+ /**
+ * FIXME: document.
+ */
GNUNET_ARM_Callback callback;
+
+ /**
+ * FIXME: document.
+ */
void *cls;
+
+ /**
+ * FIXME: document.
+ */
char *service_name;
+
+ /**
+ * FIXME: document.
+ */
struct GNUNET_CLIENT_Connection *client;
+
+ /**
+ * FIXME: document.
+ */
const struct GNUNET_CONFIGURATION_Handle *cfg;
+
+ /**
+ * FIXME: document.
+ */
struct GNUNET_TIME_Absolute timeout;
+
+ /**
+ * FIXME: document.
+ */
uint16_t type;
};
+/**
+ * FIXME: document.
+ */
static void
arm_service_report (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
* @param timeout how long to wait before failing for good
* @param cb callback to invoke when service is ready
* @param cb_cls closure for callback
+ * @param type type of the request
*/
static void
change_service (const char *service_name,
*/
/**
- * @file datacache/datacache_api.c
+ * @file datacache/datacache.c
* @brief datacache API implementation
* @author Christian Grothoff
*/
/**
* Store an item in the datastore.
*
- * @param key key to store data under
+ * @param cls closure (internal context for the plugin)
* @param size number of bytes in data
* @param data data to store
* @param type type of the value
* Iterate over the results for a particular key
* in the datastore.
*
+ * @param cls closure (internal context for the plugin)
* @param key
* @param type entries of which type are relevant?
* @param iter maybe NULL (to just count)
+ * @param iter_cls closure for iter
* @return the number of results found
*/
unsigned int (*get) (void *cls,
* Delete the entry with the lowest expiration value
* from the datacache right now.
*
+ * @param cls closure (internal context for the plugin)
* @return GNUNET_OK on success, GNUNET_SYSERR on error
*/
int (*del) (void *cls);
/**
* Store an item in the datastore.
*
+ * @param cls closure (our "struct Plugin")
* @param key key to store data under
* @param size number of bytes in data
* @param data data to store
* Iterate over the results for a particular key
* in the datastore.
*
+ * @param cls closure (our "struct Plugin")
* @param key
* @param type entries of which type are relevant?
* @param iter maybe NULL (to just count)
+ * @param iter_cls closure for iter
* @return the number of results found
*/
static unsigned int
* Delete the entry with the lowest expiration value
* from the datacache right now.
*
+ * @param cls closure (our "struct Plugin")
* @return GNUNET_OK on success, GNUNET_SYSERR on error
*/
static int
/**
* Entry point for the plugin.
+ *
+ * @param cls closure (the "struct GNUNET_DATACACHE_PluginEnvironmnet")
+ * @return the plugin's closure (our "struct Plugin")
*/
void *
libgnunet_plugin_datacache_sqlite_init (void *cls)
/**
* Exit point from the plugin.
+ *
+ * @param cls closure (our "struct Plugin")
+ * @return NULL
*/
void *
libgnunet_plugin_datacache_sqlite_done (void *cls)
/**
* Store an item in the datastore.
*
+ * @param cls closure (our "struct Plugin")
* @param key key to store data under
* @param size number of bytes in data
* @param data data to store
* Iterate over the results for a particular key
* in the datastore.
*
+ * @param cls closure (our "struct Plugin")
* @param key
* @param type entries of which type are relevant?
* @param iter maybe NULL (to just count)
+ * @param iter_cls closure for iter
* @return the number of results found
*/
static unsigned int
* Delete the entry with the lowest expiration value
* from the datacache right now.
*
+ * @param cls closure (our "struct Plugin")
* @return GNUNET_OK on success, GNUNET_SYSERR on error
*/
static int
/**
* Entry point for the plugin.
+ *
+ * @param cls closure (the "struct GNUNET_DATACACHE_PluginEnvironmnet")
+ * @return the plugin's closure (our "struct Plugin")
*/
void *
libgnunet_plugin_datacache_template_init (void *cls)
/**
* Exit point from the plugin.
+ *
+ * @param cls closure (our "struct Plugin")
+ * @return NULL
*/
void *
libgnunet_plugin_datacache_template_done (void *cls)
* lower anonymity level is used.
*
* @param h handle to the datastore
+ * @param rid reservation ID to use (from "reserve"); use 0 if no
+ * prior reservation was made
* @param key key for the value
* @param size number of bytes in data
* @param data content stored
*
* @param client target of the message
* @param msg message to transmit, will be freed!
+ * @param tc function to call afterwards
+ * @param tc_cls closure for tc
* @param end is this the last response (and we should
* signal the server completion accodingly after
* transmitting this message)?
* Function called once the transmit operation has
* either failed or succeeded.
*
- * @param cls closure
+ * @param next_cls closure for calling "next_request" callback
* @param status GNUNET_OK on success, GNUNET_SYSERR on error
*/
static void
*/
/**
- * @file statistics/gnunet-service-fs.c
+ * @file fs/gnunet-service-fs.c
* @brief program that provides the file-sharing service
* @author Christian Grothoff
*/
* Construct a keyword-URI from meta-data (take all entries
* in the meta-data and construct one large keyword URI
* that lists all keywords that can be found in the meta-data).
- * @deprecated
+ *
+ * @param md metadata to use
+ * @return NULL on error, otherwise a KSK URI
*/
struct GNUNET_FS_Uri *
GNUNET_FS_uri_ksk_create_from_meta_data (const struct GNUNET_CONTAINER_MetaData *md);
{
/**
- * Short name of the option (use '\0' for none).
+ * Short name of the option (use '\\0' for none).
*/
const char shortName;
*/
/**
- * @file util/winproc.h
+ * @file include/winproc.h
* @brief Definitions for MS Windows
* @author Nils Durner
- **/
+ */
#ifndef _WINPROC_H
#define _WINPROC_H
*/
/**
- * @file server/gnunet-transport.c
+ * @file src/transport/gnunet-transport.c
* @brief Tool to help configure the transports.
* @author Christian Grothoff
*
*/
/**
- * @file transports/http.c
+ * @file transport/plugin_transport_http.c
* @brief Implementation of the HTTP transport service
* @author Christian Grothoff
*/
*/
/**
- * @file transports/smtp.c
+ * @file transport/plugin_transport_smtp.c
* @brief Implementation of the SMTP transport service
* @author Christian Grothoff
* @author Renaldo Ferreira
*/
/**
- * @file transports/udp.c
+ * @file transport/plugin_transport_udp.c
* @brief Implementation of the UDP transport service
* @author Christian Grothoff
*/
*/
/**
- * @file src/transports/upnp/init.c
+ * @file transport/upnp_init.c
* @brief API for UPnP access
* @author Christian Grothoff
*/
*/
/**
- * @file transports/upnp/ip.c
+ * @file transport/upnp_ip.c
* @brief code to determine the IP of the local machine
*
* @author Christian Grothoff
*/
/**
- * @file transports/upnp/ip.h
+ * @file transport/upnp_ip.h
* @brief
*
* @author Christian Grothoff
/**
- * @file util.h Utility Functions
+ * @file transport/upnp_util.h Utility Functions
* @ingroup core
*
* gaim
/**
- * @file xmlnode.c XML DOM functions
+ * @file transport/upnp_xmlnode.c XML DOM functions
*
* gaim
*
/**
- * @file xmlnode.h XML DOM functions
+ * @file transport/upnp_xmlnode.h XML DOM functions
* @ingroup core
*
* gaim
*/
/**
- * @file util/memory/common_allocation.c
+ * @file util/common_allocation.c
* @brief wrapper around malloc/free
* @author Christian Grothoff
*/
*/\r
\r
/**\r
- * @file util/sock.c\r
+ * @file util/network.c\r
* @brief basic, low-level networking interface\r
* @author Nils Durner\r
*/\r
#endif\r
}\r
\r
-/* end of network_socket.c */\r
+/* end of network.c */\r
*/
/**
- * @file util/os_load_cpu.c
+ * @file util/os_load.c
* @brief calls to determine current CPU load
* @author Tzvetan Horozov
* @author Christian Grothoff
}
-/* end of os_load_cpu.c */
+/* end of os_load.c */
*/
/**
- * @file util/os/priority.c
+ * @file util/os_priority.c
* @brief Methods to set process priority
* @author Nils Durner
*/
*/
/**
- * @file util/scheduler/scheduler.c
+ * @file util/scheduler.c
* @brief schedule computations using continuation passing style
* @author Christian Grothoff
*/
*/\r
\r
/**\r
- * @file util/win/win.cc\r
+ * @file util/win.cc\r
* @brief Helper functions for MS Windows in C++\r
* @author Nils Durner\r
- **/\r
+ */\r
\r
#ifndef _WIN_CC\r
#define _WIN_CC\r
*/
/**
- * @file util/win/winproc.c
+ * @file util/winproc.c
* @brief Functions for MS Windows
* @author Nils Durner
*/