Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

gphoto2-port-result.h File Reference

Detailed Description

Copyright © 2001 Lutz Müller <lutz@users.sf.net>

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.

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.

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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Definition in file gphoto2-port-result.h.

Go to the source code of this file.


#define GP_ERROR   -1
 Generic Error.
 Bad parameters passed.
 Buffer overflow of internal structure.
#define GP_ERROR_HAL   -70
 Unspecified error when talking to HAL.
#define GP_ERROR_IO   -7
 Generic I/O error.
#define GP_ERROR_IO_INIT   -31
 Error initialising I/O.
#define GP_ERROR_IO_LOCK   -60
 Error when trying to lock the device.
#define GP_ERROR_IO_READ   -34
 I/O during read.
 Specified serial speed not possible.
 Serial ports not supported.
 USB ports not supported.
#define GP_ERROR_IO_UPDATE   -37
 I/O during update of settings.
#define GP_ERROR_IO_USB_CLAIM   -53
 Error when trying to claim the USB device.
 Error during USB Clear HALT.
#define GP_ERROR_IO_USB_FIND   -52
 Error when trying to find USB device.
#define GP_ERROR_IO_WRITE   -35
 I/O during write.
#define GP_ERROR_LIBRARY   -4
 Error in the camera driver.
#define GP_ERROR_NO_MEMORY   -3
 Out of memory.
 Functionality not supported.
#define GP_ERROR_TIMEOUT   -10
 Operation timed out.
 Unknown libgphoto2 port passed.
#define GP_OK   0
 Everything is OK.


const char * gp_port_result_as_string (int result)

Generated by  Doxygen 1.6.0   Back to index