1/* 2 * hfsutils - tools for reading and writing Macintosh HFS volumes 3 * Copyright (C) 1996, 1997 Robert Leslie 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 */ 19 20int v_catsearch(hfsvol *, long, char *, CatDataRec *, char *, node *); 21int v_extsearch(hfsfile *, unsigned int, ExtDataRec *, node *); 22 23int v_getthread(hfsvol *, long, CatDataRec *, node *, int); 24 25# define v_getdthread(vol, id, thread, np) \ 26 v_getthread(vol, id, thread, np, cdrThdRec) 27# define v_getfthread(vol, id, thread, np) \ 28 v_getthread(vol, id, thread, np, cdrFThdRec) 29 30int v_putcatrec(CatDataRec *, node *); 31int v_putextrec(ExtDataRec *, node *); 32 33int v_allocblocks(hfsvol *, ExtDescriptor *); 34void v_freeblocks(hfsvol *, ExtDescriptor *); 35 36int v_resolve(hfsvol **, char *, CatDataRec *, long *, char *, node *); 37 38void v_destruct(hfsvol *); 39int v_getvol(hfsvol **); 40int v_flush(hfsvol *, int); 41 42int v_adjvalence(hfsvol *, long, int, int); 43int v_newfolder(hfsvol *, long, char *); 44 45int v_scavenge(hfsvol *); 46