Lines Matching defs:entry
91 * and then reused by the remove code after the entry is removed from
94 struct entry {
95 char *e_name; /* the current name of this entry */
97 char e_type; /* type of this entry, see below */
101 struct entry *e_parent; /* pointer to parent directory (..) */
102 struct entry *e_sibling; /* next element in this directory (.) */
103 struct entry *e_links; /* hard links to this inode */
104 struct entry *e_entries; /* for directories, their entries */
105 struct entry *e_xattrs; /* pointer to extended attribute root */
106 struct entry *e_next; /* hash chain list and removelist */
109 #define LEAF 1 /* non-directory entry */
110 #define NODE 2 /* directory entry */
114 #define EXTRACT 0x0001 /* entry is to be replaced from the tape */
115 #define NEW 0x0002 /* a new entry to be extracted */
116 #define KEEP 0x0004 /* entry is not to change */
117 #define REMOVED 0x0010 /* entry has been removed */
118 #define TMPNAME 0x0020 /* entry has been given a temporary name */
123 * functions defined on entry structs
126 extern struct entry *lookupino(ino_t);
127 extern struct entry *lookupname(char *);
128 extern struct entry *addentry(char *, ino_t, int);
130 extern char *myname(struct entry *);
131 extern void freeentry(struct entry *);
132 extern void moveentry(struct entry *, char *);
137 extern void mktempname(struct entry *);
138 extern char *gentempname(struct entry *);
139 extern void newnode(struct entry *);
140 extern void removenode(struct entry *);
141 extern void removeleaf(struct entry *);
144 extern void badentry(struct entry *, char *);
145 extern char *flagvalues(struct entry *);
148 extern struct entry *lookupino();
149 extern struct entry *lookupname();
150 extern struct entry *addentry();
170 #define NIL ((struct entry *)(0))
191 * Constants associated with entry structs
198 * The entry describes the next file available on the tape