Added callbacks to handle child process initialization.
[ashd.git] / lib / cf.h
index 09dad29..a1eadb0 100644 (file)
--- a/lib/cf.h
+++ b/lib/cf.h
@@ -24,9 +24,10 @@ void skipcfblock(struct cfstate *s);
 struct cfstate *mkcfparser(FILE *in, char *name);
 void freecfparser(struct cfstate *s);
 char **getcfline(struct cfstate *s);
+char *findstdconf(char *name);
 
 void freechild(struct child *ch);
 struct child *parsechild(struct cfstate *s);
-int childhandle(struct child *ch, struct hthead *req, int fd);
+int childhandle(struct child *ch, struct hthead *req, int fd, void (*chinit)(void *), void *idata);
 
 #endif