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

Lines Matching refs:finfo

97 	struct finderinfo finfo;    /* Finder info */
225 static struct finderinfo *unpack_buffer(struct finderinfo *finfo, char *buffer)
227 memcpy(&finfo->f_type, buffer +FINDERINFO_FRTYPEOFF, sizeof(finfo->f_type));
228 memcpy(&finfo->creator, buffer +FINDERINFO_FRCREATOFF, sizeof(finfo->creator));
229 memcpy(&finfo->attrs, buffer +FINDERINFO_FRFLAGOFF, sizeof(finfo->attrs));
230 memcpy(&finfo->label, buffer +FINDERINFO_FRFLAGOFF, sizeof(finfo->label));
231 finfo->attrs &= 0xff00; /* high 8 bits */
232 finfo->label &= 0xff; /* low 8 bits */
234 return finfo;
239 unpack_finderinfo(struct vol *vol, struct path *path, struct adouble **adp, struct finderinfo *finfo, int islnk)
246 return unpack_buffer(finfo, ptr);
261 struct finderinfo *finfo = NULL, finderinfo;
382 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.f_type != 0) {
383 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
384 if (finfo->f_type != c1.finfo.f_type)
389 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.creator != 0) {
390 if (!finfo) {
391 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
393 if (finfo->creator != c1.finfo.creator)
398 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.attrs != 0) {
399 if (!finfo) {
400 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
403 if ((finfo->attrs & c2.finfo.attrs) != c1.finfo.attrs)
408 if ((c1.rbitmap & (1<<DIRPBIT_FINFO)) && c2.finfo.label != 0) {
409 if (!finfo) {
410 finfo = unpack_finderinfo(vol, path, &adp, &finderinfo,islnk);
412 if ((finfo->label & c2.finfo.label) != c1.finfo.label)
973 unpack_buffer(&c1.finfo, buf);
977 unpack_buffer(&c2.finfo, buf);