|
|
1.1 ! root 1: /* ! 2: * libhfs - library for reading and writing Macintosh HFS volumes ! 3: * Copyright (C) 2000 Klaus Halfmann <[email protected]>^ ! 4: * Original 1996-1998 Robert Leslie <[email protected]> ! 5: * other work 2000 from Brad Boyer ([email protected]) ! 6: * ! 7: * The HFS+ dates are stored as UInt32 containing the number of seconds since ! 8: * midnight, January 1, 1904, GMT. This is slightly different from HFS, ! 9: * where the value represents local time. A notable exception is the ! 10: * creationdate !. Linux uses times in GMT starting at January 1, 1970 ! 11: * ! 12: * This program is free software; you can redistribute it and/or modify ! 13: * it under the terms of the GNU General Public License as published by ! 14: * the Free Software Foundation; either version 2 of the License, or ! 15: * (at your option) any later version. ! 16: * ! 17: * This program is distributed in the hope that it will be useful, ! 18: * but WITHOUT ANY WARRANTY; without even the implied warranty of ! 19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 20: * GNU General Public License for more details. ! 21: * ! 22: * You should have received a copy of the GNU General Public License ! 23: * along with this program; if not, write to the Free Software ! 24: * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, ! 25: * MA 02110-1301, USA. ! 26: * ! 27: * $Id: hfstime.h,v 1.2 2000/10/19 13:33:38 hasi Exp $ ! 28: */ ! 29: ! 30: /* The number of seconds between 1.1.1904 and 1.1.1970 */ ! 31: #define HFSPTIMEDIFF 2082844800U ! 32: ! 33: /* return the given apple time as UNIX time */ ! 34: extern char* get_atime(UInt32 atime);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.