diff options
Diffstat (limited to 'src/transport/gnunet-service-transport.h')
-rw-r--r-- | src/transport/gnunet-service-transport.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/transport/gnunet-service-transport.h b/src/transport/gnunet-service-transport.h index 75b387381..34ed61f9e 100644 --- a/src/transport/gnunet-service-transport.h +++ b/src/transport/gnunet-service-transport.h | |||
@@ -72,12 +72,12 @@ extern struct GNUNET_ATS_SchedulingHandle *GST_ats; | |||
72 | */ | 72 | */ |
73 | typedef void | 73 | typedef void |
74 | (*GNUNET_TRANSPORT_NeighbourChangeCallback) (void *cls, | 74 | (*GNUNET_TRANSPORT_NeighbourChangeCallback) (void *cls, |
75 | const struct GNUNET_PeerIdentity *peer, | 75 | const struct GNUNET_PeerIdentity *peer, |
76 | const struct GNUNET_HELLO_Address *address, | 76 | const struct GNUNET_HELLO_Address *address, |
77 | enum GNUNET_TRANSPORT_PeerState state, | 77 | enum GNUNET_TRANSPORT_PeerState state, |
78 | struct GNUNET_TIME_Absolute state_timeout, | 78 | struct GNUNET_TIME_Absolute state_timeout, |
79 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, | 79 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, |
80 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out); | 80 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out); |
81 | 81 | ||
82 | 82 | ||
83 | /** | 83 | /** |
@@ -103,11 +103,9 @@ typedef void | |||
103 | */ | 103 | */ |
104 | struct GNUNET_TIME_Relative | 104 | struct GNUNET_TIME_Relative |
105 | GST_receive_callback (void *cls, | 105 | GST_receive_callback (void *cls, |
106 | const struct GNUNET_PeerIdentity *peer, | 106 | const struct GNUNET_HELLO_Address *address, |
107 | const struct GNUNET_MessageHeader *message, | 107 | struct Session *session, |
108 | struct Session *session, | 108 | const struct GNUNET_MessageHeader *message); |
109 | const char *sender_address, | ||
110 | uint16_t sender_address_len); | ||
111 | 109 | ||
112 | 110 | ||
113 | /** | 111 | /** |