File: request.mli

package info (click to toggle)
sks 1.1.6-14
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,296 kB
  • sloc: ml: 15,228; ansic: 1,069; sh: 358; makefile: 347
file content (17 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
val amp : Str.regexp
val chsplit : char -> string -> string * string
val eqsplit : string -> string * string
type request_kind = VIndex | Index | Get | HGet | Stats
type request = {
  kind : request_kind;
  search : string list;
  fingerprint : bool;
  hash : bool;
  exact : bool;
  machine_readable : bool;
  clean : bool;
  limit : int;
}
val default_request : request
val comma_rxp : Str.regexp
val request_of_oplist : ?request:request -> (string * string) list -> request