summaryrefslogtreecommitdiff
path: root/Source/CPack/cmCPackTGZGenerator.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-02 07:53:05 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-02 07:53:05 -0500
commitc9f3ad1e23a9ed6d17ab4224e0fe6ab4e8629c30 (patch)
tree412004fda7dbb0f004d04e5af94807c239fef69c /Source/CPack/cmCPackTGZGenerator.h
parentb7ba65ed684a663be0085ae96dca3768ebdd3325 (diff)
downloadcmake-c9f3ad1e23a9ed6d17ab4224e0fe6ab4e8629c30.tar.gz
ENH: Use libtar
Diffstat (limited to 'Source/CPack/cmCPackTGZGenerator.h')
-rw-r--r--Source/CPack/cmCPackTGZGenerator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackTGZGenerator.h b/Source/CPack/cmCPackTGZGenerator.h
index 1dd86082e9..c536a8e239 100644
--- a/Source/CPack/cmCPackTGZGenerator.h
+++ b/Source/CPack/cmCPackTGZGenerator.h
@@ -50,9 +50,9 @@ public:
virtual ~cmCPackTGZGenerator();
protected:
- static int TGZ_Open(struct archive *a, void *client_data);
- static ssize_t TGZ_Write(struct archive *a, void *client_data, void *buff, size_t n);
- static int TGZ_Close(struct archive *a, void *client_data);
+ static int TGZ_Open(void *client_data, const char* name, int oflags, mode_t mode);
+ static ssize_t TGZ_Write(void *client_data, void *buff, size_t n);
+ static int TGZ_Close(void *client_data);
int CompressFiles(const char* outFileName, const char* toplevel,
const std::vector<std::string>& files);