diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-18 11:43:09 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-18 11:43:09 +0100 |
commit | 965d792189fa54bc9423f643cd8dccb681632b41 (patch) | |
tree | 7a7b72c753deaf7adc20951a046b4cde9c5e69d5 /src/cadet/gnunet-service-cadet_connection.h | |
parent | a1bd2dcc29c126023dbd1ddf83d7514859d1775b (diff) | |
download | gnunet-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.h | 6 |
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 | */ |
378 | uint32_t | 377 | struct CadetEncryptedMessageIdentifier |
379 | GCC_get_pid (struct CadetConnection *c, int fwd); | 378 | GCC_get_pid (struct CadetConnection *c, int fwd); |
380 | 379 | ||
381 | /** | 380 | /** |
@@ -497,7 +496,8 @@ GCC_cancel (struct CadetConnectionQueue *q); | |||
497 | */ | 496 | */ |
498 | struct CadetConnectionQueue * | 497 | struct CadetConnectionQueue * |
499 | GCC_send_prebuilt_message (const struct GNUNET_MessageHeader *message, | 498 | GCC_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 | ||