From 4b311c5f0b298bef6880656f00c628526a827081 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 7 Jan 2016 18:35:12 +0000 Subject: 9pfs: export pdu_{submit,alloc,free} They will be used in later patches. Signed-off-by: Wei Liu Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/9p.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/9pfs/9p.h') diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 9aeb874..b62c9a8 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -321,5 +321,8 @@ extern int v9fs_name_to_path(V9fsState *s, V9fsPath *dirpath, ssize_t pdu_marshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...); ssize_t pdu_unmarshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...); +V9fsPDU *pdu_alloc(V9fsState *s); +void pdu_free(V9fsPDU *pdu); +void pdu_submit(V9fsPDU *pdu); #endif -- cgit v1.1