X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=blobdiff_plain;f=x3%2Fsrc%2Flib%2Fkhatus_msg_parser.mli;fp=x3%2Fsrc%2Flib%2Fkhatus_msg_parser.mli;h=a4296f6d31403d405ec0b640f303ff15dfe10c9c;hp=0000000000000000000000000000000000000000;hb=499c58a269a00e031302938b5a8f006f23aae451;hpb=4c703fadbdc17d1753d16841582636598f862416 diff --git a/x3/src/lib/khatus_msg_parser.mli b/x3/src/lib/khatus_msg_parser.mli new file mode 100644 index 0000000..a4296f6 --- /dev/null +++ b/x3/src/lib/khatus_msg_parser.mli @@ -0,0 +1,6 @@ +type error = + [ `Bad_format_of_msg_head + | `Bad_format_of_msg_content + ] + +val parse_msg : Lexing.lexbuf -> (Khatus_msg.t, error) result