aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_connection.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-18 11:43:09 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-18 11:43:09 +0100
commit965d792189fa54bc9423f643cd8dccb681632b41 (patch)
tree7a7b72c753deaf7adc20951a046b4cde9c5e69d5 /src/cadet/gnunet-service-cadet_connection.h
parenta1bd2dcc29c126023dbd1ddf83d7514859d1775b (diff)
downloadgnunet-965d792189fa54bc9423f643cd8dccb681632b41.tar.gz
gnunet-965d792189fa54bc9423f643cd8dccb681632b41.zip
introduce CadetEncryptedMessageIdentifier instead of over-using uint32_t
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.h')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.h b/src/cadet/gnunet-service-cadet_connection.h
index 6df307dd1..ab2920ba3 100644
--- a/src/cadet/gnunet-service-cadet_connection.h
+++ b/src/cadet/gnunet-service-cadet_connection.h
@@ -372,10 +372,9 @@ GCC_get_qn (struct CadetConnection *c, int fwd);
372 * 372 *
373 * @param c Connection. 373 * @param c Connection.
374 * @param fwd Is query about FWD traffic? 374 * @param fwd Is query about FWD traffic?
375 *
376 * @return Next PID to use. 375 * @return Next PID to use.
377 */ 376 */
378uint32_t 377struct CadetEncryptedMessageIdentifier
379GCC_get_pid (struct CadetConnection *c, int fwd); 378GCC_get_pid (struct CadetConnection *c, int fwd);
380 379
381/** 380/**
@@ -497,7 +496,8 @@ GCC_cancel (struct CadetConnectionQueue *q);
497 */ 496 */
498struct CadetConnectionQueue * 497struct CadetConnectionQueue *
499GCC_send_prebuilt_message (const struct GNUNET_MessageHeader *message, 498GCC_send_prebuilt_message (const struct GNUNET_MessageHeader *message,
500 uint16_t payload_type, uint32_t payload_id, 499 uint16_t payload_type,
500 struct CadetEncryptedMessageIdentifier payload_id,
501 struct CadetConnection *c, int fwd, int force, 501 struct CadetConnection *c, int fwd, int force,
502 GCC_sent cont, void *cont_cls); 502 GCC_sent cont, void *cont_cls);
503 503