aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/cadet.h')
-rw-r--r--src/cadet/cadet.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cadet/cadet.h b/src/cadet/cadet.h
index 757f8c501..3667647eb 100644
--- a/src/cadet/cadet.h
+++ b/src/cadet/cadet.h
@@ -271,7 +271,7 @@ GNUNET_NETWORK_STRUCT_END
271 * @return String representing FWD or BCK. 271 * @return String representing FWD or BCK.
272 */ 272 */
273char * 273char *
274GM_f2s (int fwd); 274GC_f2s (int fwd);
275 275
276 276
277/** 277/**
@@ -283,7 +283,7 @@ GM_f2s (int fwd);
283 * @return True if bigger (arg1) has a higher value than smaller (arg 2). 283 * @return True if bigger (arg1) has a higher value than smaller (arg 2).
284 */ 284 */
285int 285int
286GM_is_pid_bigger (uint32_t bigger, uint32_t smaller); 286GC_is_pid_bigger (uint32_t bigger, uint32_t smaller);
287 287
288 288
289/** 289/**
@@ -295,7 +295,7 @@ GM_is_pid_bigger (uint32_t bigger, uint32_t smaller);
295 * @return Highest ACK value from the two. 295 * @return Highest ACK value from the two.
296 */ 296 */
297uint32_t 297uint32_t
298GM_max_pid (uint32_t a, uint32_t b); 298GC_max_pid (uint32_t a, uint32_t b);
299 299
300 300
301/** 301/**
@@ -307,7 +307,7 @@ GM_max_pid (uint32_t a, uint32_t b);
307 * @return Lowest ACK value from the two. 307 * @return Lowest ACK value from the two.
308 */ 308 */
309uint32_t 309uint32_t
310GM_min_pid (uint32_t a, uint32_t b); 310GC_min_pid (uint32_t a, uint32_t b);
311 311
312 312
313/** 313/**
@@ -319,14 +319,14 @@ GM_min_pid (uint32_t a, uint32_t b);
319 * @return A HashCode containing the original 256 bit hash right-padded with 0. 319 * @return A HashCode containing the original 256 bit hash right-padded with 0.
320 */ 320 */
321const struct GNUNET_HashCode * 321const struct GNUNET_HashCode *
322GM_h2hc (const struct GNUNET_CADET_Hash *id); 322GC_h2hc (const struct GNUNET_CADET_Hash *id);
323 323
324/** 324/**
325 * Get a string from a Cadet Hash (256 bits). 325 * Get a string from a Cadet Hash (256 bits).
326 * WARNING: Not reentrant (based on GNUNET_h2s). 326 * WARNING: Not reentrant (based on GNUNET_h2s).
327 */ 327 */
328const char * 328const char *
329GM_h2s (const struct GNUNET_CADET_Hash *id); 329GC_h2s (const struct GNUNET_CADET_Hash *id);
330 330
331/** 331/**
332 * Convert a message type into a string to help debug 332 * Convert a message type into a string to help debug
@@ -339,7 +339,7 @@ GM_h2s (const struct GNUNET_CADET_Hash *id);
339 * @return Human readable string description. 339 * @return Human readable string description.
340 */ 340 */
341const char * 341const char *
342GM_m2s (uint16_t m); 342GC_m2s (uint16_t m);
343 343
344#if 0 /* keep Emacsens' auto-indent happy */ 344#if 0 /* keep Emacsens' auto-indent happy */
345{ 345{