blob: c611ae490b3127c11c99f664905de8eda77f1ef4 [file] [log] [blame] [raw]
/*
Copyright 2015-2021 Rivoreo
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
struct word_list;
#define ADJUST 0
#define ALLOW_OTHER 1
#define DENY_OTHER 2
#define BASIC_SET 3
extern int get_privileges(char ***, char ***, unsigned int *);
extern int get_all_privileges(char ***, char **, char ***, unsigned int *, const struct word_list *);
extern int set_privileges(const struct word_list *, int);
extern int is_in_list_ignore_case(const struct word_list *, const char *);