Lines Matching defs:database
51 * 3 Unable to open BDB database.
105 bulk_write(char type, DB *database, DBC *dbcursor, DBT *bdbkey, DBT *bdbdata);
119 * may be inserted into database by this program.
127 * BDB database names. If you want to use different
128 * database names change them here.
145 /* A struct to hold all the relevant info about the database */
149 DB *data; /* dns_data database handle */
150 DBC *cursor; /* database cursor */
154 DB *zone; /* zone database handle */
155 DB *host; /* host database handle */
156 DB *client; /* client database handle */
169 * and the BDB database before exiting.
230 char *db_file = NULL; /*%< BDB database file location. */
261 Normally operations can only be performed on an existing database files.\n\
264 The -n flag will allow a new database to be created, or allow new\n\
265 environment files to be created for an existing database.\n\n\
391 * Performs BDB cleanup. Close each database that we opened.
453 /* Initialize the database. */
455 fprintf(stderr, "BDB could not initialize %s database. BDB error: %s",
460 /* set database flags. */
462 fprintf(stderr, "BDB could not set flags for %s database. BDB error: %s",
470 /* open the database. */
473 fprintf(stderr, "BDB could not open %s database in %s. BDB error: %s",
482 * parses input and adds it to the BDB database
509 /* execute insert against appropriate database. */
663 /* open dlz_data database. */
669 /* open dlz_host database */
674 /* open dlz_zone database. */
679 /* open dlz_client database. */
684 /* associate the host secondary database with the primary database */
687 fprintf(stderr, "BDB could not associate %s database with %s. BDB "\
693 /* associate the zone secondary database with the primary database */
696 fprintf(stderr, "BDB could not associate %s database with %s. BDB "\
822 bulk_write(char type, DB *database, DBC *dbcursor, DBT *bdbkey, DBT *bdbdata) {
837 "Unable to allocate 5 MB buffer for bulk database dump\n");
844 bdbres = database->cursor(database, NULL, &dbcursor, 0);
933 /* Dump database in "dlzbdb" bulk format */
971 printf("Key not found in database");
993 printf("Zone not found in database");
1020 printf("Host not found in database");
1087 printf("Client zone & IP not found in database");
1093 printf("Client zone not found in database");
1220 /* BDB database. The BDB database path can be either relative to the */