]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/acl.h
update configure
[bacula/bacula] / bacula / src / filed / acl.h
index 59af32d027223d5a50211954da000f383ba27806..93615f641182ba9153935e0bc2b3642c5c3ef3cc 100644 (file)
@@ -6,7 +6,7 @@
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
-   modify it under the terms of version two of the GNU General Public
+   modify it under the terms of version three of the GNU Affero General Public
    License as published by the Free Software Foundation and included
    in the file LICENSE.
 
@@ -15,7 +15,7 @@
    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
+   You should have received a copy of the GNU Affero 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.
@@ -46,7 +46,8 @@ typedef enum {
    BACL_TYPE_ACCESS = 1,
    BACL_TYPE_DEFAULT = 2,
    BACL_TYPE_DEFAULT_DIR = 3,
-   BACL_TYPE_EXTENDED = 4
+   BACL_TYPE_EXTENDED = 4,
+   BACL_TYPE_NFS4 = 5
 } bacl_type;
 
 /*
@@ -69,6 +70,9 @@ typedef enum {
 #define BACL_ENOTSUP          ENOTSUP
 #endif
 
+#define BACL_FLAG_SAVE_NATIVE  0x01
+#define BACL_FLAG_SAVE_AFS     0x02
+
 /*
  * Internal tracking data.
  */
@@ -76,6 +80,8 @@ struct acl_data_t {
    POOLMEM *content;
    uint32_t content_length;
    uint32_t nr_errors;
+   uint32_t current_dev;
+   uint32_t flags;             /* See BACL_FLAG_* */
 };
 
 #endif