sig
  type token =
      SCHEME
    | COLONSLASHSLASH
    | SLASH
    | QUESTION
    | EQUAL
    | COLON
    | COMMA
    | WHSP
    | CRITICAL
    | HOST of string
    | PORT of string
    | DN of string
    | IDENT of string
    | SCOPE of string
    | FILTER of string
  val ldapurl :
    (Stdlib.Lexing.lexbuf -> Ldap_urlparser.token) ->
    Stdlib.Lexing.lexbuf -> Ldap_types.ldap_url
end