diff --git a/lib/roken/roken-common.h b/lib/roken/roken-common.h index cb450468f..27a1aff9e 100644 --- a/lib/roken/roken-common.h +++ b/lib/roken/roken-common.h @@ -116,6 +116,10 @@ #define _PATH_HEQUIV "/etc/hosts.equiv" #endif +#ifndef _PATH_VARRUN +#deifne _PATH_VARRUN "/var/run/" +#endif + #ifndef MAXPATHLEN #define MAXPATHLEN (1024+4) #endif @@ -290,4 +294,10 @@ void timevalfix(struct timeval *t1); void timevaladd(struct timeval *t1, const struct timeval *t2); void timevalsub(struct timeval *t1, const struct timeval *t2); +void write_pid_file (const char *progname); +void delete_pid_file (void); + +int +read_environment(const char *file, char ***env); + #endif /* __ROKEN_COMMON_H__ */