chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
log: Provide struct cfgfile_log
[secnet.git]
/
log.c
diff --git
a/log.c
b/log.c
index e7d974dc853cfe1981afb9f1a3bdd474c0595118..3efd289fe67f9efc9051a07c84a2f83b58a06b51 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-176,6
+176,12
@@
void cfgfatal(struct cloc loc, cstring_t facility, const char *message, ...)
va_end(args);
}
va_end(args);
}
+void cfgfile_log__vmsg(void *sst, int class, const char *message, va_list args)
+{
+ struct cfgfile_log *st=sst;
+ vcfgfatal_maybefile(0,st->loc,st->facility,message,args,"\n");
+}
+
void cfgfile_postreadcheck(struct cloc loc, FILE *f)
{
assert(loc.file);
void cfgfile_postreadcheck(struct cloc loc, FILE *f)
{
assert(loc.file);