HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_CPIOUtil.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: UT library (C++)
7  *
8  * COMMENTS: CPIO packetting for I/O
9  *
10  */
11 
12 #ifndef __UT_CPIO_UTIL_h__
13 #define __UT_CPIO_UTIL_h__
14 
15 #include "UT_API.h"
16 #include "UT_ValArray.h"
17 #include <iostream>
18 
19 class UT_IStream;
20 
21 UT_API bool UTcpioToc(UT_IStream &is, bool show_size);
22 UT_API bool UTcpioCollapse(std::ostream &os, UT_IStream &is);
24  std::ostream &os,
25  UT_StringList &files,
26  const char *relative_path = nullptr);
27 UT_API bool UTcpioExpand(
28  UT_IStream &is,
29  const char *destdir = nullptr,
30  bool makedir = true,
31  const char *toc_filename = nullptr);
32 
33 #endif
UT_API bool UTcpioCollapse(std::ostream &os, UT_IStream &is)
#define UT_API
Definition: UT_API.h:14
UT_API bool UTcpioExpand(UT_IStream &is, const char *destdir=nullptr, bool makedir=true, const char *toc_filename=nullptr)
UT_API bool UTcpioToc(UT_IStream &is, bool show_size)