]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/cap-list.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / basic / cap-list.h
index 9824fad70f1edc6f0d984a8964cfbb9ef887f6df..ca9f4aa9702e860582ea958540bba45c05135026 100644 (file)
@@ -1,5 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
@@ -24,3 +23,6 @@
 const char *capability_to_name(int id);
 int capability_from_name(const char *name);
 int capability_list_length(void);
+
+int capability_set_to_string_alloc(uint64_t set, char **s);
+int capability_set_from_string(const char *s, uint64_t *set);