add support for PC NTE

This commit is contained in:
Martin Michelsen
2023-12-17 23:31:19 -08:00
parent a6c4217875
commit 3f9cad1ca5
30 changed files with 1688 additions and 1527 deletions
+5 -2
View File
@@ -445,8 +445,11 @@ Proxy session commands:\n\
} else if (command_name == "set-allow-unregistered-users") {
set_boolean(&this->state->allow_unregistered_users, command_args);
fprintf(stderr, "unregistered users are now %s\n",
this->state->allow_unregistered_users ? "allowed" : "disallowed");
fprintf(stderr, "unregistered users are now %s\n", this->state->allow_unregistered_users ? "allowed" : "disallowed");
} else if (command_name == "set-allow-pc-nte") {
set_boolean(&this->state->allow_pc_nte, command_args);
fprintf(stderr, "PC NTE is now %s\n", this->state->allow_pc_nte ? "allowed" : "disallowed");
} else if (command_name == "set-event") {
uint8_t event_id = event_for_name(command_args);