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

Defines | Functions

gphoto2-result.h File Reference

#include <gphoto2/gphoto2-port-result.h>
Include dependency graph for gphoto2-result.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GP_ERROR_CAMERA_BUSY   -110
 The camera is already busy.
#define GP_ERROR_CAMERA_ERROR   -113
 Unspecified camera error.
#define GP_ERROR_CANCEL   -112
 Cancellation successful.
#define GP_ERROR_CORRUPTED_DATA   -102
 Corrupted data received.
#define GP_ERROR_DIRECTORY_EXISTS   -109
 Specified directory already exists.
#define GP_ERROR_DIRECTORY_NOT_FOUND   -107
 Specified directory was not found.
#define GP_ERROR_FILE_EXISTS   -103
 File already exists.
#define GP_ERROR_FILE_NOT_FOUND   -108
 Specified file was not found.
#define GP_ERROR_MODEL_NOT_FOUND   -105
 Specified camera model was not found.
#define GP_ERROR_NO_SPACE   -115
 Not enough space.
#define GP_ERROR_OS_FAILURE   -114
 Unspecified failure of the operating system.
#define GP_ERROR_PATH_NOT_ABSOLUTE   -111
 Path is not absolute.

Functions

const char * gp_result_as_string (int result)
 Translate a gphoto error code into a localized string.

Detailed Description

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.
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-result.h.


Generated by  Doxygen 1.6.0   Back to index