add support for defining global host info

Change the '*' in the node info update cmd to refer to host info instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2021-07-06 19:44:01 +02:00
parent 0029f3ce2e
commit e685db7fa7
9 changed files with 47 additions and 26 deletions

View File

@@ -26,6 +26,7 @@ enum {
APMSG_ID,
APMSG_SEQ,
APMSG_NODES,
APMSG_HOST_INFO,
__APMSG_MAX
};
@@ -33,6 +34,7 @@ struct apmsg {
uint32_t id;
uint32_t seq;
struct blob_attr *nodes;
struct blob_attr *host_info;
};
enum {