Logo Search packages:      
Sourcecode: libgphoto2 version File versions

test-ddb.c File Reference


Detailed Description

Author:
Copyright (C) 2006 Hans Ulrich Niedermann
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file test-ddb.c.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gphoto2/gphoto2-abilities-list.h>
#include "ddb-common.h"
#include "ddb-txt.tab.h"

Go to the source code of this file.

Defines

#define CMP_RET_S(cmp_func, field)
#define CMP_RET_UI(cmp_func, field)

Functions

static int compare_camera_abilities (const CameraAbilities *a, const CameraAbilities *b)
static int compare_lists (void)
int main (int argc, char *argv[])
CameraAbilitiesListread_abilities_list (const char *filename)
static int strcmp_colon (const char *a, const char *b)
static int uicmp (unsigned int a, unsigned int b)


Generated by  Doxygen 1.6.0   Back to index