build-sys: remove prefix from filenames
[vd_agent.git] / src / vdagent / file-xfers.h
blob28a71fd7b8d6ab37b831fe1e49f2baba0f7639b6
1 /* vdagent file xfers header
3 Copyright 2013 Red Hat, Inc.
5 Red Hat Authors:
6 Hans de Goede <hdegoede@redhat.com>
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef __VDAGENT_FILE_XFERS_H
23 #define __VDAGENT_FILE_XFERS_H
25 #include "udscs.h"
27 struct vdagent_file_xfers;
29 struct vdagent_file_xfers *vdagent_file_xfers_create(
30 struct udscs_connection *vdagentd, const char *save_dir,
31 int open_save_dir, int debug);
32 void vdagent_file_xfers_destroy(struct vdagent_file_xfers *xfer);
34 void vdagent_file_xfers_start(struct vdagent_file_xfers *xfers,
35 VDAgentFileXferStartMessage *msg);
36 void vdagent_file_xfers_status(struct vdagent_file_xfers *xfers,
37 VDAgentFileXferStatusMessage *msg);
38 void vdagent_file_xfers_data(struct vdagent_file_xfers *xfers,
39 VDAgentFileXferDataMessage *msg);
40 void vdagent_file_xfers_error(struct udscs_connection *vdagentd,
41 uint32_t msg_id);
43 #endif