X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcsftp%2Fsftp_util.c;h=574f884173f15710f321f24b1e363f6e18ac57bf;hp=5e3c526e01a94f2a1e7af57d22d83f155c766520;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hpb=7910ce2a5c55211a4ea09a52832c6ed32c0b64fd diff --git a/lib/silcsftp/sftp_util.c b/lib/silcsftp/sftp_util.c index 5e3c526e..574f8841 100644 --- a/lib/silcsftp/sftp_util.c +++ b/lib/silcsftp/sftp_util.c @@ -30,7 +30,7 @@ fit to `packet_buf' will be reallocated. */ SilcBuffer silc_sftp_packet_encode(SilcSFTPPacket packet, - SilcBuffer packet_buf, uint32 len, ...) + SilcBuffer packet_buf, SilcUInt32 len, ...) { SilcBuffer buffer; va_list vp; @@ -46,7 +46,7 @@ SilcBuffer silc_sftp_packet_encode(SilcSFTPPacket packet, pointer as argument. */ SilcBuffer silc_sftp_packet_encode_vp(SilcSFTPPacket packet, - SilcBuffer packet_buf, uint32 len, + SilcBuffer packet_buf, SilcUInt32 len, va_list vp) { SilcBuffer buffer; @@ -89,10 +89,10 @@ SilcBuffer silc_sftp_packet_encode_vp(SilcSFTPPacket packet, SilcSFTPPacket silc_sftp_packet_decode(SilcBuffer packet, unsigned char **payload, - uint32 *payload_len) + SilcUInt32 *payload_len) { - uint32 len; - uint8 type; + SilcUInt32 len; + SilcUInt8 type; int ret; ret = silc_buffer_unformat(packet, @@ -280,7 +280,7 @@ SilcSFTPAttributes silc_sftp_attr_decode(SilcBuffer buffer) sizeof(*attr->extended_data)); for (i = 0; i < attr->extended_count; i++) { unsigned char *tmp, *tmp2; - uint32 tmp_len, tmp2_len; + SilcUInt32 tmp_len, tmp2_len; if (silc_buffer_unformat(buffer, SILC_STR_UI32_NSTRING(&tmp, &tmp_len), @@ -387,7 +387,7 @@ SilcBuffer silc_sftp_name_encode(SilcSFTPName name) `count' many name, longname and attribute values. Returns the allocated structure or NULL on error. */ -SilcSFTPName silc_sftp_name_decode(uint32 count, SilcBuffer buffer) +SilcSFTPName silc_sftp_name_decode(SilcUInt32 count, SilcBuffer buffer) { SilcSFTPName name; int i;