return buffer;
}
-/* Free's Channel Payload */
+/* Frees Channel Payload */
void silc_channel_payload_free(SilcChannelPayload payload)
{
/* Channel Message Payload structure. Contents of this structure is parsed
from SILC packets. */
struct SilcChannelMessagePayloadStruct {
- uint16 flags;
+ SilcMessageFlags flags;
uint16 data_len;
unsigned char *data;
unsigned char *mac;
/* Return flags */
-uint16
+SilcMessageFlags
silc_channel_message_get_flags(SilcChannelMessagePayload payload)
{
return payload->flags;
return buffer;
}
-/* Free's Channel Key Payload */
+/* Frees Channel Key Payload */
void silc_channel_key_payload_free(SilcChannelKeyPayload payload)
{