* include/gphoto2-file.h:
* include/gphoto2-library.h:
* include/gphoto2-camera.h: Support for raw data.
* libpghoto2/file.c: Adjust to above changes.
* libgphoto2/frontend.c: Kill a warning.
* libgphoto2/libgphoto-2.0.pc.in: CFlags -> Cflags
* libgphoto2/widget.c: Include gphoto2-result.h instead of gphoto2.h
* camlibs/*: Prepare support for download of raw data. Remove lots of
redundant code (people just copied & pasted the code for file_get
and file_get_preview...). I hope everything works as it did before.
* frontend/command-line/*: Prepare support for download of raw data
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2072 67ed7778-7388-44ab-90cf-0a291f65f57c
19 lines
448 B
C
19 lines
448 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_get_raw (char *arg);
|
|
int shell_exit (char *arg);
|
|
int shell_help (char *arg);
|