OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
/
gphoto2
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:50:42 AM
rwxr-xr-x
📄
gphoto2-abilities-list.h
7.67 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-camera.h
16.91 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-context.h
4.88 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-file.h
6.74 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-filesys.h
14.99 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-library.h
2.22 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-list.h
2.86 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-info-list.h
3.71 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-log.h
7.4 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-portability.h
7.08 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-result.h
3.06 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-version.h
1.3 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port.h
8.19 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-result.h
3.98 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-setting.h
1.12 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-version.h
1.11 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-widget.h
4.77 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2.h
1.48 KB
12/23/2017 12:19:04 PM
rw-r--r--
Editing: gphoto2-library.h
Close
/** \file * \brief Camery driver header. * * \author Copyright 2000 Scott Fritzinger * * \note * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * \note * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * \note * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA */ #ifndef __GPHOTO2_LIBRARY_H__ #define __GPHOTO2_LIBRARY_H__ #include <gphoto2/gphoto2-abilities-list.h> #include <gphoto2/gphoto2-camera.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /** * \brief Returns a unique id for the camera driver. * * \param id a #CameraText * \return a gphoto2 error code * **/ typedef int (* CameraLibraryIdFunc) (CameraText *id); /** * \brief Adds the abilities of the supported models to the supplied list. * * \param list a #CameraAbilitiesList * \return a gphoto2 error code * **/ typedef int (* CameraLibraryAbilitiesFunc) (CameraAbilitiesList *list); /** * \brief Initializes the camera. * * \param camera a #Camera * \param context a #GPContext * \return a gphoto2 error code * * The camera driver will establish a first connection * to the camera and configure the camera variable (i.e. using * #gp_filesystem_set_list_funcs or #gp_port_get_settings). * **/ typedef int (* CameraLibraryInitFunc) (Camera *camera, GPContext *context); /* * If you want to write a camera library, you need to implement * the following three functions. Everything else should be declared * as static. */ int camera_id (CameraText *id); int camera_abilities (CameraAbilitiesList *list); int camera_init (Camera *camera, GPContext *context); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __GPHOTO2_LIBRARY_H__ */