00001 /*------------------------------------------------------------------------- 00002 * 00003 * pgtar.h 00004 * Functions for manipulating tarfile datastructures (src/port/tar.c) 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * src/include/pgtar.h 00011 * 00012 *------------------------------------------------------------------------- 00013 */ 00014 extern void tarCreateHeader(char *h, const char *filename, const char *linktarget, size_t size, mode_t mode, uid_t uid, gid_t gid, time_t mtime); 00015 extern int tarChecksum(char *header);