Change package-exists to return section/description
[hcoop/domtool2.git] / src / msgTypes.sml
index a0b7593..9b7d02c 100644 (file)
@@ -39,6 +39,8 @@ datatype query =
        (* What socket permissions does this user have? *)
        | QFirewall of string
        (* What firewall rules does this user have? *)
+       | QAptExists of string
+       (* Does this apt package exist *)
 
 datatype msg =
         MsgOk
@@ -130,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