chiark / gitweb /
c81c6748b5773f3977d6709788ad0b854cecfabe
[elogind.git] / src / basic / cap-list.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5   Copyright 2014 Lennart Poettering
6 ***/
7
8 const char *capability_to_name(int id);
9 int capability_from_name(const char *name);
10 int capability_list_length(void);
11
12 int capability_set_to_string_alloc(uint64_t set, char **s);
13 int capability_set_from_string(const char *s, uint64_t *set);