dist.h 498 B

12345678910111213141516171819
  1. // Copyright (c) 2013-2014, Alberto Corona <alberto@0x1a.us>
  2. // All rights reserved. This file is part of yabs, distributed under the BSD
  3. // 3-Clause license. For full terms please see the LICENSE file.
  4. #ifndef _DIST_H
  5. #define _DIST_H
  6. #include <sys/types.h>
  7. #include <sys/stat.h>
  8. #include <archive.h>
  9. #include <archive_entry.h>
  10. #include <stdlib.h>
  11. #include <iostream>
  12. extern int copy_data(struct archive *arch, struct archive *archive_write);
  13. extern void extract(const char *proj_path);
  14. #endif