chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move DEFINE_TRIVIAL_CLEANUP_FUNC to macro.h
[elogind.git]
/
src
/
shared
/
fileio-label.h
diff --git
a/src/shared/fileio-label.h
b/src/shared/fileio-label.h
index cc5ce347083cc556a6eb0aa7cd20df5dc5460315..25fa351be276eb26475cb9f9ce16910f555b9195 100644
(file)
--- a/
src/shared/fileio-label.h
+++ b/
src/shared/fileio-label.h
@@
-25,5
+25,7
@@
#include <stdio.h>
#include "fileio.h"
#include <stdio.h>
#include "fileio.h"
-int write_
one_line
_file_atomic_label(const char *fn, const char *line);
+int write_
string
_file_atomic_label(const char *fn, const char *line);
int write_env_file_label(const char *fname, char **l);
int write_env_file_label(const char *fname, char **l);
+int fopen_temporary_label(const char *target,
+ const char *path, FILE **f, char **temp_path);