File: systemd.h

package info (click to toggle)
conntrack-tools 1%3A1.4.9-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,580 kB
  • sloc: ansic: 20,447; sh: 6,209; yacc: 1,480; makefile: 194; lex: 181; python: 176
file content (18 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _INCLUDE_SYSTEMD_H_
#define _INCLUDE_SYSTEMD_H_

#include <sys/types.h>

#ifdef BUILD_SYSTEMD
void sd_ct_watchdog_init(void);
void sd_ct_init(void);
void sd_ct_mainpid(pid_t pid);
void sd_ct_stop(void);
#else /* BUILD_SYSTEMD */
static inline void sd_ct_watchdog_init(void) {};
static inline void sd_ct_init(void) {};
static inline void sd_ct_mainpid(pid_t pid) {};
static inline void sd_ct_stop(void) {};
#endif /* BUILD_SYSTEMD */

#endif /* _INCLUDE_SYSTEMD_H_ */