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_peer.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_peer.h')
-rw-r--r-- | src/cadet/gnunet-service-cadet_peer.h | 10 |
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 | */ |
70 | typedef void | 70 | typedef 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 * | |||
166 | GCP_send (struct CadetPeer *peer, | 170 | GCP_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, |