X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fpacket_send.h;h=703eaeafae9392acdd11a35bb8fa95e2e70c5baa;hp=58fa37b9a3f9fcb5b56e0271c18143087bcf3050;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hpb=7910ce2a5c55211a4ea09a52832c6ed32c0b64fd diff --git a/apps/silcd/packet_send.h b/apps/silcd/packet_send.h index 58fa37b9..703eaeaf 100644 --- a/apps/silcd/packet_send.h +++ b/apps/silcd/packet_send.h @@ -31,7 +31,7 @@ void silc_server_packet_send(SilcServer server, SilcPacketType type, SilcPacketFlags flags, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, bool force_send); void silc_server_packet_send_dest(SilcServer server, SilcSocketConnection sock, @@ -40,7 +40,7 @@ void silc_server_packet_send_dest(SilcServer server, void *dst_id, SilcIdType dst_id_type, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, bool force_send); void silc_server_packet_send_srcdest(SilcServer server, SilcSocketConnection sock, @@ -51,7 +51,7 @@ void silc_server_packet_send_srcdest(SilcServer server, void *dst_id, SilcIdType dst_id_type, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, bool force_send); void silc_server_packet_broadcast(SilcServer server, SilcSocketConnection sock, @@ -61,12 +61,12 @@ void silc_server_packet_route(SilcServer server, SilcPacketContext *packet); void silc_server_packet_send_clients(SilcServer server, SilcClientEntry *clients, - uint32 clients_count, + SilcUInt32 clients_count, SilcPacketType type, SilcPacketFlags flags, bool route, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, bool force_send); void silc_server_packet_send_to_channel(SilcServer server, SilcSocketConnection sender, @@ -74,7 +74,7 @@ void silc_server_packet_send_to_channel(SilcServer server, SilcPacketType type, bool route, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, bool force_send); void silc_server_packet_relay_to_channel(SilcServer server, SilcSocketConnection sender_sock, @@ -83,20 +83,20 @@ void silc_server_packet_relay_to_channel(SilcServer server, SilcIdType sender_type, void *sender_entry, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, bool force_send); void silc_server_packet_send_local_channel(SilcServer server, SilcChannelEntry channel, SilcPacketType type, SilcPacketFlags flags, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, bool force_send); void silc_server_send_private_message(SilcServer server, SilcSocketConnection dst_sock, SilcCipher cipher, SilcHmac hmac, - uint32 sequence, + SilcUInt32 sequence, SilcPacketContext *packet); void silc_server_send_motd(SilcServer server, SilcSocketConnection sock); @@ -107,12 +107,12 @@ void silc_server_send_notify(SilcServer server, SilcSocketConnection sock, bool broadcast, SilcNotifyType type, - uint32 argc, ...); + SilcUInt32 argc, ...); void silc_server_send_notify_args(SilcServer server, SilcSocketConnection sock, bool broadcast, SilcNotifyType type, - uint32 argc, + SilcUInt32 argc, SilcBuffer args); void silc_server_send_notify_channel_change(SilcServer server, SilcSocketConnection sock, @@ -138,7 +138,7 @@ void silc_server_send_notify_cmode(SilcServer server, SilcSocketConnection sock, bool broadcast, SilcChannelEntry channel, - uint32 mode_mask, + SilcUInt32 mode_mask, void *id, SilcIdType id_type, char *cipher, char *hmac, char *passphrase); @@ -146,7 +146,7 @@ void silc_server_send_notify_cumode(SilcServer server, SilcSocketConnection sock, bool broadcast, SilcChannelEntry channel, - uint32 mode_mask, + SilcUInt32 mode_mask, void *id, SilcIdType id_type, SilcClientID *target); void silc_server_send_notify_signoff(SilcServer server, @@ -176,7 +176,7 @@ void silc_server_send_notify_umode(SilcServer server, SilcSocketConnection sock, bool broadcast, SilcClientID *client_id, - uint32 mode_mask); + SilcUInt32 mode_mask); void silc_server_send_notify_ban(SilcServer server, SilcSocketConnection sock, bool broadcast, @@ -194,30 +194,30 @@ void silc_server_send_notify_dest(SilcServer server, void *dest_id, SilcIdType dest_id_type, SilcNotifyType type, - uint32 argc, ...); + SilcUInt32 argc, ...); void silc_server_send_notify_to_channel(SilcServer server, SilcSocketConnection sender, SilcChannelEntry channel, bool route_notify, SilcNotifyType type, - uint32 argc, ...); + SilcUInt32 argc, ...); void silc_server_send_notify_on_channels(SilcServer server, SilcClientEntry sender, SilcClientEntry client, SilcNotifyType type, - uint32 argc, ...); + SilcUInt32 argc, ...); void silc_server_send_new_id(SilcServer server, SilcSocketConnection sock, bool broadcast, void *id, SilcIdType id_type, - uint32 id_len); + SilcUInt32 id_len); void silc_server_send_new_channel(SilcServer server, SilcSocketConnection sock, bool broadcast, char *channel_name, void *channel_id, - uint32 channel_id_len, - uint32 mode); + SilcUInt32 channel_id_len, + SilcUInt32 mode); void silc_server_send_channel_key(SilcServer server, SilcSocketConnection sender, SilcChannelEntry channel, @@ -225,34 +225,34 @@ void silc_server_send_channel_key(SilcServer server, void silc_server_send_command(SilcServer server, SilcSocketConnection sock, SilcCommand command, - uint16 ident, - uint32 argc, ...); + SilcUInt16 ident, + SilcUInt32 argc, ...); void silc_server_send_command_reply(SilcServer server, SilcSocketConnection sock, SilcCommand command, SilcCommandStatus status, - uint16 ident, - uint32 argc, ...); + SilcUInt16 ident, + SilcUInt32 argc, ...); void silc_server_send_dest_command_reply(SilcServer server, SilcSocketConnection sock, void *dst_id, SilcIdType dst_id_type, SilcCommand command, SilcCommandStatus status, - uint16 ident, - uint32 argc, ...); + SilcUInt16 ident, + SilcUInt32 argc, ...); void silc_server_send_heartbeat(SilcServer server, SilcSocketConnection sock); void silc_server_relay_packet(SilcServer server, SilcSocketConnection dst_sock, SilcCipher cipher, SilcHmac hmac, - uint32 sequence, + SilcUInt32 sequence, SilcPacketContext *packet, bool force_send); void silc_server_send_connection_auth_request(SilcServer server, SilcSocketConnection sock, - uint16 conn_type, + SilcUInt16 conn_type, SilcAuthMethod auth_meth); void silc_server_packet_queue_purge(SilcServer server, SilcSocketConnection sock);