projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3f4ba
)
creds-util: introduce CREDENTIAL_NAME_MAX
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 12 May 2021 01:20:47 +0000
(10:20 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 12 May 2021 01:20:47 +0000
(10:20 +0900)
src/basic/creds-util.h
patch
|
blob
|
history
diff --git
a/src/basic/creds-util.h
b/src/basic/creds-util.h
index 5e33ca377606672972f5f924b7df513558a673a4..73102494246c570cfc484d1d9bb9e006ae7b49be 100644
(file)
--- a/
src/basic/creds-util.h
+++ b/
src/basic/creds-util.h
@@
-5,6
+5,10
@@
#include <stdbool.h>
#include <sys/types.h>
+#include "fd-util.h"
+
+#define CREDENTIAL_NAME_MAX FDNAME_MAX
+
bool credential_name_valid(const char *s);
int get_credentials_dir(const char **ret);