1 /*
2  * Copyright (c) 1997, 2000, 01
3  *    Motoyuki Kasahara
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2, or (at your option)
8  * any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15 
16 #ifndef LOGPID_H
17 #define LOGPID_H
18 
19 #ifdef HAVE_CONFIG_H
20 #include "config.h"
21 #endif
22 
23 #include <sys/types.h>
24 
25 
26 /*
27  * Function declarations.
28  */
29 #ifdef __STDC__
30 int log_pid_file(const char *);
31 int remove_pid_file(const char *);
32 int probe_pid_file(const char *);
33 int read_pid_file(const char *, pid_t *);
34 #else
35 int log_pid_file();
36 int remove_pid_file();
37 int probe_pid_file();
38 int read_pid_file();
39 #endif
40 
41 #endif /* not LOGPID_H */
42