aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_peer.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_peer.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_peer.h')
-rw-r--r--src/cadet/gnunet-service-cadet_peer.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.h b/src/cadet/gnunet-service-cadet_peer.h
index 37d735bf5..1e206e10f 100644
--- a/src/cadet/gnunet-service-cadet_peer.h
+++ b/src/cadet/gnunet-service-cadet_peer.h
@@ -69,8 +69,12 @@ struct CadetPeerQueue;
69 */ 69 */
70typedef void 70typedef void
71(*GCP_sent) (void *cls, 71(*GCP_sent) (void *cls,
72 struct CadetConnection *c, int fwd, int sent, 72 struct CadetConnection *c,
73 uint16_t type, uint16_t payload_type, uint32_t pid, 73 int fwd,
74 int sent,
75 uint16_t type,
76 uint16_t payload_type,
77 struct CadetEncryptedMessageIdentifier pid,
74 size_t size, 78 size_t size,
75 struct GNUNET_TIME_Relative wait); 79 struct GNUNET_TIME_Relative wait);
76 80
@@ -166,7 +170,7 @@ struct CadetPeerQueue *
166GCP_send (struct CadetPeer *peer, 170GCP_send (struct CadetPeer *peer,
167 const struct GNUNET_MessageHeader *message, 171 const struct GNUNET_MessageHeader *message,
168 uint16_t payload_type, 172 uint16_t payload_type,
169 uint32_t payload_id, 173 struct CadetEncryptedMessageIdentifier payload_id,
170 struct CadetConnection *c, 174 struct CadetConnection *c,
171 int fwd, 175 int fwd,
172 GCP_sent cont, 176 GCP_sent cont,