summaryrefslogtreecommitdiffstats
path: root/src/rest.c
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-11-29 15:48:48 +0100
committerJose M. Guisado <jguisado@soleta.eu>2021-12-01 15:14:24 +0100
commit772811e76ff82184864aff8e29f29df7f0d64c88 (patch)
treeb1f2242c6773868b43b6b4d70eea74c80e571720 /src/rest.c
parenta801e788e8f7cb3ee186e7b315ca61a949625bdc (diff)
#1065 Add support for client events
ogServer supports events from clients in an agent mode (linux/windows). Client sends event information (eg. user login/logout) via a 103 Early Hints http response message.
Diffstat (limited to 'src/rest.c')
-rw-r--r--src/rest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rest.c b/src/rest.c
index 2768df4..d468830 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -126,8 +126,12 @@ static const char *og_client_status(const struct og_client *cli)
return "VDI";
case OG_CLIENT_STATUS_LINUX:
return "LINUX";
+ case OG_CLIENT_STATUS_LINUX_SESSION:
+ return "LINUX-SESSION";
case OG_CLIENT_STATUS_WIN:
return "WIN";
+ case OG_CLIENT_STATUS_WIN_SESSION:
+ return "WIN-SESSION";
default:
return "OFF";
}