git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1087 67ed7778-7388-44ab-90cf-0a291f65f57c
18 lines
405 B
C
18 lines
405 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();
|
|
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);
|