Imported Upstream version 1.1.11
[platform/upstream/libmtp.git] / examples / connect.h
1 /**
2  * \file connect.h
3  * Header file for connect subfunctions
4  *
5  * Copyright (C) 2006 Chris A. Debenham <chris@adebenham.com>
6  * Copyright (C) 2008-2010 Linus Walleij <triad@df.lth.se>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library 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 GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 int delfile_function(char *);
24 int delfile_command(int, char **);
25 void delfile_usage(void);
26 int sendtrack_function (char *, char *, char *, char *, char *, char *, char *, char *, uint16_t, uint16_t, uint16_t, uint32_t, uint16_t);
27 int sendtrack_command (int, char **);
28 void sendtrack_usage(void);
29 int sendfile_function(char *,char *);
30 int sendfile_command(int, char **);
31 void sendfile_usage(void);
32 int getfile_function(char *,char *);
33 int getfile_command(int, char **);
34 void getfile_usage(void);
35 int newfolder_function(char *);
36 int newfolder_command(int,char **);
37 void newfolder_usage(void);