diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-12-01 16:15:54 +0100 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-12-01 16:15:54 +0100 |
commit | 48b719cf68db72f77a650e235ffa87bdd925ed6b (patch) | |
tree | f8da1e5252c785b5e7f372252028f1a6875b9fc8 /include/libssh/pcap.h | |
parent | 96afa4530c98447d1d8a8971da8cc84168983e81 (diff) | |
download | libssh-48b719cf68db72f77a650e235ffa87bdd925ed6b.tar.gz libssh-48b719cf68db72f77a650e235ffa87bdd925ed6b.tar.xz libssh-48b719cf68db72f77a650e235ffa87bdd925ed6b.zip |
Fixed uint* to work on Windows.
Thanks to Patrick Spendrin.
Diffstat (limited to 'include/libssh/pcap.h')
-rw-r--r-- | include/libssh/pcap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/pcap.h b/include/libssh/pcap.h index 831a5647..2026f470 100644 --- a/include/libssh/pcap.h +++ b/include/libssh/pcap.h @@ -7,7 +7,7 @@ #ifdef WITH_PCAP typedef struct ssh_pcap_context_struct* ssh_pcap_context; -int ssh_pcap_file_write_packet(ssh_pcap_file pcap, ssh_buffer packet, u_int32_t original_len); +int ssh_pcap_file_write_packet(ssh_pcap_file pcap, ssh_buffer packet, uint32_t original_len); ssh_pcap_context ssh_pcap_context_new(ssh_session session); void ssh_pcap_context_free(ssh_pcap_context ctx); @@ -18,7 +18,7 @@ enum ssh_pcap_direction{ }; void ssh_pcap_context_set_file(ssh_pcap_context, ssh_pcap_file); int ssh_pcap_context_write(ssh_pcap_context,enum ssh_pcap_direction direction, void *data, - u_int32_t len, u_int32_t origlen); + uint32_t len, uint32_t origlen); #endif /* WITH_PCAP */ |