summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-19 12:29:25 +0100
committerRichard Jones <rjones@redhat.com>2009-04-19 12:29:25 +0100
commit749708a7ec8930c34605ec58c18fefe0ed8e7981 (patch)
treec857730e5bbbf7f9c178c948308ec4e659215f26 /daemon/daemon.h
parentbb07a7f858da5d07c57360e62c0ddfd24ce6be45 (diff)
downloadlibguestfs-749708a7ec8930c34605ec58c18fefe0ed8e7981.tar.gz
libguestfs-749708a7ec8930c34605ec58c18fefe0ed8e7981.tar.xz
libguestfs-749708a7ec8930c34605ec58c18fefe0ed8e7981.zip
Implement _send_sync, _send_file_sync and _receive_file_sync.
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index ca712657..f18e2d49 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -64,6 +64,13 @@ extern void main_loop (int sock);
extern void reply_with_error (const char *fs, ...);
extern void reply_with_perror (const char *fs, ...);
+/* daemon functions that receive files (FileIn) should call
+ * receive_file for each FileIn parameter.
+ */
+#if 0
+extern void receive_file ();
+#endif
+
/* daemon functions that return files (FileOut) should call
* reply, then send_file for each FileOut parameter.
*/