Lines Matching defs:rbtfile
7738 rbt_datawriter(FILE *rbtfile, unsigned char *data, void *arg,
7752 REQUIRE(rbtfile != NULL);
7772 CHECK(isc_stdio_tell(rbtfile, &where));
7806 rbtfile, NULL));
7812 rbtfile, NULL));
7819 rbtfile, NULL));
7833 rbtdb_zero_header(FILE *rbtfile) {
7838 result = isc_stdio_write(buffer, 1, RBTDB_HEADER_LENGTH, rbtfile, NULL);
7839 fflush(rbtfile);
7863 rbtdb_write_header(FILE *rbtfile, off_t tree_location, off_t nsec_location,
7880 rbtfile, NULL);
7881 fflush(rbtfile);
7902 serialize(dns_db_t *db, dns_dbversion_t *ver, FILE *rbtfile) {
7911 REQUIRE(rbtfile != NULL);
7914 CHECK(isc_file_isplainfilefd(fileno(rbtfile)));
7928 CHECK(isc_stdio_tell(rbtfile, &header_location));
7929 CHECK(rbtdb_zero_header(rbtfile));
7930 CHECK(dns_rbt_serialize_tree(rbtfile, rbtdb->tree, rbt_datawriter,
7932 CHECK(dns_rbt_serialize_tree(rbtfile, rbtdb->nsec, rbt_datawriter,
7934 CHECK(dns_rbt_serialize_tree(rbtfile, rbtdb->nsec3, rbt_datawriter,
7937 CHECK(isc_stdio_seek(rbtfile, header_location, SEEK_SET));
7938 CHECK(rbtdb_write_header(rbtfile, tree_location, nsec_location,