]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/pam-util.h
Merge pull request #14592 from keszybz/simplifications
[thirdparty/systemd.git] / src / shared / pam-util.h
CommitLineData
cef9f2a6
LP
1/* SPDX-License-Identifier: LGPL-2.1+ */
2#pragma once
3
4#include <security/pam_modules.h>
5
6#include "sd-bus.h"
7
8int pam_log_oom(pam_handle_t *handle);
9int pam_bus_log_create_error(pam_handle_t *handle, int r);
10int pam_bus_log_parse_error(pam_handle_t *handle, int r);
11
12int pam_acquire_bus_connection(pam_handle_t *handle, sd_bus **ret);
13int pam_release_bus_connection(pam_handle_t *handle);
14
15void pam_cleanup_free(pam_handle_t *handle, void *data, int error_status);