Quoting in guestfish.
[libguestfs.git] / fish / fish.h
1 /* libguestfs - the guestfsd daemon
2  * Copyright (C) 2009 Red Hat Inc.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18
19 #ifndef FISH_H
20 #define FISH_H
21
22 #include <guestfs.h>
23
24 /* in fish.c */
25 extern guestfs_h *g;
26 extern int g_launched;
27 extern int quit;
28 extern int verbose;
29 extern void pod2text (const char *heading, const char *body);
30 extern void list_builtin_commands (void);
31 extern void display_builtin_command (const char *cmd);
32 extern void free_strings (char **argv);
33 extern void print_strings (char * const * const argv);
34 extern int launch (guestfs_h *);
35 extern int is_true (const char *str);
36 extern char **parse_string_list (const char *str);
37
38 /* in cmds.c (auto-generated) */
39 extern void list_commands (void);
40 extern void display_command (const char *cmd);
41 extern int run_action (const char *cmd, int argc, char *argv[]);
42
43 /* in completion.c (auto-generated) */
44 extern char **do_completion (const char *text, int start, int end);
45
46 #endif /* FISH_H */