summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-11-08 16:31:00 +0100
committerJose M. Guisado <jguisado@soleta.eu>2021-11-17 09:07:57 +0100
commit5a3fd51261b40196dca461798ff4ca50417e0c75 (patch)
tree9fa7ec0222f6206703cc57788d2dd2ac48363f3e /src/rest.h
parentac3ce22c35db2133816ca30a0a2148ca3dfa6da3 (diff)
#1065 client: add support for ogclient linux state
ogClient can be run in linux mode, intended for exposing some ogServer commands when running in a linux distribution. When connecting with a client in linux mode, do not expect a full partition setup response. Just expect a 'status', and then accept the connection without updating any partition information in the database.
Diffstat (limited to 'src/rest.h')
-rw-r--r--src/rest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rest.h b/src/rest.h
index 9c4f5e8..a4e6e64 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -16,6 +16,7 @@ enum og_client_status {
OG_CLIENT_STATUS_OGLIVE,
OG_CLIENT_STATUS_BUSY,
OG_CLIENT_STATUS_VIRTUAL,
+ OG_CLIENT_STATUS_LINUX,
};
enum og_cmd_type {