1 /****************************************************************/
2 /* spca50x_sdram.h - Gphoto2 library for cameras with sunplus */
5 /* Copyright © 2002, 2003 Till Adam */
7 /* Author: Till Adam <till@adam-lilienthal.de> */
9 /* This library is free software; you can redistribute it */
10 /* and/or modify it under the terms of the GNU Library General */
11 /* Public License as published by the Free Software Foundation; */
12 /* either version 2 of the License, or (at your option) any */
15 /* This library is distributed in the hope that it will be */
16 /* useful, but WITHOUT ANY WARRANTY; without even the implied */
17 /* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR */
18 /* PURPOSE. See the GNU Library General Public License for */
21 /* You should have received a copy of the GNU Library General */
22 /* Public License along with this library; if not, write to the */
23 /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */
24 /* Boston, MA 02111-1307, USA. */
25 /****************************************************************/
27 #ifndef __SPCA50X_SDRAM_H__
28 #define __SPCA50X_SDRAM_H__
29 #include <gphoto2/gphoto2-camera.h>
31 int spca50x_sdram_get_info (CameraPrivateLibrary * lib);
32 int spca50x_sdram_delete_file (CameraPrivateLibrary * lib, unsigned int index);
33 int spca50x_sdram_delete_all (CameraPrivateLibrary * lib);
34 int spca50x_sdram_get_file_info (CameraPrivateLibrary * lib, unsigned int index,
35 struct SPCA50xFile **file);
36 int spca50x_sdram_request_file (CameraPrivateLibrary * lib, uint8_t ** buf,
37 unsigned int *len, unsigned int number, int *type);
38 int spca50x_sdram_request_thumbnail (CameraPrivateLibrary * lib,
39 uint8_t ** buf, unsigned int *len,
40 unsigned int number, int *type);
42 #endif /* __SPCA50X_SDRAM_H__ */