2 Copyright (C) 2006-2021 Ben Kibbey <bjk@luxsci.net>
4 This file is part of pwmd.
6 Pwmd is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version 2 as
8 published by the Free Software Foundation.
10 Pwmd is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with Pwmd. If not, see <http://www.gnu.org/licenses/>.
21 gpg_error_t
do_validate_peer (assuan_context_t ctx
, const char *section
,
22 assuan_peercred_t
*peer
, char **rpath
);
23 gpg_error_t
peer_is_invoker(struct client_s
*client
);
24 gpg_error_t
acl_check_common (struct client_s
*client
, const char *user
,
25 uid_t uid
, gid_t gid
, int *allowed
);
26 gpg_error_t
validate_peer (struct client_s
*);