diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-18 13:17:12 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-18 13:17:12 +0100 |
commit | 1765330e07a48dc6f7bdef7007f69ebe606fa731 (patch) | |
tree | 659ce188bbe1a0568fc4b58504c6de025b9b2e3d /daemon/upload.c | |
parent | 92804dec7c4982d2039f81586bc4a5cacb46217b (diff) | |
download | libguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.tar.gz libguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.tar.xz libguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.zip |
Rewrite of main loop impl, start of FileIn/FileOut support.
Diffstat (limited to 'daemon/upload.c')
-rw-r--r-- | daemon/upload.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/daemon/upload.c b/daemon/upload.c new file mode 100644 index 00000000..d2feb028 --- /dev/null +++ b/daemon/upload.c @@ -0,0 +1,40 @@ +/* libguestfs - the guestfsd daemon + * Copyright (C) 2009 Red Hat Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include <config.h> + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <fcntl.h> + +#include "../src/guestfs_protocol.h" +#include "daemon.h" +#include "actions.h" + +int +do_upload (const char *remote_filename) +{ + XXX_NOT_IMPL (-1); +} + +int +do_download (const char *remote_filename) +{ + XXX_NOT_IMPL (-1); +} |