From a990d734de0a80bf6db2acb5ba160ad77d5fdcdf Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 21 Jun 2000 02:08:02 +0000 Subject: [PATCH] add prorotypes for write_pid.c and environment.c git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8421 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken-common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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__ */