summaryrefslogtreecommitdiffstats
path: root/qarsh_packet.h
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2013-08-01 04:21:38 -0400
committerNathan Straz <nstraz@redhat.com>2013-09-11 17:33:58 -0400
commitbbf62ffff81089ae1ef74d4e1927710af982799b (patch)
treeca6e3194aa46db2e69fd9db21a0aaed634d6559c /qarsh_packet.h
parentbbceec6030f8501ce129a93980c0f2e045cce562 (diff)
downloadqarsh-bbf62ffff81089ae1ef74d4e1927710af982799b.tar.gz
qarsh-bbf62ffff81089ae1ef74d4e1927710af982799b.tar.xz
qarsh-bbf62ffff81089ae1ef74d4e1927710af982799b.zip
Convert packet parsing
Diffstat (limited to 'qarsh_packet.h')
-rw-r--r--qarsh_packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qarsh_packet.h b/qarsh_packet.h
index 516c4fd..ec391c3 100644
--- a/qarsh_packet.h
+++ b/qarsh_packet.h
@@ -129,7 +129,7 @@ struct qa_packet {
/* Prototypes */
char *qp_packet_type(enum qa_packet_type t);
-struct qa_packet *parse_packets(char *buf, int n);
+struct qa_packet *parse_packet(char *buf, int buflen);
struct qa_packet *make_qp_hello(char *greeting);
struct qa_packet *make_qp_returncode(int rc, int eno, char *strerr);
struct qa_packet *make_qp_ack(enum qa_packet_type t, int i);