From b25b860f80276f6d0ada60a677baed81488c2f08 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Tue, 1 Dec 2015 23:17:18 +0100 Subject: Add initial svc_status structure --- status.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 status.h (limited to 'status.h') diff --git a/status.h b/status.h new file mode 100644 index 0000000..7d5357e --- /dev/null +++ b/status.h @@ -0,0 +1,14 @@ +#ifndef __STATUS_H__ +#define __STATUS_H__ + +struct svc_status { + /* Main proc */ + time_t proc_start; + pid_t proc_pid; + /* Log proc */ + short has_log; + time_t log_start; + pid_t log_pid; +} __packed; + +#endif -- cgit v1.2.3