Lines Matching defs:header
394 CatalogHeader header;
413 zero(header);
414 memcpy(header.signature, CATALOG_SIGNATURE, sizeof(header.signature));
415 header.header_size = htole64(ALIGN_TO(sizeof(CatalogHeader), 8));
416 header.catalog_item_size = htole64(sizeof(CatalogItem));
417 header.n_items = htole64(n);
421 k = fwrite(&header, 1, sizeof(header), w);
422 if (k != sizeof(header)) {
423 log_error("%s: failed to write header.", p);
667 static char *find_header(const char *s, const char *header) {
672 v = startswith(s, header);