• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/

Lines Matching defs:finfo

100 	struct finderinfo finfo;    /* Finder info */
211 static struct finderinfo *unpack_buffer(struct finderinfo *finfo, char *buffer)
213 memcpy(&finfo->f_type, buffer +FINDERINFO_FRTYPEOFF, sizeof(finfo->f_type));
214 memcpy(&finfo->creator, buffer +FINDERINFO_FRCREATOFF, sizeof(finfo->creator));
215 memcpy(&finfo->attrs, buffer +FINDERINFO_FRFLAGOFF, sizeof(finfo->attrs));
216 memcpy(&finfo->label, buffer +FINDERINFO_FRFLAGOFF, sizeof(finfo->label));
217 finfo->attrs &= 0xff00; /* high 8 bits */
218 finfo->label &= 0xff; /* low 8 bits */
220 return finfo;
225 unpack_finderinfo(struct vol *vol, struct path *path, struct adouble **adp, struct finderinfo *finfo, int islnk)
232 return unpack_buffer(finfo, ptr);
247 struct finderinfo *finfo = NULL, finderinfo;
368 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.f_type != 0) {
369 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
370 if (finfo->f_type != c1.finfo.f_type)
375 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.creator != 0) {
376 if (!finfo) {
377 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
379 if (finfo->creator != c1.finfo.creator)
384 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.attrs != 0) {
385 if (!finfo) {
386 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
389 if ((finfo->attrs & c2.finfo.attrs) != c1.finfo.attrs)
394 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.label != 0) {
395 if (!finfo) {
396 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
398 if ((finfo->label & c2.finfo.label) != c1.finfo.label)
970 unpack_buffer(&c1.finfo, buf);
974 unpack_buffer(&c2.finfo, buf);