chiark / gitweb /
yay, we can start socket units
[elogind.git] / service.h
index 41dabff5cb71b56235b5839eda0bb7e1087b9bf6..f9dbfea5e68325cf344a4c09db2a00d3d89a3de0 100644 (file)
--- a/service.h
+++ b/service.h
@@ -5,7 +5,7 @@
 
 typedef struct Service Service;
 
-#include "name.h"
+#include "unit.h"
 
 typedef enum ServiceState {
         SERVICE_DEAD,
@@ -70,9 +70,9 @@ struct Service {
         bool main_pid_known:1;
 
         bool failure:1; /* if we shut down, remember why */
-        int timer_id;
+        Watch timer_watch;
 };
 
-const NameVTable service_vtable;
+const UnitVTable service_vtable;
 
 #endif