Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
13078bbe
Commit
13078bbe
authored
May 17, 2017
by
MARCHE Claude
Browse files
add comments to API of module prove_client
parent
3876183a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/driver/prove_client.mli
View file @
13078bbe
...
...
@@ -9,16 +9,30 @@
(* *)
(********************************************************************)
exception
NotConnected
exception
AlreadyConnected
exception
InvalidAnswer
of
string
val
connect_external
:
string
->
unit
(** connects to an already running server, with the given socket name
raise AlreadyConnected if a server is already running
*)
val
connect_internal
:
unit
->
unit
(** starts a new process for a server and connects to it
raise AlreadyConnected if a server is already running
*)
val
disconnect
:
unit
->
unit
val
is_connected
:
unit
->
bool
(** checks if a server is already running *)
exception
NotConnected
(** all functions below will raise NotConnected if no server is running *)
val
disconnect
:
unit
->
unit
val
set_max_running_provers
:
int
->
unit
val
send_request
:
id
:
int
->
...
...
@@ -37,9 +51,9 @@ type final_answer = {
}
type
answer
=
|
Started
of
int
|
Started
of
int
(* the request with given id is running but not finished yet *)
|
Finished
of
final_answer
val
read_answers
:
blocking
:
bool
->
answer
list
exception
InvalidAnswer
of
string
val
set_max_running_provers
:
int
->
uni
t
val
read_answers
:
blocking
:
bool
->
answer
lis
t
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment