summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_arm_service.h4
-rw-r--r--src/include/gnunet_ats_application_service.h4
-rw-r--r--src/include/gnunet_ats_plugin.h4
-rw-r--r--src/include/gnunet_ats_service.h2
-rw-r--r--src/include/gnunet_bio_lib.h6
-rw-r--r--src/include/gnunet_cadet_service.h4
-rw-r--r--src/include/gnunet_client_lib.h2
-rw-r--r--src/include/gnunet_common.h4
-rw-r--r--src/include/gnunet_configuration_lib.h2
-rw-r--r--src/include/gnunet_container_lib.h10
-rw-r--r--src/include/gnunet_core_service.h2
-rw-r--r--src/include/gnunet_crypto_lib.h12
-rw-r--r--src/include/gnunet_db_lib.h2
-rw-r--r--src/include/gnunet_dns_service.h4
-rw-r--r--src/include/gnunet_dnsparser_lib.h2
-rw-r--r--src/include/gnunet_fragmentation_lib.h2
-rw-r--r--src/include/gnunet_fs_service.h12
-rw-r--r--src/include/gnunet_helper_lib.h4
-rw-r--r--src/include/gnunet_messenger_service.h2
-rw-r--r--src/include/gnunet_mq_lib.h10
-rw-r--r--src/include/gnunet_my_lib.h2
-rw-r--r--src/include/gnunet_nat_service.h4
-rw-r--r--src/include/gnunet_nse_service.h2
-rw-r--r--src/include/gnunet_nt_lib.h2
-rw-r--r--src/include/gnunet_pq_lib.h4
-rw-r--r--src/include/gnunet_protocols.h6
-rw-r--r--src/include/gnunet_reclaim_service.h4
-rw-r--r--src/include/gnunet_regex_service.h2
-rw-r--r--src/include/gnunet_revocation_service.h2
-rw-r--r--src/include/gnunet_rps_service.h8
-rw-r--r--src/include/gnunet_secretsharing_service.h6
-rw-r--r--src/include/gnunet_set_service.h6
-rw-r--r--src/include/gnunet_seti_service.h2
-rw-r--r--src/include/gnunet_setu_service.h2
-rw-r--r--src/include/gnunet_signal_lib.h2
-rw-r--r--src/include/gnunet_strings_lib.h10
-rw-r--r--src/include/gnunet_testbed_service.h14
-rw-r--r--src/include/gnunet_testing_lib.h2
-rw-r--r--src/include/gnunet_time_lib.h2
-rw-r--r--src/include/gnunet_transport_application_service.h4
-rw-r--r--src/include/gnunet_transport_communication_service.h2
-rw-r--r--src/include/gnunet_transport_plugin.h4
-rw-r--r--src/include/gnunet_uri_lib.h2
-rw-r--r--src/include/platform.h2
-rw-r--r--src/json/json_mhd.c2
-rw-r--r--src/pq/pq_eval.c4
46 files changed, 98 insertions, 98 deletions
diff --git a/src/include/gnunet_arm_service.h b/src/include/gnunet_arm_service.h
index 4dac317ec..9615f8c9d 100644
--- a/src/include/gnunet_arm_service.h
+++ b/src/include/gnunet_arm_service.h
@@ -207,13 +207,13 @@ struct GNUNET_ARM_ServiceInfo
const char *binary;
/**
- * Time when the sevice will be restarted, if applicable
+ * Time when the service will be restarted, if applicable
* to the current status.
*/
struct GNUNET_TIME_Absolute restart_at;
/**
- * Time when the sevice was first started, if applicable.
+ * Time when the service was first started, if applicable.
*/
struct GNUNET_TIME_Absolute last_started_at;
diff --git a/src/include/gnunet_ats_application_service.h b/src/include/gnunet_ats_application_service.h
index 8038f0cf3..a48dba825 100644
--- a/src/include/gnunet_ats_application_service.h
+++ b/src/include/gnunet_ats_application_service.h
@@ -71,14 +71,14 @@ struct GNUNET_ATS_ApplicationSuggestHandle;
/**
* An application would like to communicate with a peer. ATS should
- * allocate bandwith using a suitable address for requiremetns @a pk
+ * allocate bandwidth using a suitable address for requiremetns @a pk
* to transport.
*
* @param ch handle
* @param peer identity of the peer we need an address for
* @param pk what kind of application will the application require (can be
* #GNUNET_MQ_PREFERENCE_NONE, we will still try to connect)
- * @param bw desired bandwith, can be zero (we will still try to connect)
+ * @param bw desired bandwidth, can be zero (we will still try to connect)
* @return suggestion handle, NULL if request is already pending
*/
struct GNUNET_ATS_ApplicationSuggestHandle *
diff --git a/src/include/gnunet_ats_plugin.h b/src/include/gnunet_ats_plugin.h
index d27911a18..c0662673c 100644
--- a/src/include/gnunet_ats_plugin.h
+++ b/src/include/gnunet_ats_plugin.h
@@ -139,7 +139,7 @@ typedef void
/**
- * Get the prefered address for a peer from solver
+ * Get the preferred address for a peer from solver
*
* @param solver the solver to use
* @param peer the peer
@@ -150,7 +150,7 @@ typedef void
/**
- * Stop getting the prefered address for a peer from solver
+ * Stop getting the preferred address for a peer from solver
*
* @param solver the solver to use
* @param peer the peer
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 8b8ce3f02..92572c72b 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -334,7 +334,7 @@ GNUNET_ATS_address_add_session (struct GNUNET_ATS_AddressRecord *ar,
/**
* A @a session was destroyed, disassociate it from the given address
- * record. If this was an incoming addess, destroys the address as
+ * record. If this was an incoming address, destroys the address as
* well.
*
* @param ar address record to update information for
diff --git a/src/include/gnunet_bio_lib.h b/src/include/gnunet_bio_lib.h
index e49ce1354..142f1b088 100644
--- a/src/include/gnunet_bio_lib.h
+++ b/src/include/gnunet_bio_lib.h
@@ -25,7 +25,7 @@
* Buffered IO library
*
* @defgroup bio BIO library
- * Buffered binary disk IO (with endianess conversion)
+ * Buffered binary disk IO (with endianness conversion)
* @{
*/
@@ -65,7 +65,7 @@ GNUNET_BIO_read_open_file (const char *fn);
*
* @param buffer the buffer to use as source
* @param size the total size in bytes of the buffer
- * @return IO handle on sucess, NULL on error
+ * @return IO handle on success, NULL on error
*/
struct GNUNET_BIO_ReadHandle *
GNUNET_BIO_read_open_buffer (void *buffer, size_t size);
@@ -212,7 +212,7 @@ GNUNET_BIO_write_open_buffer (void);
/**
* Force a file-based buffered writer to flush its buffer.
- * If the handle does not use a file, this function returs #GNUNET_OK
+ * If the handle does not use a file, this function returns #GNUNET_OK
* without doing anything.
*
* @param h the IO handle
diff --git a/src/include/gnunet_cadet_service.h b/src/include/gnunet_cadet_service.h
index 93c8aabb8..f08c1572a 100644
--- a/src/include/gnunet_cadet_service.h
+++ b/src/include/gnunet_cadet_service.h
@@ -170,7 +170,7 @@ GNUNET_CADET_disconnect (struct GNUNET_CADET_Handle *handle);
/**
- * Open a port to receive incomming MQ-based channels.
+ * Open a port to receive incoming MQ-based channels.
*
* @param h CADET handle.
* @param port Hash identifying the port.
@@ -309,7 +309,7 @@ union GNUNET_CADET_ChannelInfo
* Get information about a channel.
*
* @param channel Channel handle.
- * @param ... dependant on option, currently not used
+ * @param ... dependent on option, currently not used
* @return Union with an answer to the query.
*/
const union GNUNET_CADET_ChannelInfo *
diff --git a/src/include/gnunet_client_lib.h b/src/include/gnunet_client_lib.h
index 9fc52724c..aaa1f4a74 100644
--- a/src/include/gnunet_client_lib.h
+++ b/src/include/gnunet_client_lib.h
@@ -65,7 +65,7 @@ GNUNET_CLIENT_test (const struct GNUNET_CONFIGURATION_Handle *cfg,
/**
* Create a message queue to connect to a GNUnet service.
- * If handlers are specfied, receive messages from the connection.
+ * If handlers are specified, receive messages from the connection.
*
* @param connection the client connection
* @param handlers handlers for receiving messages, can be NULL
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 21b87b0f5..bc2055709 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -1041,7 +1041,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
strerror (errno)); \
} while (0)
-/* ************************* endianess conversion ****************** */
+/* ************************* endianness conversion ****************** */
#ifdef htonbe64
@@ -1265,7 +1265,7 @@ GNUNET_is_zero_ (const void *a,
* @ingroup memory
* Allocate and initialize a block of memory.
*
- * @param buf data to initalize the block with
+ * @param buf data to initialize the block with
* @param size the number of bytes in buf (and size of the allocation)
* @return pointer to size bytes of memory, never NULL (!)
*/
diff --git a/src/include/gnunet_configuration_lib.h b/src/include/gnunet_configuration_lib.h
index f782509eb..b4e7f7d8f 100644
--- a/src/include/gnunet_configuration_lib.h
+++ b/src/include/gnunet_configuration_lib.h
@@ -512,7 +512,7 @@ GNUNET_CONFIGURATION_get_data (const struct GNUNET_CONFIGURATION_Handle *cfg,
/**
* Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR"
- * where either in the "PATHS" section or the environtment "FOO" is
+ * where either in the "PATHS" section or the environment "FOO" is
* set to "DIRECTORY". We also support default expansion,
* i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is
* set in PATHS or the environment, and otherwise to "default". Note
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h
index 8d8cbf4c1..0d81abfd3 100644
--- a/src/include/gnunet_container_lib.h
+++ b/src/include/gnunet_container_lib.h
@@ -323,7 +323,7 @@ GNUNET_CONTAINER_bloomfilter_copy (
/**
* @ingroup bloomfilter
- * Free the space associcated with a filter
+ * Free the space associated with a filter
* in memory, flush to drive if needed (do not
* free the space on the drive).
*
@@ -782,7 +782,7 @@ typedef int (*GNUNET_CONTAINER_MulitHashMapIteratorCallback) (
* to be copied as the destination of the pointer is
* guaranteed to be life as long as the value is stored in
* the hashmap. This can significantly reduce memory
- * consumption, but of course is also a recipie for
+ * consumption, but of course is also a recipe for
* heap corruption if the assumption is not true. Only
* use this if (1) memory use is important in this case and
* (2) you have triple-checked that the invariant holds
@@ -1072,7 +1072,7 @@ struct GNUNET_CONTAINER_MultiPeerMap;
* to be copied as the destination of the pointer is
* guaranteed to be life as long as the value is stored in
* the hashmap. This can significantly reduce memory
- * consumption, but of course is also a recipie for
+ * consumption, but of course is also a recipe for
* heap corruption if the assumption is not true. Only
* use this if (1) memory use is important in this case and
* (2) you have triple-checked that the invariant holds
@@ -1351,7 +1351,7 @@ struct GNUNET_CONTAINER_MultiShortmap;
* to be copied as the destination of the pointer is
* guaranteed to be life as long as the value is stored in
* the hashmap. This can significantly reduce memory
- * consumption, but of course is also a recipie for
+ * consumption, but of course is also a recipe for
* heap corruption if the assumption is not true. Only
* use this if (1) memory use is important in this case and
* (2) you have triple-checked that the invariant holds
@@ -1634,7 +1634,7 @@ struct GNUNET_CONTAINER_MultiUuidmap;
* to be copied as the destination of the pointer is
* guaranteed to be life as long as the value is stored in
* the hashmap. This can significantly reduce memory
- * consumption, but of course is also a recipie for
+ * consumption, but of course is also a recipe for
* heap corruption if the assumption is not true. Only
* use this if (1) memory use is important in this case and
* (2) you have triple-checked that the invariant holds
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index 60bc3c2a6..59d9613f8 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -396,7 +396,7 @@ GNUNET_CORE_monitor_stop (struct GNUNET_CORE_MonitorHandle *mh);
/**
* Check if the given peer is currently connected. This function is for special
- * cirumstances (GNUNET_TESTBED uses it), normal users of the CORE API are
+ * circumstances (GNUNET_TESTBED uses it), normal users of the CORE API are
* expected to track which peers are connected based on the connect/disconnect
* callbacks from #GNUNET_CORE_connect. This function is NOT part of the
* 'versioned', 'official' API. This function returns
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 2bbf2b1e7..b2ec83739 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -419,7 +419,7 @@ GNUNET_CRYPTO_crc16_step (uint32_t sum, const void *buf, size_t len);
/**
* Convert results from GNUNET_CRYPTO_crc16_step to final crc16.
*
- * @param sum cummulative sum
+ * @param sum cumulative sum
* @return crc16 value
*/
uint16_t
@@ -693,7 +693,7 @@ GNUNET_CRYPTO_pow_hash (const struct GNUNET_CRYPTO_PowSalt *salt,
/**
- * Context for cummulative hashing.
+ * Context for cumulative hashing.
*/
struct GNUNET_HashContext;
@@ -710,7 +710,7 @@ GNUNET_CRYPTO_hash_context_start (void);
/**
* Add data to be hashed.
*
- * @param hc cummulative hash context
+ * @param hc cumulative hash context
* @param buf data to add
* @param size number of bytes in @a buf
*/
@@ -802,7 +802,7 @@ struct GNUNET_CRYPTO_FileHashContext;
* @param blocksize number of bytes to process in one task
* @param callback function to call upon completion
* @param callback_cls closure for @a callback
- * @return NULL on (immediate) errror
+ * @return NULL on (immediate) error
*/
struct GNUNET_CRYPTO_FileHashContext *
GNUNET_CRYPTO_hash_file (enum GNUNET_SCHEDULER_Priority priority,
@@ -1947,7 +1947,7 @@ GNUNET_CRYPTO_paillier_create (
* @param public_key Public key to use.
* @param m Plaintext to encrypt.
* @param desired_ops How many homomorphic ops the caller intends to use
- * @param[out] ciphertext Encrytion of @a plaintext with @a public_key.
+ * @param[out] ciphertext Encryption of @a plaintext with @a public_key.
* @return guaranteed number of supported homomorphic operations >= 1,
* or desired_ops, in case that is lower,
* or -1 if less than one homomorphic operation is possible
@@ -2100,7 +2100,7 @@ GNUNET_CRYPTO_rsa_private_key_dup (
* Extract the public key of the given private key.
*
* @param priv the private key
- * @retur NULL on error, otherwise the public key
+ * @return NULL on error, otherwise the public key
*/
struct GNUNET_CRYPTO_RsaPublicKey *
GNUNET_CRYPTO_rsa_private_key_get_public (
diff --git a/src/include/gnunet_db_lib.h b/src/include/gnunet_db_lib.h
index a3cd7684e..85ad13e31 100644
--- a/src/include/gnunet_db_lib.h
+++ b/src/include/gnunet_db_lib.h
@@ -19,7 +19,7 @@
*/
/**
* @file include/gnunet_db_lib.h
- * @brief shared defintions for transactional databases
+ * @brief shared definitions for transactional databases
* @author Christian Grothoff
*/
#ifndef GNUNET_DB_LIB_H
diff --git a/src/include/gnunet_dns_service.h b/src/include/gnunet_dns_service.h
index 66f6890f8..20f0f13ee 100644
--- a/src/include/gnunet_dns_service.h
+++ b/src/include/gnunet_dns_service.h
@@ -60,7 +60,7 @@ enum GNUNET_DNS_Flags
* Set this flag to see all requests first prior to resolution
* (for monitoring). Clients that set this flag must then
* call "GNUNET_DNS_request_forward" when they process a request
- * for the first time. Caling "GNUNET_DNS_request_answer" is
+ * for the first time. Calling "GNUNET_DNS_request_answer" is
* not allowed for MONITOR peers.
*/
GNUNET_DNS_FLAG_REQUEST_MONITOR = 1,
@@ -89,7 +89,7 @@ enum GNUNET_DNS_Flags
* Set this flag to see all requests just before they are
* returned to the network. Clients that set this flag must then
* call "GNUNET_DNS_request_forward" when they process a request
- * for the last time. Caling "GNUNET_DNS_request_answer" is
+ * for the last time. Calling "GNUNET_DNS_request_answer" is
* not allowed for MONITOR peers.
*/
GNUNET_DNS_FLAG_RESPONSE_MONITOR = 8
diff --git a/src/include/gnunet_dnsparser_lib.h b/src/include/gnunet_dnsparser_lib.h
index 8d882a216..f77073264 100644
--- a/src/include/gnunet_dnsparser_lib.h
+++ b/src/include/gnunet_dnsparser_lib.h
@@ -285,7 +285,7 @@ enum GNUNET_DNSPARSER_CertAlgorithm
GNUNET_DNSPARSER_CERTALGO_RSASHA512 = 10,
/**
- * GOST R 34.10-2001
+ * GHOST R 34.10-2001
*/
GNUNET_DNSPARSER_CERTALGO_GOST_R34 = 12,
diff --git a/src/include/gnunet_fragmentation_lib.h b/src/include/gnunet_fragmentation_lib.h
index 512a9b93b..c964b5434 100644
--- a/src/include/gnunet_fragmentation_lib.h
+++ b/src/include/gnunet_fragmentation_lib.h
@@ -159,7 +159,7 @@ struct GNUNET_DEFRAGMENT_Context;
/**
* Function that is called with acknowledgement messages created by
- * the fragmentation module. Acknowledgements are cummulative,
+ * the fragmentation module. Acknowledgements are cumulative,
* so it is OK to only transmit the 'latest' ack message for the same
* message ID.
*
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index 01d736e89..5c0c42199 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -543,7 +543,7 @@ enum GNUNET_FS_Status
/**
* Notification that we have stopped
* the process of uploading a file structure; no
- * futher events will be generated for this action.
+ * further events will be generated for this action.
*/
GNUNET_FS_STATUS_PUBLISH_STOPPED = 6,
@@ -760,7 +760,7 @@ struct GNUNET_FS_DownloadContext;
/**
- * Handle for detail information about a file that is being publishd.
+ * Handle for detail information about a file that is being published.
* Specifies metadata, keywords, how to get the contents of the file
* (i.e. data-buffer in memory, filename on disk) and other options.
*/
@@ -789,7 +789,7 @@ struct GNUNET_FS_ProgressInfo
struct GNUNET_FS_PublishContext *pc;
/**
- * Information about the file that is being publishd.
+ * Information about the file that is being published.
*/
const struct GNUNET_FS_FileInformation *fi;
@@ -892,7 +892,7 @@ struct GNUNET_FS_ProgressInfo
/**
* At what time do we expect to finish the upload of the
- * CONTENTS of the directory. (The direcory itself will take
+ * CONTENTS of the directory. (The directory itself will take
* extra time, indicated with the "eta" member at the
* "publish"-level of this struct.)
*/
@@ -1442,7 +1442,7 @@ struct GNUNET_FS_ProgressInfo
/**
* At what time do we expect to finish unindexing?
* (will be a value in the past for completed
- * unindexing opeations).
+ * unindexing operations).
*/
struct GNUNET_TIME_Relative eta;
@@ -1974,7 +1974,7 @@ enum GNUNET_FS_PublishOptions
* @param h handle to the file sharing subsystem
* @param fi information about the file or directory structure to publish
* @param ns namespace to publish the file in, NULL for no namespace
- * @param nid identifier to use for the publishd content in the namespace
+ * @param nid identifier to use for the published content in the namespace
* (can be NULL, must be NULL if namespace is NULL)
* @param nuid update-identifier that will be used for future updates
* (can be NULL, must be NULL if namespace or nid is NULL)
diff --git a/src/include/gnunet_helper_lib.h b/src/include/gnunet_helper_lib.h
index 5e72cf76a..b54120204 100644
--- a/src/include/gnunet_helper_lib.h
+++ b/src/include/gnunet_helper_lib.h
@@ -49,7 +49,7 @@ struct GNUNET_HELPER_Handle;
/**
* Callback that will be called when the helper process dies. This is not called
- * when the helper process is stoped using GNUNET_HELPER_stop()
+ * when the helper process is stopped using GNUNET_HELPER_stop()
*
* @param cls the closure from GNUNET_HELPER_start()
*/
@@ -152,7 +152,7 @@ struct GNUNET_HELPER_SendHandle;
* @param h helper to send message to
* @param msg message to send
* @param can_drop can the message be dropped if there is already one in the queue?
- * @param cont continuation to run once the message is out (#GNUNET_OK on succees, #GNUNET_NO
+ * @param cont continuation to run once the message is out (#GNUNET_OK on success, #GNUNET_NO
* if the helper process died, #GNUNET_SYSERR during #GNUNET_HELPER_destroy).
* @param cont_cls closure for @a cont
* @return NULL if the message was dropped,
diff --git a/src/include/gnunet_messenger_service.h b/src/include/gnunet_messenger_service.h
index 96d308a01..389b6b8fd 100644
--- a/src/include/gnunet_messenger_service.h
+++ b/src/include/gnunet_messenger_service.h
@@ -413,7 +413,7 @@ struct GNUNET_MESSENGER_Message
/**
* Method called whenever the EGO of a <i>handle</i> changes or if the first connection fails
- * to load a valid EGO and the anonymous keypair will be used instead.
+ * to load a valid EGO and the anonymous key pair will be used instead.
*
* @param cls Closure from <i>GNUNET_MESSENGER_connect</i>
* @param handle Messenger handle
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h
index 37f21e5b1..710664fe7 100644
--- a/src/include/gnunet_mq_lib.h
+++ b/src/include/gnunet_mq_lib.h
@@ -428,7 +428,7 @@ GNUNET_MQ_dll_remove (struct GNUNET_MQ_Envelope **env_head,
/**
* Copy an array of handlers.
*
- * Useful if the array has been delared in local memory and needs to be
+ * Useful if the array has been declared in local memory and needs to be
* persisted for future use.
*
* @param handlers Array of handlers to be copied.
@@ -442,7 +442,7 @@ GNUNET_MQ_copy_handlers (const struct GNUNET_MQ_MessageHandler *handlers);
/**
* Copy an array of handlers, appending AGPL handler.
*
- * Useful if the array has been delared in local memory and needs to be
+ * Useful if the array has been declared in local memory and needs to be
* persisted for future use.
*
* @param handlers Array of handlers to be copied. Can be NULL (nothing done).
@@ -483,7 +483,7 @@ struct GNUNET_MQ_MessageHandler
/**
* Callback, called every time a new message of
- * the specified @e type has been receied.
+ * the specified @e type has been received.
* The closure given to @e mv will be this struct (not @e ctx).
*/
GNUNET_MQ_MessageCallback cb;
@@ -665,7 +665,7 @@ struct GNUNET_MQ_MessageHandler
* Call the message message handler that was registered
* for the type of the given message in the given @a handlers list.
*
- * This function is indended to be used for the implementation
+ * This function is indented to be used for the implementation
* of message queues.
*
* @param handlers a set of handlers
@@ -972,7 +972,7 @@ GNUNET_MQ_destroy_notify_cancel (
* Call the message message handler that was registered
* for the type of the given message in the given message queue.
*
- * This function is indended to be used for the implementation
+ * This function is indented to be used for the implementation
* of message queues.
*
* @param mq message queue with the handlers
diff --git a/src/include/gnunet_my_lib.h b/src/include/gnunet_my_lib.h
index b8513ca84..0c95d50d0 100644
--- a/src/include/gnunet_my_lib.h
+++ b/src/include/gnunet_my_lib.h
@@ -137,7 +137,7 @@ GNUNET_MY_query_param_fixed_size (const void *ptr,
* Run a prepared SELECT statement.
*
* @param mc mysql context
- * @param sh handle to SELECT statment
+ * @param sh handle to SELECT statement
* @param params parameters to the statement
* @return TBD
*/
diff --git a/src/include/gnunet_nat_service.h b/src/include/gnunet_nat_service.h
index b66c188cc..e39e2c016 100644
--- a/src/include/gnunet_nat_service.h
+++ b/src/include/gnunet_nat_service.h
@@ -108,7 +108,7 @@ enum GNUNET_NAT_AddressClass
GNUNET_NAT_AC_BT = 32,
/**
- * Loopback addresses, only useful under special cirumstances.
+ * Loopback addresses, only useful under special circumstances.
*/
GNUNET_NAT_AC_LOOPBACK = 64,
@@ -325,7 +325,7 @@ struct GNUNET_NAT_Handle;
* @param num_addrs number of addresses in @a addrs
* @param addrs list of local addresses packets should be redirected to
* @param addrlens actual lengths of the addresses in @a addrs
- * @param address_callback function to call everytime the public IP address changes
+ * @param address_callback function to call every time the public IP address changes
* @param reversal_callback function to call if someone wants connection reversal from us,
* NULL if connection reversal is not supported
* @param callback_cls closure for callbacks
diff --git a/src/include/gnunet_nse_service.h b/src/include/gnunet_nse_service.h
index 73a70ea24..23aff01c3 100644
--- a/src/include/gnunet_nse_service.h
+++ b/src/include/gnunet_nse_service.h
@@ -87,7 +87,7 @@ typedef void (*GNUNET_NSE_Callback) (void *cls,
* Connect to the network size estimation service.
*
* @param cfg the configuration to use
- * @param func funtion to call with network size estimate
+ * @param func function to call with network size estimate
* @param func_cls closure to pass to @a func
* @return handle to use in #GNUNET_NSE_disconnect to stop NSE from invoking the callbacks
*/
diff --git a/src/include/gnunet_nt_lib.h b/src/include/gnunet_nt_lib.h
index 18419a7b8..068c56302 100644
--- a/src/include/gnunet_nt_lib.h
+++ b/src/include/gnunet_nt_lib.h
@@ -88,7 +88,7 @@ struct GNUNET_NT_InterfaceScanner;
/**
- * Returns where the address is located: loopback, LAN or WAN.
+ * Returns where the address is located: loopback, LAN or WANT.
*
* @param is handle from #GNUNET_ATS_interface_scanner_init()
* @param addr address
diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h
index de717526c..c8a648032 100644
--- a/src/include/gnunet_pq_lib.h
+++ b/src/include/gnunet_pq_lib.h
@@ -568,7 +568,7 @@ GNUNET_PQ_eval_result (struct GNUNET_PQ_Context *db,
/**
* Execute a named prepared @a statement that is NOT a SELECT
- * statement in @a connnection using the given @a params. Returns the
+ * statement in @a connection using the given @a params. Returns the
* resulting session state.
*
* @param db database to execute the statement with
@@ -578,7 +578,7 @@ GNUNET_PQ_eval_result (struct GNUNET_PQ_Context *db,
* codes to `enum GNUNET_DB_QueryStatus`. If the
* statement was a DELETE or UPDATE statement, the
* number of affected rows is returned; if the
- * statment was an INSERT statement, and no row
+ * statement was an INSERT statement, and no row
* was added due to a UNIQUE violation, we return
* zero; if INSERT was successful, we return one.
*/
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 9aa029e9d..8e6e8b1be 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -1387,7 +1387,7 @@ extern "C" {
#define GNUNET_MESSAGE_TYPE_LOCKMANAGER_RELEASE 451
/**
- * SUCESS reply from lockmanager
+ * SUCCESS reply from lockmanager
*/
#define GNUNET_MESSAGE_TYPE_LOCKMANAGER_SUCCESS 452
@@ -2950,7 +2950,7 @@ extern "C" {
#define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN 1002
/**
- * Request the destuction of a connection
+ * Request the destruction of a connection
*/
#define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY 1003
@@ -3238,7 +3238,7 @@ extern "C" {
#define GNUNET_MESSAGE_TYPE_RPS_CS_DEBUG_STREAM_REPLY 1134
/**
- * @brief Cancel getting biased strem
+ * @brief Cancel getting biased stream
*/
#define GNUNET_MESSAGE_TYPE_RPS_CS_DEBUG_STREAM_CANCEL 1135
diff --git a/src/include/gnunet_reclaim_service.h b/src/include/gnunet_reclaim_service.h
index 8549081a1..38e1c8735 100644
--- a/src/include/gnunet_reclaim_service.h
+++ b/src/include/gnunet_reclaim_service.h
@@ -87,7 +87,7 @@ struct GNUNET_RECLAIM_Ticket
/**
* Method called when a token has been issued.
* On success returns a ticket that can be given to a relying party
- * in order for it retrive identity attributes
+ * in order for it retrieve identity attributes
*
* @param cls closure
* @param ticket the ticket
@@ -99,7 +99,7 @@ typedef void (*GNUNET_RECLAIM_TicketCallback) (
/**
* Method called when a token has been issued.
* On success returns a ticket that can be given to a relying party
- * in order for it retrive identity attributes
+ * in order for it retrieve identity attributes
*
* @param cls closure
* @param ticket the ticket
diff --git a/src/include/gnunet_regex_service.h b/src/include/gnunet_regex_service.h
index 854241ac0..a875eab90 100644
--- a/src/include/gnunet_regex_service.h
+++ b/src/include/gnunet_regex_service.h
@@ -98,7 +98,7 @@ GNUNET_REGEX_announce_cancel (struct GNUNET_REGEX_Announcement *a);
* @param cls Closure provided in #GNUNET_REGEX_search.
* @param id Peer providing a regex that matches the string.
* @param get_path Path of the get request.
- * @param get_path_length Lenght of @a get_path.
+ * @param get_path_length Length of @a get_path.
* @param put_path Path of the put request.
* @param put_path_length Length of the @a put_path.
*/
diff --git a/src/include/gnunet_revocation_service.h b/src/include/gnunet_revocation_service.h
index d56116914..8cff948e2 100644
--- a/src/include/gnunet_revocation_service.h
+++ b/src/include/gnunet_revocation_service.h
@@ -142,7 +142,7 @@ typedef void (*GNUNET_REVOCATION_Callback) (void *cls,
*
* @param cfg the configuration to use
* @param key key to check for revocation
- * @param func funtion to call with the result of the check
+ * @param func function to call with the result of the check
* @param func_cls closure to pass to @a func
* @return handle to use in #GNUNET_REVOCATION_query_cancel to stop REVOCATION from invoking the callback
*/
diff --git a/src/include/gnunet_rps_service.h b/src/include/gnunet_rps_service.h
index f5df8639f..a0ed675f7 100644
--- a/src/include/gnunet_rps_service.h
+++ b/src/include/gnunet_rps_service.h
@@ -118,7 +118,7 @@ GNUNET_RPS_sub_stop (struct GNUNET_RPS_Handle *h,
/**
* Request n random peers.
*
- * This does exacly the same as GNUNET_RPS_request_peers_single_call
+ * This does exactly the same as GNUNET_RPS_request_peers_single_call
* but needs a GNUNET_RPS_Handle.
* This exists only for other parts of GNUnet that expect having to
* (dis)connect from/to a service.
@@ -161,7 +161,7 @@ GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint32_t n,
const struct GNUNET_PeerIdentity *ids);
/**
- * Cancle an issued request.
+ * Cancel an issued request.
*
* @param rh handle of the pending request to be canceled
*/
@@ -170,9 +170,9 @@ GNUNET_RPS_request_cancel (struct GNUNET_RPS_Request_Handle *rh);
/**
- * Cancle an issued single info request.
+ * Cancel an issued single info request.
*
- * @param rhs request handle of request to cancle
+ * @param rhs request handle of request to cancel
*/
void
GNUNET_RPS_request_single_info_cancel (
diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h
index 127f1db78..c13cf482a 100644
--- a/src/include/gnunet_secretsharing_service.h
+++ b/src/include/gnunet_secretsharing_service.h
@@ -164,7 +164,7 @@ struct GNUNET_SECRETSHARING_Plaintext
* @param my_share the share of this peer
* @param public_key public key of the session
* @param num_ready_peers number of peers in @a ready_peers
- * @param ready_peers peers that successfuly participated in establishing
+ * @param ready_peers peers that successfully participated in establishing
* the shared secret
*/
typedef void
@@ -236,14 +236,14 @@ GNUNET_SECRETSHARING_session_destroy (struct GNUNET_SECRETSHARING_Session *s);
* Encrypt a value. This operation is executed locally, no communication is
* necessary.
*
- * This is a helper function, encryption can be done soley with a session's public key
+ * This is a helper function, encryption can be done solely with a session's public key
* and the crypto system parameters.
*
* @param public_key public key to use for decryption
* @param message message to encrypt
* @param message_size number of bytes in @a message
* @param result_ciphertext pointer to store the resulting ciphertext
- * @return #GNUNET_YES on succes, #GNUNET_SYSERR if the message is invalid (invalid range)
+ * @return #GNUNET_YES on success, #GNUNET_SYSERR if the message is invalid (invalid range)
*/
int
GNUNET_SECRETSHARING_encrypt (const struct
diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h
index 187c65626..802a979cd 100644
--- a/src/include/gnunet_set_service.h
+++ b/src/include/gnunet_set_service.h
@@ -313,7 +313,7 @@ typedef int
* to accept it, otherwise the request will be refused
* Note that we can't just return value from the listen callback,
* as it is also necessary to specify the set we want to do the
- * operation with, whith sometimes can be derived from the context
+ * operation with, with sometimes can be derived from the context
* message. It's necessary to specify the timeout.
*/
typedef void
@@ -336,7 +336,7 @@ typedef void
* @param op operation supported by the set
* Note that the operation has to be specified
* beforehand, as certain set operations need to maintain
- * data structures spefific to the operation
+ * data structures specific to the operation
* @return a handle to the set
*/
struct GNUNET_SET_Handle *
@@ -520,7 +520,7 @@ GNUNET_SET_operation_cancel (struct GNUNET_SET_OperationHandle *oh);
* @param set the set to iterate over
* @param iter the iterator to call for each element
* @param iter_cls closure for @a iter
- * @return #GNUNET_YES if the iteration started successfuly,
+ * @return #GNUNET_YES if the iteration started successfully,
* #GNUNET_NO if another iteration was still active,
* #GNUNET_SYSERR if the set is invalid (e.g. the server crashed, disconnected)
*/
diff --git a/src/include/gnunet_seti_service.h b/src/include/gnunet_seti_service.h
index c0b6f41a5..5cf35e0cd 100644
--- a/src/include/gnunet_seti_service.h
+++ b/src/include/gnunet_seti_service.h
@@ -194,7 +194,7 @@ typedef void
* to accept it, otherwise the request will be refused
* Note that we can't just return value from the listen callback,
* as it is also necessary to specify the set we want to do the
- * operation with, whith sometimes can be derived from the context
+ * operation with, with sometimes can be derived from the context
* message. It's necessary to specify the timeout.
*/
typedef void
diff --git a/src/include/gnunet_setu_service.h b/src/include/gnunet_setu_service.h
index 634c5c40b..bacec9408 100644
--- a/src/include/gnunet_setu_service.h
+++ b/src/include/gnunet_setu_service.h
@@ -215,7 +215,7 @@ typedef void
* to accept it, otherwise the request will be refused
* Note that we can't just return value from the listen callback,
* as it is also necessary to specify the set we want to do the
- * operation with, whith sometimes can be derived from the context
+ * operation with, with sometimes can be derived from the context
* message. It's necessary to specify the timeout.
*/
typedef void
diff --git a/src/include/gnunet_signal_lib.h b/src/include/gnunet_signal_lib.h
index 9be1683db..5a14a2d9e 100644
--- a/src/include/gnunet_signal_lib.h
+++ b/src/include/gnunet_signal_lib.h
@@ -73,7 +73,7 @@ GNUNET_SIGNAL_handler_install (int signal,
/**
- * Uninstall a previously installed signal hander.
+ * Uninstall a previously installed signal handler.
*
* @param ctx context that was returned when the
* signal handler was installed
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index 8d829d42e..cc655d0b0 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -116,7 +116,7 @@ GNUNET_STRINGS_byte_size_fancy (unsigned long long size);
* @param input_charset character set used for @a input
* @param output_charset desired character set for the return value
* @return the converted string (0-terminated),
- * if conversion fails, a copy of the orignal
+ * if conversion fails, a copy of the original
* string is returned.
*/
char *
@@ -150,7 +150,7 @@ GNUNET_STRINGS_to_utf8 (const char *input,
* @param len the number of bytes in the @a input
* @param charset character set to convert to
* @return the converted string (0-terminated),
- * if conversion fails, a copy of the orignal
+ * if conversion fails, a copy of the original
* string is returned.
*/
char *
@@ -518,7 +518,7 @@ GNUNET_STRINGS_check_filename (const char *filename,
* @param addrlen length of zt_addr (not counting 0-terminator).
* @param r_buf a buffer to fill. Initially gets filled with zeroes,
* then its sin6_port, sin6_family and sin6_addr are set appropriately.
- * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which
+ * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which
* case the contents of r_buf are undefined.
*/
int
@@ -534,7 +534,7 @@ GNUNET_STRINGS_to_address_ipv6 (const char *zt_addr,
* @param zt_addr 0-terminated string. May be mangled by the function.
* @param addrlen length of zt_addr (not counting 0-terminator).
* @param r_buf a buffer to fill.
- * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which case
+ * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which case
* the contents of r_buf are undefined.
*/
int
@@ -566,7 +566,7 @@ GNUNET_STRINGS_parse_socket_addr (const char *addr,
* @param addrlen number of bytes in @a addr (if addr is 0-terminated,
* 0-terminator should not be counted towards addrlen).
* @param r_buf a buffer to fill.
- * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which
+ * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which
* case the contents of r_buf are undefined.
*/
int
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index 03c372623..70cbfa90d 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -417,12 +417,12 @@ struct GNUNET_TESTBED_ControllerProc;
/**
- * Callback to signal successfull startup of the controller process
+ * Callback to signal successful startup of the controller process
*
* @param cls the closure from GNUNET_TESTBED_controller_start()
* @param cfg the configuration with which the controller has been started;
* NULL if status is not #GNUNET_OK
- * @param status #GNUNET_OK if the startup is successfull; #GNUNET_SYSERR if not,
+ * @param status #GNUNET_OK if the startup is successful; #GNUNET_SYSERR if not,
* GNUNET_TESTBED_controller_stop() shouldn't be called in this case
*/
typedef void
@@ -770,7 +770,7 @@ struct GNUNET_TESTBED_PeerInformation
* @param op the operation this callback corresponds to
* @param pinfo the result; will be NULL if the operation has failed
* @param emsg error message if the operation has failed; will be NULL if the
- * operation is successfull
+ * operation is successful
*/
typedef void
(*GNUNET_TESTBED_PeerInfoCallback) (void *cb_cls,
@@ -1364,7 +1364,7 @@ GNUNET_TESTBED_get_index (const struct GNUNET_TESTBED_Peer *peer);
/**
- * Handle for testbed run helper funtions
+ * Handle for testbed run helper functions
*/
struct GNUNET_TESTBED_RunHandle;
@@ -1452,7 +1452,7 @@ GNUNET_TESTBED_run (const char *host_filename,
* the program is stopped without 'master' ever being run.
*
* NOTE: this function should be called from 'main', NOT from
- * within a GNUNET_SCHEDULER-loop. This function will initialze
+ * within a GNUNET_SCHEDULER-loop. This function will initialize
* the scheduler loop, the testbed and then pass control to
* 'master'.
*
@@ -1537,7 +1537,7 @@ enum GNUNET_TESTBED_BarrierStatus
* invalid to call GNUNET_TESTBED_barrier_cancel() on a crossed or
* errored barrier.
* @param emsg if the status were to be #GNUNET_SYSERR, this parameter has the
- * error messsage
+ * error message
*/
typedef void
(*GNUNET_TESTBED_barrier_status_cb) (void *cls,
@@ -1585,7 +1585,7 @@ struct GNUNET_TESTBED_BarrierWaitHandle;
/**
- * Functions of this type are to be given as acallback argumetn to
+ * Functions of this type are to be given as acallback argument to
* GNUNET_TESTBED_barrier_wait(). The callback will be called when the barrier
* corresponding given in GNUNET_TESTBED_barrier_wait() is crossed or cancelled.
*
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h
index 22e142e43..664e20ac3 100644
--- a/src/include/gnunet_testing_lib.h
+++ b/src/include/gnunet_testing_lib.h
@@ -135,7 +135,7 @@ GNUNET_TESTING_system_create (const char *testdir,
* handle per operating system. Use this function directly
* if multiple system objects are created for the same host
* (only really useful when testing --- or to make the port
- * range configureable).
+ * range configurable).
*
* @param testdir only the directory name without any path. This is used for
* all service homes; the directory will be created in a temporary
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h
index 6f14de2f4..1237c4a65 100644
--- a/src/include/gnunet_time_lib.h
+++ b/src/include/gnunet_time_lib.h
@@ -391,7 +391,7 @@ GNUNET_TIME_calculate_eta (struct GNUNET_TIME_Absolute start,
/**
* Compute the time difference between the given start and end times.
* Use this function instead of actual subtraction to ensure that
- * "FOREVER" and overflows are handeled correctly.
+ * "FOREVER" and overflows are handled correctly.
*
* @param start some absolute time
* @param end some absolute time (typically larger or equal to start)
diff --git a/src/include/gnunet_transport_application_service.h b/src/include/gnunet_transport_application_service.h
index ea254d242..35585d954 100644
--- a/src/include/gnunet_transport_application_service.h
+++ b/src/include/gnunet_transport_application_service.h
@@ -71,7 +71,7 @@ GNUNET_TRANSPORT_application_done (
* @param peer identity of the peer we need an address for
* @param pk what kind of application will the application require (can be
* #GNUNET_MQ_PRIO_BACKGROUND, we will still try to connect)
- * @param bw desired bandwith, can be zero (we will still try to connect)
+ * @param bw desired bandwidth, can be zero (we will still try to connect)
* @return suggest handle, NULL if a request is already pending
*/
struct GNUNET_TRANSPORT_ApplicationSuggestHandle *
@@ -104,7 +104,7 @@ GNUNET_TRANSPORT_application_suggest_cancel (
* @param peer identity of the peer we have an address for
* @param nt network type of @a addr (as claimed by the other peer);
* used by TRANSPORT to avoid trying @a addr's that really cannot work
- * due to network type missmatches
+ * due to network type mismatches
* @param addr address to validate
*/
void
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h
index 431b9a671..af2e36b4d 100644
--- a/src/include/gnunet_transport_communication_service.h
+++ b/src/include/gnunet_transport_communication_service.h
@@ -203,7 +203,7 @@ typedef void
* immediately dropped due to memory limitations (communicator
* should try to apply back pressure),
* #GNUNET_SYSERR if the message could not be delivered because
- * the tranport service is not yet up
+ * the transport service is not yet up
*/
int
GNUNET_TRANSPORT_communicator_receive (
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h
index 5ca9f5015..01b10f75c 100644
--- a/src/include/gnunet_transport_plugin.h
+++ b/src/include/gnunet_transport_plugin.h
@@ -127,7 +127,7 @@ typedef struct GNUNET_TIME_Relative
/**
* Function that can be called by plugins to figure if an address is
- * an loopback, LAN or WAN address. Ultimately invokes
+ * an loopback, LAN or WANT address. Ultimately invokes
* #GNUNET_ATS_address_get_type().
*
* @param cls closure
@@ -265,7 +265,7 @@ struct GNUNET_TRANSPORT_PluginEnvironment
/**
* Function that will be called to figure if an address is an loopback,
- * LAN, WAN etc. address
+ * LAN, WANT etc. address
*/
GNUNET_TRANSPORT_AddressToType get_address_type;
diff --git a/src/include/gnunet_uri_lib.h b/src/include/gnunet_uri_lib.h
index 57c9e9316..b92f1b53f 100644
--- a/src/include/gnunet_uri_lib.h
+++ b/src/include/gnunet_uri_lib.h
@@ -108,7 +108,7 @@ GNUNET_uri_split_path (char *path,
* in the yuarel_param struct.
*
* *query: the query string to parse. The string will be modified.
- * delimiter: the character that separates the key/value pairs from eachother.
+ * delimiter: the character that separates the key/value pairs from each other.
* *params: an array of (struct yuarel_param) where to store the result.
* max_values: max number of parameters to parse.
*
diff --git a/src/include/platform.h b/src/include/platform.h
index 10248e5bb..355bf0051 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -23,7 +23,7 @@
* @author Christian Grothoff
*
* @file
- * Plaform specific includes and defines.
+ * Platform specific includes and defines.
*
* This file should never be included by installed
* header files (those starting with "gnunet_").
diff --git a/src/json/json_mhd.c b/src/json/json_mhd.c
index 0cc2e92dc..3a711b4f4 100644
--- a/src/json/json_mhd.c
+++ b/src/json/json_mhd.c
@@ -116,7 +116,7 @@ buffer_deinit (struct Buffer *buf)
* @param data_size the size of @a data
* @param max_size maximum size that the buffer can grow to
* @return #GNUNET_OK on success,
- * #GNUNET_NO if the buffer can't accomodate for the new data
+ * #GNUNET_NO if the buffer can't accommodate for the new data
*/
static int
buffer_append (struct Buffer *buf,
diff --git a/src/pq/pq_eval.c b/src/pq/pq_eval.c
index 8d8b5b0f2..5f96ff884 100644
--- a/src/pq/pq_eval.c
+++ b/src/pq/pq_eval.c
@@ -146,7 +146,7 @@ GNUNET_PQ_eval_result (struct GNUNET_PQ_Context *db,
/**
* Execute a named prepared @a statement that is NOT a SELECT
- * statement in @a connnection using the given @a params. Returns the
+ * statement in @a connection using the given @a params. Returns the
* resulting session state.
*
* @param db database to execute the statement with
@@ -156,7 +156,7 @@ GNUNET_PQ_eval_result (struct GNUNET_PQ_Context *db,
* codes to `enum GNUNET_DB_QueryStatus`. If the
* statement was a DELETE or UPDATE statement, the
* number of affected rows is returned.; if the
- * statment was an INSERT statement, and no row
+ * statement was an INSERT statement, and no row
* was added due to a UNIQUE violation, we return
* zero; if INSERT was successful, we return one.
*/