annotate netinstall/tar.h @ 3017:1e7cc382eb16
[xemacs-hg @ 2005-10-24 10:07:26 by ben]
refactor mc-alloc dependencies
next-error.el, occur.el: Fix some byte-compile warnings.
alloc.c, buffer.c, buffer.h, casetab.c, casetab.h, charset.h, chartab.c, chartab.h, console-impl.h, console-msw-impl.h, console.c, data.c, database.c, device-impl.h, device-msw.c, device.c, dialog-msw.c, elhash.c, events.h, extents-impl.h, extents.c, faces.c, faces.h, file-coding.c, file-coding.h, frame-impl.h, frame.c, glyphs.c, glyphs.h, gui.c, gui.h, keymap.c, lisp.h, lrecord.h, lstream.c, lstream.h, mule-charset.c, objects-impl.h, objects.c, opaque.c, opaque.h, print.c, process.c, procimpl.h, rangetab.c, rangetab.h, scrollbar-gtk.c, scrollbar-msw.c, scrollbar-x.c, scrollbar.c, scrollbar.h, specifier.c, specifier.h, symbols.c, symeval.h, toolbar.c, toolbar.h, tooltalk.c, ui-gtk.c, ui-gtk.h, unicode.c, window-impl.h, window.c:
Eliminate the majority of #ifdef MC_ALLOC occurrences through
macros LCRECORD_HEADER, ALLOC_LCRECORD_TYPE, MALLOCED_STORAGE_SIZE,
etc. (defined in lrecord.h).
author |
ben |
date |
Mon, 24 Oct 2005 10:07:42 +0000 |
parents |
3078fd1074e8 |
children |
|
rev |
line source |
448
|
1 /*
|
|
2 * Copyright (c) 2000, Red Hat, Inc.
|
|
3 *
|
|
4 * This program is free software; you can redistribute it and/or modify
|
|
5 * it under the terms of the GNU General Public License as published by
|
|
6 * the Free Software Foundation; either version 2 of the License, or
|
|
7 * (at your option) any later version.
|
|
8 *
|
|
9 * A copy of the GNU General Public License can be found at
|
|
10 * http://www.gnu.org/
|
|
11 *
|
|
12 * Written by DJ Delorie <dj@cygnus.com>
|
|
13 *
|
|
14 */
|
|
15
|
|
16 #ifndef __TAR_H_
|
|
17 #define __TAR_H_
|
|
18
|
|
19 /* Only one tarfile may be open at a time. gzipped files handled
|
|
20 automatically */
|
|
21
|
|
22 /* returns zero on success, nonzero on failure */
|
|
23 int tar_open (char *pathname);
|
|
24
|
|
25 /* returns pointer to static buf containing name of next file */
|
|
26 char * tar_next_file ();
|
|
27
|
|
28 /* byte position in [compressed] file */
|
|
29 int tar_ftell ();
|
|
30
|
|
31 /* pass adjusted path, returns zero on success, nonzero on failure */
|
|
32 int tar_read_file (char *path);
|
|
33
|
|
34 /* closes the file */
|
|
35 int tar_close ();
|
|
36
|
|
37 /* pass path to tar file and from/to pairs for path prefix (NULLs at
|
|
38 end , returns zero if completely successful, nonzero (counts
|
|
39 errors) on failure */
|
|
40 int tar_auto (char *pathname, char **map);
|
|
41
|
|
42 int tar_mkdir_p (int isadir, char *path);
|
|
43
|
|
44 /*
|
|
45 extern int _tar_verbose;
|
|
46 extern FILE * _tar_vfile;
|
|
47 */
|
|
48
|
|
49 #endif
|