diff options
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 | |||
207 | const char *binary; | 207 | const char *binary; |
208 | 208 | ||
209 | /** | 209 | /** |
210 | * Time when the sevice will be restarted, if applicable | 210 | * Time when the service will be restarted, if applicable |
211 | * to the current status. | 211 | * to the current status. |
212 | */ | 212 | */ |
213 | struct GNUNET_TIME_Absolute restart_at; | 213 | struct GNUNET_TIME_Absolute restart_at; |
214 | 214 | ||
215 | /** | 215 | /** |
216 | * Time when the sevice was first started, if applicable. | 216 | * Time when the service was first started, if applicable. |
217 | */ | 217 | */ |
218 | struct GNUNET_TIME_Absolute last_started_at; | 218 | struct GNUNET_TIME_Absolute last_started_at; |
219 | 219 | ||
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; | |||
71 | 71 | ||
72 | /** | 72 | /** |
73 | * An application would like to communicate with a peer. ATS should | 73 | * An application would like to communicate with a peer. ATS should |
74 | * allocate bandwith using a suitable address for requiremetns @a pk | 74 | * allocate bandwidth using a suitable address for requiremetns @a pk |
75 | * to transport. | 75 | * to transport. |
76 | * | 76 | * |
77 | * @param ch handle | 77 | * @param ch handle |
78 | * @param peer identity of the peer we need an address for | 78 | * @param peer identity of the peer we need an address for |
79 | * @param pk what kind of application will the application require (can be | 79 | * @param pk what kind of application will the application require (can be |
80 | * #GNUNET_MQ_PREFERENCE_NONE, we will still try to connect) | 80 | * #GNUNET_MQ_PREFERENCE_NONE, we will still try to connect) |
81 | * @param bw desired bandwith, can be zero (we will still try to connect) | 81 | * @param bw desired bandwidth, can be zero (we will still try to connect) |
82 | * @return suggestion handle, NULL if request is already pending | 82 | * @return suggestion handle, NULL if request is already pending |
83 | */ | 83 | */ |
84 | struct GNUNET_ATS_ApplicationSuggestHandle * | 84 | 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 | |||
139 | 139 | ||
140 | 140 | ||
141 | /** | 141 | /** |
142 | * Get the prefered address for a peer from solver | 142 | * Get the preferred address for a peer from solver |
143 | * | 143 | * |
144 | * @param solver the solver to use | 144 | * @param solver the solver to use |
145 | * @param peer the peer | 145 | * @param peer the peer |
@@ -150,7 +150,7 @@ typedef void | |||
150 | 150 | ||
151 | 151 | ||
152 | /** | 152 | /** |
153 | * Stop getting the prefered address for a peer from solver | 153 | * Stop getting the preferred address for a peer from solver |
154 | * | 154 | * |
155 | * @param solver the solver to use | 155 | * @param solver the solver to use |
156 | * @param peer the peer | 156 | * @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, | |||
334 | 334 | ||
335 | /** | 335 | /** |
336 | * A @a session was destroyed, disassociate it from the given address | 336 | * A @a session was destroyed, disassociate it from the given address |
337 | * record. If this was an incoming addess, destroys the address as | 337 | * record. If this was an incoming address, destroys the address as |
338 | * well. | 338 | * well. |
339 | * | 339 | * |
340 | * @param ar address record to update information for | 340 | * @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 @@ | |||
25 | * Buffered IO library | 25 | * Buffered IO library |
26 | * | 26 | * |
27 | * @defgroup bio BIO library | 27 | * @defgroup bio BIO library |
28 | * Buffered binary disk IO (with endianess conversion) | 28 | * Buffered binary disk IO (with endianness conversion) |
29 | * @{ | 29 | * @{ |
30 | */ | 30 | */ |
31 | 31 | ||
@@ -65,7 +65,7 @@ GNUNET_BIO_read_open_file (const char *fn); | |||
65 | * | 65 | * |
66 | * @param buffer the buffer to use as source | 66 | * @param buffer the buffer to use as source |
67 | * @param size the total size in bytes of the buffer | 67 | * @param size the total size in bytes of the buffer |
68 | * @return IO handle on sucess, NULL on error | 68 | * @return IO handle on success, NULL on error |
69 | */ | 69 | */ |
70 | struct GNUNET_BIO_ReadHandle * | 70 | struct GNUNET_BIO_ReadHandle * |
71 | GNUNET_BIO_read_open_buffer (void *buffer, size_t size); | 71 | GNUNET_BIO_read_open_buffer (void *buffer, size_t size); |
@@ -212,7 +212,7 @@ GNUNET_BIO_write_open_buffer (void); | |||
212 | 212 | ||
213 | /** | 213 | /** |
214 | * Force a file-based buffered writer to flush its buffer. | 214 | * Force a file-based buffered writer to flush its buffer. |
215 | * If the handle does not use a file, this function returs #GNUNET_OK | 215 | * If the handle does not use a file, this function returns #GNUNET_OK |
216 | * without doing anything. | 216 | * without doing anything. |
217 | * | 217 | * |
218 | * @param h the IO handle | 218 | * @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); | |||
170 | 170 | ||
171 | 171 | ||
172 | /** | 172 | /** |
173 | * Open a port to receive incomming MQ-based channels. | 173 | * Open a port to receive incoming MQ-based channels. |
174 | * | 174 | * |
175 | * @param h CADET handle. | 175 | * @param h CADET handle. |
176 | * @param port Hash identifying the port. | 176 | * @param port Hash identifying the port. |
@@ -309,7 +309,7 @@ union GNUNET_CADET_ChannelInfo | |||
309 | * Get information about a channel. | 309 | * Get information about a channel. |
310 | * | 310 | * |
311 | * @param channel Channel handle. | 311 | * @param channel Channel handle. |
312 | * @param ... dependant on option, currently not used | 312 | * @param ... dependent on option, currently not used |
313 | * @return Union with an answer to the query. | 313 | * @return Union with an answer to the query. |
314 | */ | 314 | */ |
315 | const union GNUNET_CADET_ChannelInfo * | 315 | 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, | |||
65 | 65 | ||
66 | /** | 66 | /** |
67 | * Create a message queue to connect to a GNUnet service. | 67 | * Create a message queue to connect to a GNUnet service. |
68 | * If handlers are specfied, receive messages from the connection. | 68 | * If handlers are specified, receive messages from the connection. |
69 | * | 69 | * |
70 | * @param connection the client connection | 70 | * @param connection the client connection |
71 | * @param handlers handlers for receiving messages, can be NULL | 71 | * @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); | |||
1041 | strerror (errno)); \ | 1041 | strerror (errno)); \ |
1042 | } while (0) | 1042 | } while (0) |
1043 | 1043 | ||
1044 | /* ************************* endianess conversion ****************** */ | 1044 | /* ************************* endianness conversion ****************** */ |
1045 | 1045 | ||
1046 | #ifdef htonbe64 | 1046 | #ifdef htonbe64 |
1047 | 1047 | ||
@@ -1265,7 +1265,7 @@ GNUNET_is_zero_ (const void *a, | |||
1265 | * @ingroup memory | 1265 | * @ingroup memory |
1266 | * Allocate and initialize a block of memory. | 1266 | * Allocate and initialize a block of memory. |
1267 | * | 1267 | * |
1268 | * @param buf data to initalize the block with | 1268 | * @param buf data to initialize the block with |
1269 | * @param size the number of bytes in buf (and size of the allocation) | 1269 | * @param size the number of bytes in buf (and size of the allocation) |
1270 | * @return pointer to size bytes of memory, never NULL (!) | 1270 | * @return pointer to size bytes of memory, never NULL (!) |
1271 | */ | 1271 | */ |
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, | |||
512 | 512 | ||
513 | /** | 513 | /** |
514 | * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR" | 514 | * Expand an expression of the form "$FOO/BAR" to "DIRECTORY/BAR" |
515 | * where either in the "PATHS" section or the environtment "FOO" is | 515 | * where either in the "PATHS" section or the environment "FOO" is |
516 | * set to "DIRECTORY". We also support default expansion, | 516 | * set to "DIRECTORY". We also support default expansion, |
517 | * i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is | 517 | * i.e. ${VARIABLE:-default} will expand to $VARIABLE if VARIABLE is |
518 | * set in PATHS or the environment, and otherwise to "default". Note | 518 | * 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 ( | |||
323 | 323 | ||
324 | /** | 324 | /** |
325 | * @ingroup bloomfilter | 325 | * @ingroup bloomfilter |
326 | * Free the space associcated with a filter | 326 | * Free the space associated with a filter |
327 | * in memory, flush to drive if needed (do not | 327 | * in memory, flush to drive if needed (do not |
328 | * free the space on the drive). | 328 | * free the space on the drive). |
329 | * | 329 | * |
@@ -782,7 +782,7 @@ typedef int (*GNUNET_CONTAINER_MulitHashMapIteratorCallback) ( | |||
782 | * to be copied as the destination of the pointer is | 782 | * to be copied as the destination of the pointer is |
783 | * guaranteed to be life as long as the value is stored in | 783 | * guaranteed to be life as long as the value is stored in |
784 | * the hashmap. This can significantly reduce memory | 784 | * the hashmap. This can significantly reduce memory |
785 | * consumption, but of course is also a recipie for | 785 | * consumption, but of course is also a recipe for |
786 | * heap corruption if the assumption is not true. Only | 786 | * heap corruption if the assumption is not true. Only |
787 | * use this if (1) memory use is important in this case and | 787 | * use this if (1) memory use is important in this case and |
788 | * (2) you have triple-checked that the invariant holds | 788 | * (2) you have triple-checked that the invariant holds |
@@ -1072,7 +1072,7 @@ struct GNUNET_CONTAINER_MultiPeerMap; | |||
1072 | * to be copied as the destination of the pointer is | 1072 | * to be copied as the destination of the pointer is |
1073 | * guaranteed to be life as long as the value is stored in | 1073 | * guaranteed to be life as long as the value is stored in |
1074 | * the hashmap. This can significantly reduce memory | 1074 | * the hashmap. This can significantly reduce memory |
1075 | * consumption, but of course is also a recipie for | 1075 | * consumption, but of course is also a recipe for |
1076 | * heap corruption if the assumption is not true. Only | 1076 | * heap corruption if the assumption is not true. Only |
1077 | * use this if (1) memory use is important in this case and | 1077 | * use this if (1) memory use is important in this case and |
1078 | * (2) you have triple-checked that the invariant holds | 1078 | * (2) you have triple-checked that the invariant holds |
@@ -1351,7 +1351,7 @@ struct GNUNET_CONTAINER_MultiShortmap; | |||
1351 | * to be copied as the destination of the pointer is | 1351 | * to be copied as the destination of the pointer is |
1352 | * guaranteed to be life as long as the value is stored in | 1352 | * guaranteed to be life as long as the value is stored in |
1353 | * the hashmap. This can significantly reduce memory | 1353 | * the hashmap. This can significantly reduce memory |
1354 | * consumption, but of course is also a recipie for | 1354 | * consumption, but of course is also a recipe for |
1355 | * heap corruption if the assumption is not true. Only | 1355 | * heap corruption if the assumption is not true. Only |
1356 | * use this if (1) memory use is important in this case and | 1356 | * use this if (1) memory use is important in this case and |
1357 | * (2) you have triple-checked that the invariant holds | 1357 | * (2) you have triple-checked that the invariant holds |
@@ -1634,7 +1634,7 @@ struct GNUNET_CONTAINER_MultiUuidmap; | |||
1634 | * to be copied as the destination of the pointer is | 1634 | * to be copied as the destination of the pointer is |
1635 | * guaranteed to be life as long as the value is stored in | 1635 | * guaranteed to be life as long as the value is stored in |
1636 | * the hashmap. This can significantly reduce memory | 1636 | * the hashmap. This can significantly reduce memory |
1637 | * consumption, but of course is also a recipie for | 1637 | * consumption, but of course is also a recipe for |
1638 | * heap corruption if the assumption is not true. Only | 1638 | * heap corruption if the assumption is not true. Only |
1639 | * use this if (1) memory use is important in this case and | 1639 | * use this if (1) memory use is important in this case and |
1640 | * (2) you have triple-checked that the invariant holds | 1640 | * (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); | |||
396 | 396 | ||
397 | /** | 397 | /** |
398 | * Check if the given peer is currently connected. This function is for special | 398 | * Check if the given peer is currently connected. This function is for special |
399 | * cirumstances (GNUNET_TESTBED uses it), normal users of the CORE API are | 399 | * circumstances (GNUNET_TESTBED uses it), normal users of the CORE API are |
400 | * expected to track which peers are connected based on the connect/disconnect | 400 | * expected to track which peers are connected based on the connect/disconnect |
401 | * callbacks from #GNUNET_CORE_connect. This function is NOT part of the | 401 | * callbacks from #GNUNET_CORE_connect. This function is NOT part of the |
402 | * 'versioned', 'official' API. This function returns | 402 | * '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); | |||
419 | /** | 419 | /** |
420 | * Convert results from GNUNET_CRYPTO_crc16_step to final crc16. | 420 | * Convert results from GNUNET_CRYPTO_crc16_step to final crc16. |
421 | * | 421 | * |
422 | * @param sum cummulative sum | 422 | * @param sum cumulative sum |
423 | * @return crc16 value | 423 | * @return crc16 value |
424 | */ | 424 | */ |
425 | uint16_t | 425 | uint16_t |
@@ -693,7 +693,7 @@ GNUNET_CRYPTO_pow_hash (const struct GNUNET_CRYPTO_PowSalt *salt, | |||
693 | 693 | ||
694 | 694 | ||
695 | /** | 695 | /** |
696 | * Context for cummulative hashing. | 696 | * Context for cumulative hashing. |
697 | */ | 697 | */ |
698 | struct GNUNET_HashContext; | 698 | struct GNUNET_HashContext; |
699 | 699 | ||
@@ -710,7 +710,7 @@ GNUNET_CRYPTO_hash_context_start (void); | |||
710 | /** | 710 | /** |
711 | * Add data to be hashed. | 711 | * Add data to be hashed. |
712 | * | 712 | * |
713 | * @param hc cummulative hash context | 713 | * @param hc cumulative hash context |
714 | * @param buf data to add | 714 | * @param buf data to add |
715 | * @param size number of bytes in @a buf | 715 | * @param size number of bytes in @a buf |
716 | */ | 716 | */ |
@@ -802,7 +802,7 @@ struct GNUNET_CRYPTO_FileHashContext; | |||
802 | * @param blocksize number of bytes to process in one task | 802 | * @param blocksize number of bytes to process in one task |
803 | * @param callback function to call upon completion | 803 | * @param callback function to call upon completion |
804 | * @param callback_cls closure for @a callback | 804 | * @param callback_cls closure for @a callback |
805 | * @return NULL on (immediate) errror | 805 | * @return NULL on (immediate) error |
806 | */ | 806 | */ |
807 | struct GNUNET_CRYPTO_FileHashContext * | 807 | struct GNUNET_CRYPTO_FileHashContext * |
808 | GNUNET_CRYPTO_hash_file (enum GNUNET_SCHEDULER_Priority priority, | 808 | GNUNET_CRYPTO_hash_file (enum GNUNET_SCHEDULER_Priority priority, |
@@ -1947,7 +1947,7 @@ GNUNET_CRYPTO_paillier_create ( | |||
1947 | * @param public_key Public key to use. | 1947 | * @param public_key Public key to use. |
1948 | * @param m Plaintext to encrypt. | 1948 | * @param m Plaintext to encrypt. |
1949 | * @param desired_ops How many homomorphic ops the caller intends to use | 1949 | * @param desired_ops How many homomorphic ops the caller intends to use |
1950 | * @param[out] ciphertext Encrytion of @a plaintext with @a public_key. | 1950 | * @param[out] ciphertext Encryption of @a plaintext with @a public_key. |
1951 | * @return guaranteed number of supported homomorphic operations >= 1, | 1951 | * @return guaranteed number of supported homomorphic operations >= 1, |
1952 | * or desired_ops, in case that is lower, | 1952 | * or desired_ops, in case that is lower, |
1953 | * or -1 if less than one homomorphic operation is possible | 1953 | * or -1 if less than one homomorphic operation is possible |
@@ -2100,7 +2100,7 @@ GNUNET_CRYPTO_rsa_private_key_dup ( | |||
2100 | * Extract the public key of the given private key. | 2100 | * Extract the public key of the given private key. |
2101 | * | 2101 | * |
2102 | * @param priv the private key | 2102 | * @param priv the private key |
2103 | * @retur NULL on error, otherwise the public key | 2103 | * @return NULL on error, otherwise the public key |
2104 | */ | 2104 | */ |
2105 | struct GNUNET_CRYPTO_RsaPublicKey * | 2105 | struct GNUNET_CRYPTO_RsaPublicKey * |
2106 | GNUNET_CRYPTO_rsa_private_key_get_public ( | 2106 | 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 @@ | |||
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file include/gnunet_db_lib.h | 21 | * @file include/gnunet_db_lib.h |
22 | * @brief shared defintions for transactional databases | 22 | * @brief shared definitions for transactional databases |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #ifndef GNUNET_DB_LIB_H | 25 | #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 | |||
60 | * Set this flag to see all requests first prior to resolution | 60 | * Set this flag to see all requests first prior to resolution |
61 | * (for monitoring). Clients that set this flag must then | 61 | * (for monitoring). Clients that set this flag must then |
62 | * call "GNUNET_DNS_request_forward" when they process a request | 62 | * call "GNUNET_DNS_request_forward" when they process a request |
63 | * for the first time. Caling "GNUNET_DNS_request_answer" is | 63 | * for the first time. Calling "GNUNET_DNS_request_answer" is |
64 | * not allowed for MONITOR peers. | 64 | * not allowed for MONITOR peers. |
65 | */ | 65 | */ |
66 | GNUNET_DNS_FLAG_REQUEST_MONITOR = 1, | 66 | GNUNET_DNS_FLAG_REQUEST_MONITOR = 1, |
@@ -89,7 +89,7 @@ enum GNUNET_DNS_Flags | |||
89 | * Set this flag to see all requests just before they are | 89 | * Set this flag to see all requests just before they are |
90 | * returned to the network. Clients that set this flag must then | 90 | * returned to the network. Clients that set this flag must then |
91 | * call "GNUNET_DNS_request_forward" when they process a request | 91 | * call "GNUNET_DNS_request_forward" when they process a request |
92 | * for the last time. Caling "GNUNET_DNS_request_answer" is | 92 | * for the last time. Calling "GNUNET_DNS_request_answer" is |
93 | * not allowed for MONITOR peers. | 93 | * not allowed for MONITOR peers. |
94 | */ | 94 | */ |
95 | GNUNET_DNS_FLAG_RESPONSE_MONITOR = 8 | 95 | 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 | |||
285 | GNUNET_DNSPARSER_CERTALGO_RSASHA512 = 10, | 285 | GNUNET_DNSPARSER_CERTALGO_RSASHA512 = 10, |
286 | 286 | ||
287 | /** | 287 | /** |
288 | * GOST R 34.10-2001 | 288 | * GHOST R 34.10-2001 |
289 | */ | 289 | */ |
290 | GNUNET_DNSPARSER_CERTALGO_GOST_R34 = 12, | 290 | GNUNET_DNSPARSER_CERTALGO_GOST_R34 = 12, |
291 | 291 | ||
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; | |||
159 | 159 | ||
160 | /** | 160 | /** |
161 | * Function that is called with acknowledgement messages created by | 161 | * Function that is called with acknowledgement messages created by |
162 | * the fragmentation module. Acknowledgements are cummulative, | 162 | * the fragmentation module. Acknowledgements are cumulative, |
163 | * so it is OK to only transmit the 'latest' ack message for the same | 163 | * so it is OK to only transmit the 'latest' ack message for the same |
164 | * message ID. | 164 | * message ID. |
165 | * | 165 | * |
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 | |||
543 | /** | 543 | /** |
544 | * Notification that we have stopped | 544 | * Notification that we have stopped |
545 | * the process of uploading a file structure; no | 545 | * the process of uploading a file structure; no |
546 | * futher events will be generated for this action. | 546 | * further events will be generated for this action. |
547 | */ | 547 | */ |
548 | GNUNET_FS_STATUS_PUBLISH_STOPPED = 6, | 548 | GNUNET_FS_STATUS_PUBLISH_STOPPED = 6, |
549 | 549 | ||
@@ -760,7 +760,7 @@ struct GNUNET_FS_DownloadContext; | |||
760 | 760 | ||
761 | 761 | ||
762 | /** | 762 | /** |
763 | * Handle for detail information about a file that is being publishd. | 763 | * Handle for detail information about a file that is being published. |
764 | * Specifies metadata, keywords, how to get the contents of the file | 764 | * Specifies metadata, keywords, how to get the contents of the file |
765 | * (i.e. data-buffer in memory, filename on disk) and other options. | 765 | * (i.e. data-buffer in memory, filename on disk) and other options. |
766 | */ | 766 | */ |
@@ -789,7 +789,7 @@ struct GNUNET_FS_ProgressInfo | |||
789 | struct GNUNET_FS_PublishContext *pc; | 789 | struct GNUNET_FS_PublishContext *pc; |
790 | 790 | ||
791 | /** | 791 | /** |
792 | * Information about the file that is being publishd. | 792 | * Information about the file that is being published. |
793 | */ | 793 | */ |
794 | const struct GNUNET_FS_FileInformation *fi; | 794 | const struct GNUNET_FS_FileInformation *fi; |
795 | 795 | ||
@@ -892,7 +892,7 @@ struct GNUNET_FS_ProgressInfo | |||
892 | 892 | ||
893 | /** | 893 | /** |
894 | * At what time do we expect to finish the upload of the | 894 | * At what time do we expect to finish the upload of the |
895 | * CONTENTS of the directory. (The direcory itself will take | 895 | * CONTENTS of the directory. (The directory itself will take |
896 | * extra time, indicated with the "eta" member at the | 896 | * extra time, indicated with the "eta" member at the |
897 | * "publish"-level of this struct.) | 897 | * "publish"-level of this struct.) |
898 | */ | 898 | */ |
@@ -1442,7 +1442,7 @@ struct GNUNET_FS_ProgressInfo | |||
1442 | /** | 1442 | /** |
1443 | * At what time do we expect to finish unindexing? | 1443 | * At what time do we expect to finish unindexing? |
1444 | * (will be a value in the past for completed | 1444 | * (will be a value in the past for completed |
1445 | * unindexing opeations). | 1445 | * unindexing operations). |
1446 | */ | 1446 | */ |
1447 | struct GNUNET_TIME_Relative eta; | 1447 | struct GNUNET_TIME_Relative eta; |
1448 | 1448 | ||
@@ -1974,7 +1974,7 @@ enum GNUNET_FS_PublishOptions | |||
1974 | * @param h handle to the file sharing subsystem | 1974 | * @param h handle to the file sharing subsystem |
1975 | * @param fi information about the file or directory structure to publish | 1975 | * @param fi information about the file or directory structure to publish |
1976 | * @param ns namespace to publish the file in, NULL for no namespace | 1976 | * @param ns namespace to publish the file in, NULL for no namespace |
1977 | * @param nid identifier to use for the publishd content in the namespace | 1977 | * @param nid identifier to use for the published content in the namespace |
1978 | * (can be NULL, must be NULL if namespace is NULL) | 1978 | * (can be NULL, must be NULL if namespace is NULL) |
1979 | * @param nuid update-identifier that will be used for future updates | 1979 | * @param nuid update-identifier that will be used for future updates |
1980 | * (can be NULL, must be NULL if namespace or nid is NULL) | 1980 | * (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; | |||
49 | 49 | ||
50 | /** | 50 | /** |
51 | * Callback that will be called when the helper process dies. This is not called | 51 | * Callback that will be called when the helper process dies. This is not called |
52 | * when the helper process is stoped using GNUNET_HELPER_stop() | 52 | * when the helper process is stopped using GNUNET_HELPER_stop() |
53 | * | 53 | * |
54 | * @param cls the closure from GNUNET_HELPER_start() | 54 | * @param cls the closure from GNUNET_HELPER_start() |
55 | */ | 55 | */ |
@@ -152,7 +152,7 @@ struct GNUNET_HELPER_SendHandle; | |||
152 | * @param h helper to send message to | 152 | * @param h helper to send message to |
153 | * @param msg message to send | 153 | * @param msg message to send |
154 | * @param can_drop can the message be dropped if there is already one in the queue? | 154 | * @param can_drop can the message be dropped if there is already one in the queue? |
155 | * @param cont continuation to run once the message is out (#GNUNET_OK on succees, #GNUNET_NO | 155 | * @param cont continuation to run once the message is out (#GNUNET_OK on success, #GNUNET_NO |
156 | * if the helper process died, #GNUNET_SYSERR during #GNUNET_HELPER_destroy). | 156 | * if the helper process died, #GNUNET_SYSERR during #GNUNET_HELPER_destroy). |
157 | * @param cont_cls closure for @a cont | 157 | * @param cont_cls closure for @a cont |
158 | * @return NULL if the message was dropped, | 158 | * @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 | |||
413 | 413 | ||
414 | /** | 414 | /** |
415 | * Method called whenever the EGO of a <i>handle</i> changes or if the first connection fails | 415 | * Method called whenever the EGO of a <i>handle</i> changes or if the first connection fails |
416 | * to load a valid EGO and the anonymous keypair will be used instead. | 416 | * to load a valid EGO and the anonymous key pair will be used instead. |
417 | * | 417 | * |
418 | * @param cls Closure from <i>GNUNET_MESSENGER_connect</i> | 418 | * @param cls Closure from <i>GNUNET_MESSENGER_connect</i> |
419 | * @param handle Messenger handle | 419 | * @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, | |||
428 | /** | 428 | /** |
429 | * Copy an array of handlers. | 429 | * Copy an array of handlers. |
430 | * | 430 | * |
431 | * Useful if the array has been delared in local memory and needs to be | 431 | * Useful if the array has been declared in local memory and needs to be |
432 | * persisted for future use. | 432 | * persisted for future use. |
433 | * | 433 | * |
434 | * @param handlers Array of handlers to be copied. | 434 | * @param handlers Array of handlers to be copied. |
@@ -442,7 +442,7 @@ GNUNET_MQ_copy_handlers (const struct GNUNET_MQ_MessageHandler *handlers); | |||
442 | /** | 442 | /** |
443 | * Copy an array of handlers, appending AGPL handler. | 443 | * Copy an array of handlers, appending AGPL handler. |
444 | * | 444 | * |
445 | * Useful if the array has been delared in local memory and needs to be | 445 | * Useful if the array has been declared in local memory and needs to be |
446 | * persisted for future use. | 446 | * persisted for future use. |
447 | * | 447 | * |
448 | * @param handlers Array of handlers to be copied. Can be NULL (nothing done). | 448 | * @param handlers Array of handlers to be copied. Can be NULL (nothing done). |
@@ -483,7 +483,7 @@ struct GNUNET_MQ_MessageHandler | |||
483 | 483 | ||
484 | /** | 484 | /** |
485 | * Callback, called every time a new message of | 485 | * Callback, called every time a new message of |
486 | * the specified @e type has been receied. | 486 | * the specified @e type has been received. |
487 | * The closure given to @e mv will be this struct (not @e ctx). | 487 | * The closure given to @e mv will be this struct (not @e ctx). |
488 | */ | 488 | */ |
489 | GNUNET_MQ_MessageCallback cb; | 489 | GNUNET_MQ_MessageCallback cb; |
@@ -665,7 +665,7 @@ struct GNUNET_MQ_MessageHandler | |||
665 | * Call the message message handler that was registered | 665 | * Call the message message handler that was registered |
666 | * for the type of the given message in the given @a handlers list. | 666 | * for the type of the given message in the given @a handlers list. |
667 | * | 667 | * |
668 | * This function is indended to be used for the implementation | 668 | * This function is indented to be used for the implementation |
669 | * of message queues. | 669 | * of message queues. |
670 | * | 670 | * |
671 | * @param handlers a set of handlers | 671 | * @param handlers a set of handlers |
@@ -972,7 +972,7 @@ GNUNET_MQ_destroy_notify_cancel ( | |||
972 | * Call the message message handler that was registered | 972 | * Call the message message handler that was registered |
973 | * for the type of the given message in the given message queue. | 973 | * for the type of the given message in the given message queue. |
974 | * | 974 | * |
975 | * This function is indended to be used for the implementation | 975 | * This function is indented to be used for the implementation |
976 | * of message queues. | 976 | * of message queues. |
977 | * | 977 | * |
978 | * @param mq message queue with the handlers | 978 | * @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, | |||
137 | * Run a prepared SELECT statement. | 137 | * Run a prepared SELECT statement. |
138 | * | 138 | * |
139 | * @param mc mysql context | 139 | * @param mc mysql context |
140 | * @param sh handle to SELECT statment | 140 | * @param sh handle to SELECT statement |
141 | * @param params parameters to the statement | 141 | * @param params parameters to the statement |
142 | * @return TBD | 142 | * @return TBD |
143 | */ | 143 | */ |
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 | |||
108 | GNUNET_NAT_AC_BT = 32, | 108 | GNUNET_NAT_AC_BT = 32, |
109 | 109 | ||
110 | /** | 110 | /** |
111 | * Loopback addresses, only useful under special cirumstances. | 111 | * Loopback addresses, only useful under special circumstances. |
112 | */ | 112 | */ |
113 | GNUNET_NAT_AC_LOOPBACK = 64, | 113 | GNUNET_NAT_AC_LOOPBACK = 64, |
114 | 114 | ||
@@ -325,7 +325,7 @@ struct GNUNET_NAT_Handle; | |||
325 | * @param num_addrs number of addresses in @a addrs | 325 | * @param num_addrs number of addresses in @a addrs |
326 | * @param addrs list of local addresses packets should be redirected to | 326 | * @param addrs list of local addresses packets should be redirected to |
327 | * @param addrlens actual lengths of the addresses in @a addrs | 327 | * @param addrlens actual lengths of the addresses in @a addrs |
328 | * @param address_callback function to call everytime the public IP address changes | 328 | * @param address_callback function to call every time the public IP address changes |
329 | * @param reversal_callback function to call if someone wants connection reversal from us, | 329 | * @param reversal_callback function to call if someone wants connection reversal from us, |
330 | * NULL if connection reversal is not supported | 330 | * NULL if connection reversal is not supported |
331 | * @param callback_cls closure for callbacks | 331 | * @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, | |||
87 | * Connect to the network size estimation service. | 87 | * Connect to the network size estimation service. |
88 | * | 88 | * |
89 | * @param cfg the configuration to use | 89 | * @param cfg the configuration to use |
90 | * @param func funtion to call with network size estimate | 90 | * @param func function to call with network size estimate |
91 | * @param func_cls closure to pass to @a func | 91 | * @param func_cls closure to pass to @a func |
92 | * @return handle to use in #GNUNET_NSE_disconnect to stop NSE from invoking the callbacks | 92 | * @return handle to use in #GNUNET_NSE_disconnect to stop NSE from invoking the callbacks |
93 | */ | 93 | */ |
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; | |||
88 | 88 | ||
89 | 89 | ||
90 | /** | 90 | /** |
91 | * Returns where the address is located: loopback, LAN or WAN. | 91 | * Returns where the address is located: loopback, LAN or WANT. |
92 | * | 92 | * |
93 | * @param is handle from #GNUNET_ATS_interface_scanner_init() | 93 | * @param is handle from #GNUNET_ATS_interface_scanner_init() |
94 | * @param addr address | 94 | * @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, | |||
568 | 568 | ||
569 | /** | 569 | /** |
570 | * Execute a named prepared @a statement that is NOT a SELECT | 570 | * Execute a named prepared @a statement that is NOT a SELECT |
571 | * statement in @a connnection using the given @a params. Returns the | 571 | * statement in @a connection using the given @a params. Returns the |
572 | * resulting session state. | 572 | * resulting session state. |
573 | * | 573 | * |
574 | * @param db database to execute the statement with | 574 | * @param db database to execute the statement with |
@@ -578,7 +578,7 @@ GNUNET_PQ_eval_result (struct GNUNET_PQ_Context *db, | |||
578 | * codes to `enum GNUNET_DB_QueryStatus`. If the | 578 | * codes to `enum GNUNET_DB_QueryStatus`. If the |
579 | * statement was a DELETE or UPDATE statement, the | 579 | * statement was a DELETE or UPDATE statement, the |
580 | * number of affected rows is returned; if the | 580 | * number of affected rows is returned; if the |
581 | * statment was an INSERT statement, and no row | 581 | * statement was an INSERT statement, and no row |
582 | * was added due to a UNIQUE violation, we return | 582 | * was added due to a UNIQUE violation, we return |
583 | * zero; if INSERT was successful, we return one. | 583 | * zero; if INSERT was successful, we return one. |
584 | */ | 584 | */ |
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" { | |||
1387 | #define GNUNET_MESSAGE_TYPE_LOCKMANAGER_RELEASE 451 | 1387 | #define GNUNET_MESSAGE_TYPE_LOCKMANAGER_RELEASE 451 |
1388 | 1388 | ||
1389 | /** | 1389 | /** |
1390 | * SUCESS reply from lockmanager | 1390 | * SUCCESS reply from lockmanager |
1391 | */ | 1391 | */ |
1392 | #define GNUNET_MESSAGE_TYPE_LOCKMANAGER_SUCCESS 452 | 1392 | #define GNUNET_MESSAGE_TYPE_LOCKMANAGER_SUCCESS 452 |
1393 | 1393 | ||
@@ -2950,7 +2950,7 @@ extern "C" { | |||
2950 | #define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN 1002 | 2950 | #define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN 1002 |
2951 | 2951 | ||
2952 | /** | 2952 | /** |
2953 | * Request the destuction of a connection | 2953 | * Request the destruction of a connection |
2954 | */ | 2954 | */ |
2955 | #define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY 1003 | 2955 | #define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY 1003 |
2956 | 2956 | ||
@@ -3238,7 +3238,7 @@ extern "C" { | |||
3238 | #define GNUNET_MESSAGE_TYPE_RPS_CS_DEBUG_STREAM_REPLY 1134 | 3238 | #define GNUNET_MESSAGE_TYPE_RPS_CS_DEBUG_STREAM_REPLY 1134 |
3239 | 3239 | ||
3240 | /** | 3240 | /** |
3241 | * @brief Cancel getting biased strem | 3241 | * @brief Cancel getting biased stream |
3242 | */ | 3242 | */ |
3243 | #define GNUNET_MESSAGE_TYPE_RPS_CS_DEBUG_STREAM_CANCEL 1135 | 3243 | #define GNUNET_MESSAGE_TYPE_RPS_CS_DEBUG_STREAM_CANCEL 1135 |
3244 | 3244 | ||
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 | |||
87 | /** | 87 | /** |
88 | * Method called when a token has been issued. | 88 | * Method called when a token has been issued. |
89 | * On success returns a ticket that can be given to a relying party | 89 | * On success returns a ticket that can be given to a relying party |
90 | * in order for it retrive identity attributes | 90 | * in order for it retrieve identity attributes |
91 | * | 91 | * |
92 | * @param cls closure | 92 | * @param cls closure |
93 | * @param ticket the ticket | 93 | * @param ticket the ticket |
@@ -99,7 +99,7 @@ typedef void (*GNUNET_RECLAIM_TicketCallback) ( | |||
99 | /** | 99 | /** |
100 | * Method called when a token has been issued. | 100 | * Method called when a token has been issued. |
101 | * On success returns a ticket that can be given to a relying party | 101 | * On success returns a ticket that can be given to a relying party |
102 | * in order for it retrive identity attributes | 102 | * in order for it retrieve identity attributes |
103 | * | 103 | * |
104 | * @param cls closure | 104 | * @param cls closure |
105 | * @param ticket the ticket | 105 | * @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); | |||
98 | * @param cls Closure provided in #GNUNET_REGEX_search. | 98 | * @param cls Closure provided in #GNUNET_REGEX_search. |
99 | * @param id Peer providing a regex that matches the string. | 99 | * @param id Peer providing a regex that matches the string. |
100 | * @param get_path Path of the get request. | 100 | * @param get_path Path of the get request. |
101 | * @param get_path_length Lenght of @a get_path. | 101 | * @param get_path_length Length of @a get_path. |
102 | * @param put_path Path of the put request. | 102 | * @param put_path Path of the put request. |
103 | * @param put_path_length Length of the @a put_path. | 103 | * @param put_path_length Length of the @a put_path. |
104 | */ | 104 | */ |
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, | |||
142 | * | 142 | * |
143 | * @param cfg the configuration to use | 143 | * @param cfg the configuration to use |
144 | * @param key key to check for revocation | 144 | * @param key key to check for revocation |
145 | * @param func funtion to call with the result of the check | 145 | * @param func function to call with the result of the check |
146 | * @param func_cls closure to pass to @a func | 146 | * @param func_cls closure to pass to @a func |
147 | * @return handle to use in #GNUNET_REVOCATION_query_cancel to stop REVOCATION from invoking the callback | 147 | * @return handle to use in #GNUNET_REVOCATION_query_cancel to stop REVOCATION from invoking the callback |
148 | */ | 148 | */ |
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, | |||
118 | /** | 118 | /** |
119 | * Request n random peers. | 119 | * Request n random peers. |
120 | * | 120 | * |
121 | * This does exacly the same as GNUNET_RPS_request_peers_single_call | 121 | * This does exactly the same as GNUNET_RPS_request_peers_single_call |
122 | * but needs a GNUNET_RPS_Handle. | 122 | * but needs a GNUNET_RPS_Handle. |
123 | * This exists only for other parts of GNUnet that expect having to | 123 | * This exists only for other parts of GNUnet that expect having to |
124 | * (dis)connect from/to a service. | 124 | * (dis)connect from/to a service. |
@@ -161,7 +161,7 @@ GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint32_t n, | |||
161 | const struct GNUNET_PeerIdentity *ids); | 161 | const struct GNUNET_PeerIdentity *ids); |
162 | 162 | ||
163 | /** | 163 | /** |
164 | * Cancle an issued request. | 164 | * Cancel an issued request. |
165 | * | 165 | * |
166 | * @param rh handle of the pending request to be canceled | 166 | * @param rh handle of the pending request to be canceled |
167 | */ | 167 | */ |
@@ -170,9 +170,9 @@ GNUNET_RPS_request_cancel (struct GNUNET_RPS_Request_Handle *rh); | |||
170 | 170 | ||
171 | 171 | ||
172 | /** | 172 | /** |
173 | * Cancle an issued single info request. | 173 | * Cancel an issued single info request. |
174 | * | 174 | * |
175 | * @param rhs request handle of request to cancle | 175 | * @param rhs request handle of request to cancel |
176 | */ | 176 | */ |
177 | void | 177 | void |
178 | GNUNET_RPS_request_single_info_cancel ( | 178 | 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 | |||
164 | * @param my_share the share of this peer | 164 | * @param my_share the share of this peer |
165 | * @param public_key public key of the session | 165 | * @param public_key public key of the session |
166 | * @param num_ready_peers number of peers in @a ready_peers | 166 | * @param num_ready_peers number of peers in @a ready_peers |
167 | * @param ready_peers peers that successfuly participated in establishing | 167 | * @param ready_peers peers that successfully participated in establishing |
168 | * the shared secret | 168 | * the shared secret |
169 | */ | 169 | */ |
170 | typedef void | 170 | typedef void |
@@ -236,14 +236,14 @@ GNUNET_SECRETSHARING_session_destroy (struct GNUNET_SECRETSHARING_Session *s); | |||
236 | * Encrypt a value. This operation is executed locally, no communication is | 236 | * Encrypt a value. This operation is executed locally, no communication is |
237 | * necessary. | 237 | * necessary. |
238 | * | 238 | * |
239 | * This is a helper function, encryption can be done soley with a session's public key | 239 | * This is a helper function, encryption can be done solely with a session's public key |
240 | * and the crypto system parameters. | 240 | * and the crypto system parameters. |
241 | * | 241 | * |
242 | * @param public_key public key to use for decryption | 242 | * @param public_key public key to use for decryption |
243 | * @param message message to encrypt | 243 | * @param message message to encrypt |
244 | * @param message_size number of bytes in @a message | 244 | * @param message_size number of bytes in @a message |
245 | * @param result_ciphertext pointer to store the resulting ciphertext | 245 | * @param result_ciphertext pointer to store the resulting ciphertext |
246 | * @return #GNUNET_YES on succes, #GNUNET_SYSERR if the message is invalid (invalid range) | 246 | * @return #GNUNET_YES on success, #GNUNET_SYSERR if the message is invalid (invalid range) |
247 | */ | 247 | */ |
248 | int | 248 | int |
249 | GNUNET_SECRETSHARING_encrypt (const struct | 249 | 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 | |||
313 | * to accept it, otherwise the request will be refused | 313 | * to accept it, otherwise the request will be refused |
314 | * Note that we can't just return value from the listen callback, | 314 | * Note that we can't just return value from the listen callback, |
315 | * as it is also necessary to specify the set we want to do the | 315 | * as it is also necessary to specify the set we want to do the |
316 | * operation with, whith sometimes can be derived from the context | 316 | * operation with, with sometimes can be derived from the context |
317 | * message. It's necessary to specify the timeout. | 317 | * message. It's necessary to specify the timeout. |
318 | */ | 318 | */ |
319 | typedef void | 319 | typedef void |
@@ -336,7 +336,7 @@ typedef void | |||
336 | * @param op operation supported by the set | 336 | * @param op operation supported by the set |
337 | * Note that the operation has to be specified | 337 | * Note that the operation has to be specified |
338 | * beforehand, as certain set operations need to maintain | 338 | * beforehand, as certain set operations need to maintain |
339 | * data structures spefific to the operation | 339 | * data structures specific to the operation |
340 | * @return a handle to the set | 340 | * @return a handle to the set |
341 | */ | 341 | */ |
342 | struct GNUNET_SET_Handle * | 342 | struct GNUNET_SET_Handle * |
@@ -520,7 +520,7 @@ GNUNET_SET_operation_cancel (struct GNUNET_SET_OperationHandle *oh); | |||
520 | * @param set the set to iterate over | 520 | * @param set the set to iterate over |
521 | * @param iter the iterator to call for each element | 521 | * @param iter the iterator to call for each element |
522 | * @param iter_cls closure for @a iter | 522 | * @param iter_cls closure for @a iter |
523 | * @return #GNUNET_YES if the iteration started successfuly, | 523 | * @return #GNUNET_YES if the iteration started successfully, |
524 | * #GNUNET_NO if another iteration was still active, | 524 | * #GNUNET_NO if another iteration was still active, |
525 | * #GNUNET_SYSERR if the set is invalid (e.g. the server crashed, disconnected) | 525 | * #GNUNET_SYSERR if the set is invalid (e.g. the server crashed, disconnected) |
526 | */ | 526 | */ |
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 | |||
194 | * to accept it, otherwise the request will be refused | 194 | * to accept it, otherwise the request will be refused |
195 | * Note that we can't just return value from the listen callback, | 195 | * Note that we can't just return value from the listen callback, |
196 | * as it is also necessary to specify the set we want to do the | 196 | * as it is also necessary to specify the set we want to do the |
197 | * operation with, whith sometimes can be derived from the context | 197 | * operation with, with sometimes can be derived from the context |
198 | * message. It's necessary to specify the timeout. | 198 | * message. It's necessary to specify the timeout. |
199 | */ | 199 | */ |
200 | typedef void | 200 | 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 | |||
215 | * to accept it, otherwise the request will be refused | 215 | * to accept it, otherwise the request will be refused |
216 | * Note that we can't just return value from the listen callback, | 216 | * Note that we can't just return value from the listen callback, |
217 | * as it is also necessary to specify the set we want to do the | 217 | * as it is also necessary to specify the set we want to do the |
218 | * operation with, whith sometimes can be derived from the context | 218 | * operation with, with sometimes can be derived from the context |
219 | * message. It's necessary to specify the timeout. | 219 | * message. It's necessary to specify the timeout. |
220 | */ | 220 | */ |
221 | typedef void | 221 | 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, | |||
73 | 73 | ||
74 | 74 | ||
75 | /** | 75 | /** |
76 | * Uninstall a previously installed signal hander. | 76 | * Uninstall a previously installed signal handler. |
77 | * | 77 | * |
78 | * @param ctx context that was returned when the | 78 | * @param ctx context that was returned when the |
79 | * signal handler was installed | 79 | * 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); | |||
116 | * @param input_charset character set used for @a input | 116 | * @param input_charset character set used for @a input |
117 | * @param output_charset desired character set for the return value | 117 | * @param output_charset desired character set for the return value |
118 | * @return the converted string (0-terminated), | 118 | * @return the converted string (0-terminated), |
119 | * if conversion fails, a copy of the orignal | 119 | * if conversion fails, a copy of the original |
120 | * string is returned. | 120 | * string is returned. |
121 | */ | 121 | */ |
122 | char * | 122 | char * |
@@ -150,7 +150,7 @@ GNUNET_STRINGS_to_utf8 (const char *input, | |||
150 | * @param len the number of bytes in the @a input | 150 | * @param len the number of bytes in the @a input |
151 | * @param charset character set to convert to | 151 | * @param charset character set to convert to |
152 | * @return the converted string (0-terminated), | 152 | * @return the converted string (0-terminated), |
153 | * if conversion fails, a copy of the orignal | 153 | * if conversion fails, a copy of the original |
154 | * string is returned. | 154 | * string is returned. |
155 | */ | 155 | */ |
156 | char * | 156 | char * |
@@ -518,7 +518,7 @@ GNUNET_STRINGS_check_filename (const char *filename, | |||
518 | * @param addrlen length of zt_addr (not counting 0-terminator). | 518 | * @param addrlen length of zt_addr (not counting 0-terminator). |
519 | * @param r_buf a buffer to fill. Initially gets filled with zeroes, | 519 | * @param r_buf a buffer to fill. Initially gets filled with zeroes, |
520 | * then its sin6_port, sin6_family and sin6_addr are set appropriately. | 520 | * then its sin6_port, sin6_family and sin6_addr are set appropriately. |
521 | * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which | 521 | * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which |
522 | * case the contents of r_buf are undefined. | 522 | * case the contents of r_buf are undefined. |
523 | */ | 523 | */ |
524 | int | 524 | int |
@@ -534,7 +534,7 @@ GNUNET_STRINGS_to_address_ipv6 (const char *zt_addr, | |||
534 | * @param zt_addr 0-terminated string. May be mangled by the function. | 534 | * @param zt_addr 0-terminated string. May be mangled by the function. |
535 | * @param addrlen length of zt_addr (not counting 0-terminator). | 535 | * @param addrlen length of zt_addr (not counting 0-terminator). |
536 | * @param r_buf a buffer to fill. | 536 | * @param r_buf a buffer to fill. |
537 | * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which case | 537 | * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which case |
538 | * the contents of r_buf are undefined. | 538 | * the contents of r_buf are undefined. |
539 | */ | 539 | */ |
540 | int | 540 | int |
@@ -566,7 +566,7 @@ GNUNET_STRINGS_parse_socket_addr (const char *addr, | |||
566 | * @param addrlen number of bytes in @a addr (if addr is 0-terminated, | 566 | * @param addrlen number of bytes in @a addr (if addr is 0-terminated, |
567 | * 0-terminator should not be counted towards addrlen). | 567 | * 0-terminator should not be counted towards addrlen). |
568 | * @param r_buf a buffer to fill. | 568 | * @param r_buf a buffer to fill. |
569 | * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which | 569 | * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which |
570 | * case the contents of r_buf are undefined. | 570 | * case the contents of r_buf are undefined. |
571 | */ | 571 | */ |
572 | int | 572 | 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; | |||
417 | 417 | ||
418 | 418 | ||
419 | /** | 419 | /** |
420 | * Callback to signal successfull startup of the controller process | 420 | * Callback to signal successful startup of the controller process |
421 | * | 421 | * |
422 | * @param cls the closure from GNUNET_TESTBED_controller_start() | 422 | * @param cls the closure from GNUNET_TESTBED_controller_start() |
423 | * @param cfg the configuration with which the controller has been started; | 423 | * @param cfg the configuration with which the controller has been started; |
424 | * NULL if status is not #GNUNET_OK | 424 | * NULL if status is not #GNUNET_OK |
425 | * @param status #GNUNET_OK if the startup is successfull; #GNUNET_SYSERR if not, | 425 | * @param status #GNUNET_OK if the startup is successful; #GNUNET_SYSERR if not, |
426 | * GNUNET_TESTBED_controller_stop() shouldn't be called in this case | 426 | * GNUNET_TESTBED_controller_stop() shouldn't be called in this case |
427 | */ | 427 | */ |
428 | typedef void | 428 | typedef void |
@@ -770,7 +770,7 @@ struct GNUNET_TESTBED_PeerInformation | |||
770 | * @param op the operation this callback corresponds to | 770 | * @param op the operation this callback corresponds to |
771 | * @param pinfo the result; will be NULL if the operation has failed | 771 | * @param pinfo the result; will be NULL if the operation has failed |
772 | * @param emsg error message if the operation has failed; will be NULL if the | 772 | * @param emsg error message if the operation has failed; will be NULL if the |
773 | * operation is successfull | 773 | * operation is successful |
774 | */ | 774 | */ |
775 | typedef void | 775 | typedef void |
776 | (*GNUNET_TESTBED_PeerInfoCallback) (void *cb_cls, | 776 | (*GNUNET_TESTBED_PeerInfoCallback) (void *cb_cls, |
@@ -1364,7 +1364,7 @@ GNUNET_TESTBED_get_index (const struct GNUNET_TESTBED_Peer *peer); | |||
1364 | 1364 | ||
1365 | 1365 | ||
1366 | /** | 1366 | /** |
1367 | * Handle for testbed run helper funtions | 1367 | * Handle for testbed run helper functions |
1368 | */ | 1368 | */ |
1369 | struct GNUNET_TESTBED_RunHandle; | 1369 | struct GNUNET_TESTBED_RunHandle; |
1370 | 1370 | ||
@@ -1452,7 +1452,7 @@ GNUNET_TESTBED_run (const char *host_filename, | |||
1452 | * the program is stopped without 'master' ever being run. | 1452 | * the program is stopped without 'master' ever being run. |
1453 | * | 1453 | * |
1454 | * NOTE: this function should be called from 'main', NOT from | 1454 | * NOTE: this function should be called from 'main', NOT from |
1455 | * within a GNUNET_SCHEDULER-loop. This function will initialze | 1455 | * within a GNUNET_SCHEDULER-loop. This function will initialize |
1456 | * the scheduler loop, the testbed and then pass control to | 1456 | * the scheduler loop, the testbed and then pass control to |
1457 | * 'master'. | 1457 | * 'master'. |
1458 | * | 1458 | * |
@@ -1537,7 +1537,7 @@ enum GNUNET_TESTBED_BarrierStatus | |||
1537 | * invalid to call GNUNET_TESTBED_barrier_cancel() on a crossed or | 1537 | * invalid to call GNUNET_TESTBED_barrier_cancel() on a crossed or |
1538 | * errored barrier. | 1538 | * errored barrier. |
1539 | * @param emsg if the status were to be #GNUNET_SYSERR, this parameter has the | 1539 | * @param emsg if the status were to be #GNUNET_SYSERR, this parameter has the |
1540 | * error messsage | 1540 | * error message |
1541 | */ | 1541 | */ |
1542 | typedef void | 1542 | typedef void |
1543 | (*GNUNET_TESTBED_barrier_status_cb) (void *cls, | 1543 | (*GNUNET_TESTBED_barrier_status_cb) (void *cls, |
@@ -1585,7 +1585,7 @@ struct GNUNET_TESTBED_BarrierWaitHandle; | |||
1585 | 1585 | ||
1586 | 1586 | ||
1587 | /** | 1587 | /** |
1588 | * Functions of this type are to be given as acallback argumetn to | 1588 | * Functions of this type are to be given as acallback argument to |
1589 | * GNUNET_TESTBED_barrier_wait(). The callback will be called when the barrier | 1589 | * GNUNET_TESTBED_barrier_wait(). The callback will be called when the barrier |
1590 | * corresponding given in GNUNET_TESTBED_barrier_wait() is crossed or cancelled. | 1590 | * corresponding given in GNUNET_TESTBED_barrier_wait() is crossed or cancelled. |
1591 | * | 1591 | * |
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, | |||
135 | * handle per operating system. Use this function directly | 135 | * handle per operating system. Use this function directly |
136 | * if multiple system objects are created for the same host | 136 | * if multiple system objects are created for the same host |
137 | * (only really useful when testing --- or to make the port | 137 | * (only really useful when testing --- or to make the port |
138 | * range configureable). | 138 | * range configurable). |
139 | * | 139 | * |
140 | * @param testdir only the directory name without any path. This is used for | 140 | * @param testdir only the directory name without any path. This is used for |
141 | * all service homes; the directory will be created in a temporary | 141 | * 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, | |||
391 | /** | 391 | /** |
392 | * Compute the time difference between the given start and end times. | 392 | * Compute the time difference between the given start and end times. |
393 | * Use this function instead of actual subtraction to ensure that | 393 | * Use this function instead of actual subtraction to ensure that |
394 | * "FOREVER" and overflows are handeled correctly. | 394 | * "FOREVER" and overflows are handled correctly. |
395 | * | 395 | * |
396 | * @param start some absolute time | 396 | * @param start some absolute time |
397 | * @param end some absolute time (typically larger or equal to start) | 397 | * @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 ( | |||
71 | * @param peer identity of the peer we need an address for | 71 | * @param peer identity of the peer we need an address for |
72 | * @param pk what kind of application will the application require (can be | 72 | * @param pk what kind of application will the application require (can be |
73 | * #GNUNET_MQ_PRIO_BACKGROUND, we will still try to connect) | 73 | * #GNUNET_MQ_PRIO_BACKGROUND, we will still try to connect) |
74 | * @param bw desired bandwith, can be zero (we will still try to connect) | 74 | * @param bw desired bandwidth, can be zero (we will still try to connect) |
75 | * @return suggest handle, NULL if a request is already pending | 75 | * @return suggest handle, NULL if a request is already pending |
76 | */ | 76 | */ |
77 | struct GNUNET_TRANSPORT_ApplicationSuggestHandle * | 77 | struct GNUNET_TRANSPORT_ApplicationSuggestHandle * |
@@ -104,7 +104,7 @@ GNUNET_TRANSPORT_application_suggest_cancel ( | |||
104 | * @param peer identity of the peer we have an address for | 104 | * @param peer identity of the peer we have an address for |
105 | * @param nt network type of @a addr (as claimed by the other peer); | 105 | * @param nt network type of @a addr (as claimed by the other peer); |
106 | * used by TRANSPORT to avoid trying @a addr's that really cannot work | 106 | * used by TRANSPORT to avoid trying @a addr's that really cannot work |
107 | * due to network type missmatches | 107 | * due to network type mismatches |
108 | * @param addr address to validate | 108 | * @param addr address to validate |
109 | */ | 109 | */ |
110 | void | 110 | 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 | |||
203 | * immediately dropped due to memory limitations (communicator | 203 | * immediately dropped due to memory limitations (communicator |
204 | * should try to apply back pressure), | 204 | * should try to apply back pressure), |
205 | * #GNUNET_SYSERR if the message could not be delivered because | 205 | * #GNUNET_SYSERR if the message could not be delivered because |
206 | * the tranport service is not yet up | 206 | * the transport service is not yet up |
207 | */ | 207 | */ |
208 | int | 208 | int |
209 | GNUNET_TRANSPORT_communicator_receive ( | 209 | 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 | |||
127 | 127 | ||
128 | /** | 128 | /** |
129 | * Function that can be called by plugins to figure if an address is | 129 | * Function that can be called by plugins to figure if an address is |
130 | * an loopback, LAN or WAN address. Ultimately invokes | 130 | * an loopback, LAN or WANT address. Ultimately invokes |
131 | * #GNUNET_ATS_address_get_type(). | 131 | * #GNUNET_ATS_address_get_type(). |
132 | * | 132 | * |
133 | * @param cls closure | 133 | * @param cls closure |
@@ -265,7 +265,7 @@ struct GNUNET_TRANSPORT_PluginEnvironment | |||
265 | 265 | ||
266 | /** | 266 | /** |
267 | * Function that will be called to figure if an address is an loopback, | 267 | * Function that will be called to figure if an address is an loopback, |
268 | * LAN, WAN etc. address | 268 | * LAN, WANT etc. address |
269 | */ | 269 | */ |
270 | GNUNET_TRANSPORT_AddressToType get_address_type; | 270 | GNUNET_TRANSPORT_AddressToType get_address_type; |
271 | 271 | ||
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, | |||
108 | * in the yuarel_param struct. | 108 | * in the yuarel_param struct. |
109 | * | 109 | * |
110 | * *query: the query string to parse. The string will be modified. | 110 | * *query: the query string to parse. The string will be modified. |
111 | * delimiter: the character that separates the key/value pairs from eachother. | 111 | * delimiter: the character that separates the key/value pairs from each other. |
112 | * *params: an array of (struct yuarel_param) where to store the result. | 112 | * *params: an array of (struct yuarel_param) where to store the result. |
113 | * max_values: max number of parameters to parse. | 113 | * max_values: max number of parameters to parse. |
114 | * | 114 | * |
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 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | * | 24 | * |
25 | * @file | 25 | * @file |
26 | * Plaform specific includes and defines. | 26 | * Platform specific includes and defines. |
27 | * | 27 | * |
28 | * This file should never be included by installed | 28 | * This file should never be included by installed |
29 | * header files (those starting with "gnunet_"). | 29 | * 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) | |||
116 | * @param data_size the size of @a data | 116 | * @param data_size the size of @a data |
117 | * @param max_size maximum size that the buffer can grow to | 117 | * @param max_size maximum size that the buffer can grow to |
118 | * @return #GNUNET_OK on success, | 118 | * @return #GNUNET_OK on success, |
119 | * #GNUNET_NO if the buffer can't accomodate for the new data | 119 | * #GNUNET_NO if the buffer can't accommodate for the new data |
120 | */ | 120 | */ |
121 | static int | 121 | static int |
122 | buffer_append (struct Buffer *buf, | 122 | 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, | |||
146 | 146 | ||
147 | /** | 147 | /** |
148 | * Execute a named prepared @a statement that is NOT a SELECT | 148 | * Execute a named prepared @a statement that is NOT a SELECT |
149 | * statement in @a connnection using the given @a params. Returns the | 149 | * statement in @a connection using the given @a params. Returns the |
150 | * resulting session state. | 150 | * resulting session state. |
151 | * | 151 | * |
152 | * @param db database to execute the statement with | 152 | * @param db database to execute the statement with |
@@ -156,7 +156,7 @@ GNUNET_PQ_eval_result (struct GNUNET_PQ_Context *db, | |||
156 | * codes to `enum GNUNET_DB_QueryStatus`. If the | 156 | * codes to `enum GNUNET_DB_QueryStatus`. If the |
157 | * statement was a DELETE or UPDATE statement, the | 157 | * statement was a DELETE or UPDATE statement, the |
158 | * number of affected rows is returned.; if the | 158 | * number of affected rows is returned.; if the |
159 | * statment was an INSERT statement, and no row | 159 | * statement was an INSERT statement, and no row |
160 | * was added due to a UNIQUE violation, we return | 160 | * was added due to a UNIQUE violation, we return |
161 | * zero; if INSERT was successful, we return one. | 161 | * zero; if INSERT was successful, we return one. |
162 | */ | 162 | */ |