X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmodechange.h;h=f6f8e744d6e305f6baa01d6cc48b0e87102153a1;hb=1a2869593e115e4a6c74aaa0b23ca612357403ce;hp=a5a453438dd703fcffcdd13166f3fed79703bf75;hpb=8b03458ebe93a6e1c86c3a468aa3f2eee01e3c4c;p=gnulib.git diff --git a/lib/modechange.h b/lib/modechange.h index a5a453438..f6f8e744d 100644 --- a/lib/modechange.h +++ b/lib/modechange.h @@ -1,12 +1,12 @@ /* modechange.h -- definitions for file mode manipulation - Copyright (C) 1989, 1990, 1997, 2003, 2004, 2005 Free Software - Foundation, Inc. + Copyright (C) 1989, 1990, 1997, 2003, 2004, 2005, 2006 Free + Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + 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. + 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 @@ -14,18 +14,17 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* Masks for the `flags' field in a `struct mode_change'. */ + along with this program. If not, see . */ #if ! defined MODECHANGE_H_ # define MODECHANGE_H_ +# include # include struct mode_change *mode_compile (const char *); struct mode_change *mode_create_from_ref (const char *); -mode_t mode_adjust (mode_t, struct mode_change const *, mode_t); +mode_t mode_adjust (mode_t, bool, mode_t, struct mode_change const *, + mode_t *); #endif