to that buffer instead of allocating new one. If the new data cannot
fit to `packet_buf' will be reallocated. */
SilcBuffer silc_sftp_packet_encode(SilcSFTPPacket packet,
to that buffer instead of allocating new one. If the new data cannot
fit to `packet_buf' will be reallocated. */
SilcBuffer silc_sftp_packet_encode(SilcSFTPPacket packet,
/* Same as silc_sftp_packet_encode but takes the variable argument list
pointer as argument. */
SilcBuffer silc_sftp_packet_encode_vp(SilcSFTPPacket packet,
/* Same as silc_sftp_packet_encode but takes the variable argument list
pointer as argument. */
SilcBuffer silc_sftp_packet_encode_vp(SilcSFTPPacket packet,
NULL if error occurred during decoding. */
SilcSFTPPacket silc_sftp_packet_decode(SilcBuffer packet,
unsigned char **payload,
NULL if error occurred during decoding. */
SilcSFTPPacket silc_sftp_packet_decode(SilcBuffer packet,
unsigned char **payload,
/* Encodes the SFTP attributes to a buffer and returns the allocated buffer.
The caller must free the buffer. */
/* Encodes the SFTP attributes to a buffer and returns the allocated buffer.
The caller must free the buffer. */
/* Decodes a SilcSFTPName structure from the `buffer' that must include
`count' many name, longname and attribute values. Returns the allocated
structure or NULL on error. */
/* Decodes a SilcSFTPName structure from the `buffer' that must include
`count' many name, longname and attribute values. Returns the allocated
structure or NULL on error. */