summaryrefslogtreecommitdiff
path: root/sid.mli
diff options
context:
space:
mode:
Diffstat (limited to 'sid.mli')
-rw-r--r--sid.mli11
1 files changed, 11 insertions, 0 deletions
diff --git a/sid.mli b/sid.mli
index e2c94df..a21c5ec 100644
--- a/sid.mli
+++ b/sid.mli
@@ -46,6 +46,17 @@ module StringFmt :
(** [encode s] convert SID [s] to its string representation. *)
end
+(** Conversions to and from the {e string format syntax} with permissive
+ input validation. *)
+module MSStringFmt :
+ sig
+ val decode : string -> (t, string) result
+ (** [decode b] parse string buffer [b] into a SID. *)
+
+ val encode : t -> string
+ (** [encode s] convert SID [s] to its string representation. *)
+ end
+
(** Conversion to and from the {e packet representation} (MS-DTYP 2.4.2.2). *)
module PacketRep :
sig