• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/examples_c/csv/
1/*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 2005,2008 Oracle.  All rights reserved.
5 *
6 * $Id: csv_extern.h,v 1.10 2008/01/08 20:58:23 bostic Exp $
7 */
8
9extern DbRecord DbRecord_base;			/* Initialized structure. */
10
11/*
12 * Prototypes
13 */
14extern int	DbRecord_discard(DbRecord *);
15extern int	DbRecord_init(const DBT *, const DBT *, DbRecord *);
16extern void	DbRecord_print(DbRecord *, FILE *);
17extern int	DbRecord_read(u_long, DbRecord *);
18extern int	DbRecord_search_field_name(char *, char *, OPERATOR);
19extern int	DbRecord_search_field_number(u_int, char *, OPERATOR);
20extern int	compare_double(DB *, const DBT *, const DBT *);
21extern int	compare_string(DB *, const DBT *, const DBT *);
22extern int	compare_ulong(DB *, const DBT *, const DBT *);
23extern int	csv_env_close(void);
24extern int	csv_env_open(const char *, int);
25extern int	csv_secondary_close(void);
26extern int	csv_secondary_open(void);
27extern int	entry_print(void *, size_t, u_int32_t);
28extern int	field_cmp_double(void *, void *, OPERATOR);
29extern int	field_cmp_re(void *, void *, OPERATOR);
30extern int	field_cmp_string(void *, void *, OPERATOR);
31extern int	field_cmp_ulong(void *, void *, OPERATOR);
32extern int	input_load(input_fmt, u_long);
33extern int	query(char *, int *);
34extern int	query_interactive(void);
35extern int	secondary_callback(DB *, const DBT *, const DBT *, DBT *);
36extern int	strtod_err(char *, double *);
37extern int	strtoul_err(char *, u_long *);
38