libssh2_at_git.stuge.se wrote:
> +++ b/src/sftp.h
> @@ -64,6 +64,15 @@ struct sftp_pipeline_chunk {
>  #define MIN(x,y) ((x)<(y)?(x):(y))
>  #endif
>  
> +struct _LIBSSH2_SFTP_PACKET
> +{
> +    struct list_node node;   /* linked list header */
> +    int request_id;
> +    unsigned char *data;
> +    size_t data_len;              /* payload size */
> +};
Remember to use data types that match the protocol on wire.
request_id is uint32, so must not be int here, or anywhere else in
our code.
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-15