ddc
RmlTar.h
Go to the documentation of this file.
1 /*
2 ** Copyright 1998-2003 University of Illinois Board of Trustees
3 ** Copyright 1998-2003 Mark D. Roth
4 ** All rights reserved.
5 **
6 ** libtar.h - header file for libtar library
7 **
8 ** Mark D. Roth <roth@uiuc.edu>
9 ** Campus Information Technologies and Educational Services
10 ** University of Illinois at Urbana-Champaign
11 */
12 
13 #ifndef LIBTAR_H
14 #define LIBTAR_H
15 
16 struct TAR;
17 /* open a new tarfile handle */
18 int tar_open(TAR **t, const char *pathname);
19 /* close tarfile handle */
20 int tar_close(TAR *t);
21 /* get next file, it returns false, if Result contains a file, otherwise there is no more files in the tar archive */
22 bool tar_get_next_file(TAR *t, string& FileName, vector<char>& Result);
23 
24 
25 #endif /* ! LIBTAR_H */
26 
27 /*--- emacs style variables ---
28  * Local Variables:
29  * mode: C++
30  * c-file-style: "ellemtel"
31  * c-basic-offset: 4
32  * tab-width: 8
33  * indent-tabs-mode: nil
34  * End:
35  */
int tar_close(TAR *t)
Definition: RmlTar.cpp:376
int tar_open(TAR **t, const char *pathname)
Definition: RmlTar.cpp:354
string pathname
Definition: RmlTar.cpp:51
Definition: RmlTar.cpp:49
bool tar_get_next_file(TAR *t, string &FileName, vector< char > &Result)
Definition: RmlTar.cpp:384