* camlibs/jamcam/.cvsignore:
* camlibs/sonydscf55/.cvsignore: New
* include/gphoto2-debug.h:
* libgphoto2/debug.c: Debugging stuff can be found here.
* frontends/command-line/main.c: Use gp_debug_set_level and don't
use gp_init any more (this is done automatically).
* include/Makefile.am:
* libgphoto2/Makefile.am: Add the debugging files
* include/gphoto2-core.h: Remove debugging and initialization stuff
* libgphoto2/core.c: Make gp_init a static function.
* (...) Various smaller changes regarding gp_init and gp_debug_*.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2301 67ed7778-7388-44ab-90cf-0a291f65f57c
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/* gphoto2-debug.h
|
|
*
|
|
* Copyright (C) 2001 Lutz Müller
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef __GPHOTO2_DEBUG_H__
|
|
#define __GPHOTO2_DEBUG_H__
|
|
|
|
#include <gphoto2-port.h>
|
|
|
|
/* The debug levels (GP_DEBUG_*) are defined in gphoto2-port.h */
|
|
|
|
void gp_debug_printf (int level, const char *id, const char *format, ...);
|
|
|
|
void gp_debug_set_level (int level);
|
|
int gp_debug_get_level (void);
|
|
|
|
#endif /* __GPHOTO2_DEBUG_H__ */
|