diff options
Diffstat (limited to 'lib/stream.ml')
-rw-r--r-- | lib/stream.ml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/stream.ml b/lib/stream.ml index a71d662..4bc0901 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -5,10 +5,16 @@ exception ClosedStream exception InsufficientEncryption type feature = - | Mechanisms of Sasl.mechanism list | STARTTLS + | Mechanisms of Sasl.mechanism list | Other of Xml.element +type config = { + starttls : Starttls.config; + sasl : Sasl.config; + other : (Markup.signal, Markup.sync) Markup.stream list; + } + (** [features] is a tuple of features list, mandatory and optional. *) type features = (feature list * feature list) |