diff options
author | Russell King <rmk@armlinux.org.uk> | 2021-09-26 13:18:15 +0100 |
---|---|---|
committer | Russell King <rmk@armlinux.org.uk> | 2021-09-26 13:19:28 +0100 |
commit | fc720a141bfcbe915cded0d78a5fd5aac358b6e1 (patch) | |
tree | 1abe09664b9459bfbb430731e2d550e352572659 /resource.h | |
parent | 6e0f5e73810814afcc0420eca4afdd44af6cc942 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ struct resource_ops { struct resource { const struct resource_ops *ops; struct client *updater; + time_t updater_time; void *data; }; |