summaryrefslogtreecommitdiffstats
path: root/include/libssh/packet.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 14:05:58 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 14:05:58 +0200
commitcd7f6bea573e345ac01e0c5226a3fa27ca83e2a8 (patch)
treef5760ca5f8bc63e6da0e93ae0b3fe53bc64085f0 /include/libssh/packet.h
parentc3dc60103f03142873bdb78d112adbe423c94c2e (diff)
downloadlibssh-cd7f6bea573e345ac01e0c5226a3fa27ca83e2a8.tar.gz
libssh-cd7f6bea573e345ac01e0c5226a3fa27ca83e2a8.tar.xz
libssh-cd7f6bea573e345ac01e0c5226a3fa27ca83e2a8.zip
more priv.h splitting
Diffstat (limited to 'include/libssh/packet.h')
-rw-r--r--include/libssh/packet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libssh/packet.h b/include/libssh/packet.h
index b06221d1..155f3040 100644
--- a/include/libssh/packet.h
+++ b/include/libssh/packet.h
@@ -22,6 +22,13 @@
#ifndef PACKET_H_
#define PACKET_H_
+/* this structure should go someday */
+typedef struct packet_struct {
+ int valid;
+ uint32_t len;
+ uint8_t type;
+} PACKET;
+
void packet_parse(ssh_session session);
int packet_send(ssh_session session);