• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/bin/megatron/

Lines Matching defs:fh

65 int single_open(char *singlefile, int flags, struct FHeader *fh, int options _U_)
81 ( single_header_read( fh, rc ) == 0 )) {
111 * can read from the fh substruct. it must be called before any of the
115 int single_header_read( struct FHeader *fh, int version)
189 * the informational entries into the fh struct. The ENTRYID_DATA
202 if ( read( single.filed, (char *)fh->name, readlen ) != readlen ) {
218 memcpy( &fh->finder_info.fdType, entry_buf + FINDERIOFF_TYPE,
219 sizeof( fh->finder_info.fdType ));
220 memcpy( &fh->finder_info.fdCreator, entry_buf + FINDERIOFF_CREATOR,
221 sizeof( fh->finder_info.fdCreator ));
222 memcpy( &fh->finder_info.fdFlags, entry_buf + FINDERIOFF_FLAGS,
223 sizeof( fh->finder_info.fdFlags ));
224 fh->finder_info.fdFlags = fh->finder_info.fdFlags & mask;
225 memcpy( &fh->finder_info.fdLocation, entry_buf + FINDERIOFF_LOC,
226 sizeof( fh->finder_info.fdLocation ));
227 memcpy(&fh->finder_info.fdFldr, entry_buf + FINDERIOFF_FLDR,
228 sizeof( fh->finder_info.fdFldr ));
229 fh->finder_xinfo.fdScript = *(entry_buf + FINDERIOFF_SCRIPT);
230 fh->finder_xinfo.fdXFlags = *(entry_buf + FINDERIOFF_XFLAGS);
237 strncpy( type, &fh->finder_info.fdType, 4 );
238 strncpy( creator, &fh->finder_info.fdCreator, 4 );
246 fh->comment[0] = '\0';
252 if ( read( single.filed, (char *)fh->comment, readlen ) != readlen ) {
269 memcpy(&fh->create_date, &time_seconds, sizeof( fh->create_date ));
270 memcpy(&fh->mod_date, &time_seconds, sizeof( fh->mod_date ));
271 fh->backup_date = AD_DATE_START;
284 memcpy( &fh->create_date, entry_buf + FILEIOFF_CREATE,
285 sizeof( fh->create_date ));
286 memcpy( &fh->mod_date, entry_buf + FILEIOFF_MODIFY,
287 sizeof( fh->mod_date ));
288 memcpy( &fh->backup_date, entry_buf + FILEIOFF_BACKUP,
289 sizeof(fh->backup_date));
298 memcpy( &fh->create_date, entry_buf + FILEIOFF_CREATE,
299 sizeof( fh->create_date ));
300 memcpy( &fh->mod_date, entry_buf + FILEIOFF_MODIFY,
301 sizeof( fh->mod_date ));
302 memcpy( &fh->backup_date, entry_buf + FILEIOFF_BACKUP,
303 sizeof(fh->backup_date));
306 fh->forklen[RESOURCE] = 0;
308 fh->forklen[RESOURCE] =
312 fh->forklen[ DATA ] = 0;
314 fh->forklen[ DATA ] = htonl( single.entry[ ADEID_DFORK ].ade_len );