Lines Matching defs:ar_hdr

142 struct ar_hdr {
182 * by <name, struct ar_hdr *> key/value pairs */
191 static struct ar_hdr *ArchStatMember(char *, char *, Boolean);
192 static FILE *ArchFindMember(char *, char *, struct ar_hdr *, const char *);
563 * A pointer to the current struct ar_hdr structure for the member. Note
573 static struct ar_hdr *
583 struct ar_hdr arh; /* archive-member header for reading archive */
605 return ((struct ar_hdr *)Hash_GetValue(he));
617 return ((struct ar_hdr *)Hash_GetValue(he));
630 static struct ar_hdr sarh;
668 while (fread((char *)&arh, sizeof(struct ar_hdr), 1, arch) == 1) {
738 Hash_SetValue(he, bmake_malloc(sizeof(struct ar_hdr)));
739 memcpy(Hash_GetValue(he), &arh, sizeof(struct ar_hdr));
756 return ((struct ar_hdr *)Hash_GetValue(he));
887 * start of the member's struct ar_hdr, or NULL if the member was
888 * nonexistent. The current struct ar_hdr for member.
891 * The passed struct ar_hdr structure is filled in.
896 ArchFindMember(char *archive, char *member, struct ar_hdr *arhPtr,
935 while (fread((char *)arhPtr, sizeof(struct ar_hdr), 1, arch) == 1) {
961 if (fseek(arch, -sizeof(struct ar_hdr), SEEK_CUR) != 0) {
994 if (fseek(arch, -sizeof(struct ar_hdr) - elen,
1056 struct ar_hdr arh; /* Current header describing member */
1069 (void)fwrite((char *)&arh, sizeof(struct ar_hdr), 1, arch);
1101 struct ar_hdr arh; /* Header describing table of contents */
1108 (void)fwrite((char *)&arh, sizeof(struct ar_hdr), 1, arch);
1137 struct ar_hdr *arhPtr; /* Header of desired member */
1315 struct ar_hdr *arhPtr; /* Header for __.SYMDEF */