Lines Matching refs:database

60  * 3 Unable to open BDB database.
114 bulk_write(char type, DB *database, DBC *dbcursor, DBT *bdbkey, DBT *bdbdata);
128 * may be inserted into database by this program.
136 * BDB database names. If you want to use different
137 * database names change them here.
154 /* A struct to hold all the relevant info about the database */
158 DB *data; /* dns_data database handle */
159 DBC *cursor; /* database cursor */
163 DB *zone; /* zone database handle */
164 DB *host; /* host database handle */
165 DB *client; /* client database handle */
178 * and the BDB database before exiting.
239 char *db_file = NULL; /*%< BDB database file location. */
270 Normally operations can only be performed on an existing database files.\n\
273 The -n flag will allow a new database to be created, or allow new\n\
274 environment files to be created for an existing database.\n\n\
400 * Performs BDB cleanup. Close each database that we opened.
462 /* Initialize the database. */
464 fprintf(stderr, "BDB could not initialize %s database. BDB error: %s",
469 /* set database flags. */
471 fprintf(stderr, "BDB could not set flags for %s database. BDB error: %s",
479 /* open the database. */
482 fprintf(stderr, "BDB could not open %s database in %s. BDB error: %s",
491 * parses input and adds it to the BDB database
518 /* execute insert against appropriate database. */
672 /* open dlz_data database. */
678 /* open dlz_host database */
683 /* open dlz_zone database. */
688 /* open dlz_client database. */
693 /* associate the host secondary database with the primary database */
696 fprintf(stderr, "BDB could not associate %s database with %s. BDB "\
702 /* associate the zone secondary database with the primary database */
705 fprintf(stderr, "BDB could not associate %s database with %s. BDB "\
831 bulk_write(char type, DB *database, DBC *dbcursor, DBT *bdbkey, DBT *bdbdata) {
846 "Unable to allocate 5 MB buffer for bulk database dump\n");
853 bdbres = database->cursor(database, NULL, &dbcursor, 0);
942 /* Dump database in "dlzbdb" bulk format */
980 printf("Key not found in database");
1002 printf("Zone not found in database");
1029 printf("Host not found in database");
1096 printf("Client zone & IP not found in database");
1102 printf("Client zone not found in database");
1229 /* BDB database. The BDB database path can be either relative to the */