]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/uid-range.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
7 typedef struct UidRange
{
11 int uid_range_add(UidRange
**p
, unsigned *n
, uid_t start
, uid_t nr
);
12 int uid_range_add_str(UidRange
**p
, unsigned *n
, const char *s
);
14 int uid_range_next_lower(const UidRange
*p
, unsigned n
, uid_t
*uid
);
15 bool uid_range_contains(const UidRange
*p
, unsigned n
, uid_t uid
);