2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2014-12-10 03:16:14 +01:00
|
|
|
#pragma once
|
|
|
|
|
2020-08-27 15:46:28 +02:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
2014-12-10 03:16:14 +01:00
|
|
|
const char *capability_to_name(int id);
|
|
|
|
int capability_from_name(const char *name);
|
2014-12-23 22:51:40 +01:00
|
|
|
int capability_list_length(void);
|
2017-08-07 16:25:11 +02:00
|
|
|
|
|
|
|
int capability_set_to_string_alloc(uint64_t set, char **s);
|
|
|
|
int capability_set_from_string(const char *s, uint64_t *set);
|