Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > d449e127f3976bb1f2f32b825c602e50 > files > 531

lib64db4.6-devel-4.6.21-7mdv2008.1.x86_64.rpm

/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 2005,2007 Oracle.  All rights reserved.
 *
 * $Id: csv_extern.h,v 1.9 2007/05/17 15:15:13 bostic Exp $
 */

extern DbRecord DbRecord_base;			/* Initialized structure. */

/*
 * Prototypes
 */
extern int	DbRecord_discard(DbRecord *);
extern int	DbRecord_init(const DBT *, const DBT *, DbRecord *);
extern void	DbRecord_print(DbRecord *, FILE *);
extern int	DbRecord_read(u_long, DbRecord *);
extern int	DbRecord_search_field_name(char *, char *, OPERATOR);
extern int	DbRecord_search_field_number(u_int, char *, OPERATOR);
extern int	compare_double(DB *, const DBT *, const DBT *);
extern int	compare_string(DB *, const DBT *, const DBT *);
extern int	compare_ulong(DB *, const DBT *, const DBT *);
extern int	csv_env_close(void);
extern int	csv_env_open(const char *, int);
extern int	csv_secondary_close(void);
extern int	csv_secondary_open(void);
extern int	entry_print(void *, size_t, u_int32_t);
extern int	field_cmp_double(void *, void *, OPERATOR);
extern int	field_cmp_re(void *, void *, OPERATOR);
extern int	field_cmp_string(void *, void *, OPERATOR);
extern int	field_cmp_ulong(void *, void *, OPERATOR);
extern int	input_load(input_fmt, u_long);
extern int	query(char *, int *);
extern int	query_interactive(void);
extern int	secondary_callback(DB *, const DBT *, const DBT *, DBT *);
extern int	strtod_err(char *, double *);
extern int	strtoul_err(char *, u_long *);