• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/megatron/

Lines Matching refs:fh

94 int hqx_open(char *hqxfile, int flags, struct FHeader *fh, int options)
119 if ( hqx_header_read( fh ) == 0 ) {
134 strncpy( hqx.path, fh->name, maxlen );
141 if ( hqx_header_write( fh ) != 0 ) {
244 int hqx_header_read(struct FHeader *fh)
292 memcpy( fh->name, headerptr, (int)namelen );
295 memcpy(&fh->finder_info, headerptr, BHH_TCSIZ );
297 memcpy(&fh->finder_info.fdFlags, headerptr, BHH_FLAGSIZ );
298 fh->finder_info.fdFlags = fh->finder_info.fdFlags & mask;
300 memcpy(&fh->forklen[ DATA ], headerptr, BHH_DATASIZ );
301 hqx.forklen[ DATA ] = ntohl( fh->forklen[ DATA ] );
303 memcpy( &fh->forklen[ RESOURCE ], headerptr, BHH_RESSIZ );
304 hqx.forklen[ RESOURCE ] = ntohl( fh->forklen[ RESOURCE ] );
314 fh->comment[0] = '\0';
315 fh->finder_info.fdLocation = 0;
316 fh->finder_info.fdFldr = 0;
324 fprintf( stderr, "file name\t\t%s\n", fh->name );
325 fprintf( stderr, "get info comment\t%s\n", fh->comment );
326 fprintf( stderr, "type\t\t\t%.*s\n", sizeof( fh->finder_info.fdType ),
327 &fh->finder_info.fdType );
329 sizeof( fh->finder_info.fdCreator ),
330 &fh->finder_info.fdCreator );
331 memcpy( &flags, &fh->finder_info.fdFlags, sizeof( flags ));
347 memcpy( &fh->create_date, &time_seconds,
348 sizeof( fh->create_date ));
349 memcpy( &fh->mod_date, &time_seconds,
350 sizeof( fh->mod_date ));
351 fh->backup_date = AD_DATE_START;
357 fh->comment[0] = '\0';
358 memset( &fh->finder_info.fdLocation, 0,
359 sizeof( fh->finder_info.fdLocation ));
360 memset( &fh->finder_info.fdFldr, 0, sizeof( fh->finder_info.fdFldr ));
377 int hqx_header_write(struct FHeader *fh _U_)