X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fxattrs.h;h=fc73c5527fe272799bdd9d447c04572500e91f7d;hb=a09e840507c16357ec11b17a02e103c3a26adebc;hp=0c08cd787749c29ab46dd7e0ee6b6f0a42aa0599;hpb=696338043e52f440853e1143c52b81b41cd59723;p=chaz%2Ftar diff --git a/src/xattrs.h b/src/xattrs.h index 0c08cd7..fc73c55 100644 --- a/src/xattrs.h +++ b/src/xattrs.h @@ -1,35 +1,33 @@ -#ifndef GUARD_XATTTRS_H -#define GUARD_XATTTRS_H - /* Support for extended attributes. - Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software - Foundation, Inc. + Copyright (C) 2006-2013 Free Software Foundation, Inc. - Written by James Antill, on 2006-07-27. + This file is part of GNU tar. - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2, or (at your option) any later - version. + GNU tar is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General - Public License for more details. + GNU tar is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ + You should have received a copy of the GNU General Public License + along with this program. If not, see . + Written by James Antill, on 2006-07-27. */ + +#ifndef GUARD_XATTTRS_H +#define GUARD_XATTTRS_H /* Add include/exclude fnmatch pattern for xattr key domain. Set INCL parameter to true/false if you want to add include/exclude pattern */ extern void xattrs_mask_add (const char *mask, bool incl); /* clear helping structures when tar finishes */ -extern void xattrs_clear_setup (); +extern void xattrs_clear_setup (void); extern void xattrs_acls_get (int parentfd, char const *file_name, struct tar_stat_info *st, int fd, int xisfile);