summaryrefslogtreecommitdiff
path: root/resource.h
diff options
context:
space:
mode:
authorRussell King <rmk@armlinux.org.uk>2021-09-26 13:18:15 +0100
committerRussell King <rmk@armlinux.org.uk>2021-09-26 13:19:28 +0100
commitfc720a141bfcbe915cded0d78a5fd5aac358b6e1 (patch)
tree1abe09664b9459bfbb430731e2d550e352572659 /resource.h
parent6e0f5e73810814afcc0420eca4afdd44af6cc942 (diff)
resource: provide "backend" status events
Provide status events for the backend connection state, so the web clients know whether anything is connected and when the last connect or disconnect event happened. Signed-off-by: Russell King <rmk@armlinux.org.uk>
Diffstat (limited to 'resource.h')
-rw-r--r--resource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/resource.h b/resource.h
index 657397b..99bcfed 100644
--- a/resource.h
+++ b/resource.h
@@ -17,6 +17,7 @@ struct resource_ops {
struct resource {
const struct resource_ops *ops;
struct client *updater;
+ time_t updater_time;
void *data;
};