X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/8ca17b9a328732cac9ccd9e1c96c8d35777afe88..ebb51f80568cc35cf3cd2f99a31a28f72526798d:/src/msg.sml diff --git a/src/msg.sml b/src/msg.sml index a1a52de..cbb9059 100644 --- a/src/msg.sml +++ b/src/msg.sml @@ -249,6 +249,7 @@ fun send (bio, m) = | MsgAptQuery {section, description} => (OpenSSL.writeInt (bio, 44); OpenSSL.writeString (bio, section); OpenSSL.writeString (bio, description)) + | MsgSaChanged => OpenSSL.writeInt (bio, 45) fun checkIt v = case v of @@ -367,6 +368,7 @@ fun recv bio = | 44 => (case (OpenSSL.readString bio, OpenSSL.readString bio) of (SOME section, SOME description) => SOME (MsgAptQuery {section = section, description = description}) | _ => NONE) + | 45 => SOME MsgSaChanged | _ => NONE) end