summaryrefslogtreecommitdiffhomepage
path: root/packet.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-16 22:53:27 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:53:27 +0800
commitc830d30553abc3710c3d5eb18964cd96fc37c902 (patch)
tree393f384cd748140a3fb55f41a7009baca51a062e /packet.h
parent3e7672edca09cb72ca8be481b5a6d5fb30b79149 (diff)
parent0650182289344e0d83b20c0cea1024a2306d2072 (diff)
merge
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/packet.h b/packet.h
index 6013b72..0942914 100644
--- a/packet.h
+++ b/packet.h
@@ -30,19 +30,19 @@
#include "queue.h"
#include "buffer.h"
-void write_packet();
-void read_packet();
-void decrypt_packet();
-void encrypt_packet();
+void write_packet(void);
+void read_packet(void);
+void decrypt_packet(void);
+void encrypt_packet(void);
void writebuf_enqueue(buffer * writebuf, unsigned char packet_type);
-void process_packet();
+void process_packet(void);
-void maybe_flush_reply_queue();
+void maybe_flush_reply_queue(void);
typedef struct PacketType {
unsigned char type; /* SSH_MSG_FOO */
- void (*handler)();
+ void (*handler)(void);
} packettype;
#define PACKET_PADDING_OFF 4