File: request.mli

package info (click to toggle)
sks 1.1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,076 kB
  • ctags: 3,243
  • sloc: ml: 15,262; ansic: 1,069; makefile: 346; sh: 284
file content (17 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (8)
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