Move domain decription to client side; add some more describers
[hcoop/domtool2.git] / src / msg.sml
index 5940bbe..91cc78a 100644 (file)
@@ -229,10 +229,6 @@ fun send (bio, m) =
                                        OpenSSL.writeString (bio, dbtype);
                                        OpenSSL.writeString (bio, dbname))
       | MsgMysqlFixperms => OpenSSL.writeInt (bio, 38)
-      | MsgDescribe dom => (OpenSSL.writeInt (bio, 39);
-                           OpenSSL.writeString (bio, dom))
-      | MsgDescription s => (OpenSSL.writeInt (bio, 40);
-                            OpenSSL.writeString (bio, s))
 
 fun checkIt v =
     case v of
@@ -343,8 +339,6 @@ fun recv bio =
                                SOME (MsgGrantDb {dbtype = dbtype, dbname = dbname})
                              | _ => NONE)
                   | 38 => SOME MsgMysqlFixperms
-                  | 39 => Option.map MsgDescribe (OpenSSL.readString bio)
-                  | 40 => Option.map MsgDescription (OpenSSL.readString bio)
                   | _ => NONE)
         
 end