]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/userdb-dropin.h
170232f99d431815b647226c3f6a12cdcd03afcd
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
6 /* This could be put together with CONF_PATHS_NULSTR, with the exception of the /run/host/ part in the
7 * middle, which we use here, but not otherwise. */
8 #define USERDB_DROPIN_DIR_NULSTR(n) \
12 "/usr/local/lib/" n "\0" \
15 int dropin_user_record_by_name(const char *name
, const char *path
, UserDBFlags flags
, UserRecord
**ret
);
16 int dropin_user_record_by_uid(uid_t uid
, const char *path
, UserDBFlags flags
, UserRecord
**ret
);
18 int dropin_group_record_by_name(const char *name
, const char *path
, UserDBFlags flags
, GroupRecord
**ret
);
19 int dropin_group_record_by_gid(gid_t gid
, const char *path
, UserDBFlags flags
, GroupRecord
**ret
);