Files
libgphoto2/frontends/command-line/shell.h
Lutz Mueller a8d8eb4870 2001-08-19 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: -Wmissing-prototypes -Wmissing-declarations
        * camlibs/agfa-cl18/commands.c:
        * camlibs/agfa-cl18/usb.c:
        * frontends/command-line/foreach.c:
        * frontends/command-line/interface.c:
        * frontends/command-line/main.c:
        * frontends/command-line/options.c:
        * frontends/command-line/range.c:
        * frontends/command-line/shell.h:
        * include/gphoto2-file.h:
        * libgphoto2/file.c: First step towards a compilation with -Werror


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2017 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-08-19 21:38:48 +00:00

18 lines
417 B
C

typedef int (*shell_function_call) (char *arg);
typedef struct {
char command[16];
shell_function_call function;
char description[64];
char description_arg[64];
} shell_function;
int shell_prompt (void);
int shell_cd (char *arg);
int shell_lcd (char *arg);
int shell_ls (char *arg);
int shell_get (char *arg);
int shell_get_thumbnail (char *arg);
int shell_exit (char *arg);
int shell_help (char *arg);