Re-enable querying user firewall rules
[hcoop/domtool2.git] / src / msgTypes.sml
index dcd04cb..591ec31 100644 (file)
@@ -37,7 +37,7 @@ datatype query =
        (* Is this user restricted to trusted-path executables? *)
        | QSocket of string
        (* What socket permissions does this user have? *)
-       | QFirewall of string
+       | QFirewall of {node : string, user : string}
        (* What firewall rules does this user have? *)
        | QAptExists of string
        (* Does this apt package exist *)
@@ -132,5 +132,7 @@ datatype msg =
        (* Server tells slave that vmail user information has changed *)
        | MsgFirewallRegen
        (* Regenerate firewall on user machines *)
+       | MsgAptQuery of {section : string, description : string}
+       (* Answer to QAptExists query *)
 
 end