Lines Matching defs:header
130 ii_header_t header;
175 /* Check old header looks like an Point-in-Time Copy bitmap header */
177 if (fread(&header, sizeof (header), 1, ifp) != 1) {
182 if (header.ii_magic != DSW_CLEAN && header.ii_magic != DSW_DIRTY) {
188 if (strncmp(header.bitmap_vol, old_bitmap, DSW_NAMELEN) != 0) {
201 /* Set up new header */
203 (void) memset(header.bitmap_vol, 0, DSW_NAMELEN);
204 (void) strncpy(header.bitmap_vol, new_bitmap, DSW_NAMELEN);
206 if (fwrite(&header, sizeof (header), 1, ofp) != 1) {
209 gettext("Can't write new bitmap header\n"));