Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
dfcd948d
Commit
dfcd948d
authored
5 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[server] doc typos
parent
2961997d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/plugins/server/data.mli
+3
-3
3 additions, 3 deletions
src/plugins/server/data.mli
src/plugins/server/main.mli
+4
-5
4 additions, 5 deletions
src/plugins/server/main.mli
src/plugins/server/states.mli
+2
-2
2 additions, 2 deletions
src/plugins/server/states.mli
with
9 additions
and
10 deletions
src/plugins/server/data.mli
+
3
−
3
View file @
dfcd948d
...
...
@@ -26,7 +26,7 @@
type
json
=
Json
.
t
val
page
:
Doc
.
page
(** Page for
builtin kernel
data types *)
val
page
:
Doc
.
page
(** Page for
general purpose
data types *)
val
pretty
:
Format
.
formatter
->
json
->
unit
module
type
S
=
...
...
@@ -196,7 +196,7 @@ sig
The default label is the capitalized name.
The provided value, if any, will be used for decoding json tags.
If would be used also for encoding values to json tags if no [~tag]
function is provided when publishing the diction
n
ary.
function is provided when publishing the dictionary.
Registered values must be hashable with [Hashtbl.hash] function.
You may register a new tag {i after} the dictionary has been published. *)
...
...
@@ -206,7 +206,7 @@ sig
?
value
:
'
a
->
unit
->
'
a
tag
(** Register a new prefix tag in the diction
n
ary.
(** Register a new prefix tag in the dictionary.
The default label is the capitalized prefix.
To decoding from json is provided to prefix tags.
Encoding is done by emitting tags with form ['prefix:*'].
...
...
This diff is collapsed.
Click to expand it.
src/plugins/server/main.mli
+
4
−
5
View file @
dfcd948d
...
...
@@ -80,10 +80,8 @@ type 'a server
(**
Run a server with the provided low-level network primitives to
actually exchange data.
The function does not return until the server is explicitely
Shutdown. Logs are monitored unless [~logs:false] is specified.
actually exchange data. Logs are monitored unless [~logs:false]
is specified.
Default equality is the standard `(=)` one.
*)
...
...
@@ -94,7 +92,8 @@ val create :
unit
->
'
a
server
(** Run the server forever.
The function will not return until the server is shut down. *)
The function will {i not} return until the server is actually
shut down. *)
val
run
:
'
a
server
->
unit
(** Start the server in background.
...
...
This diff is collapsed.
Click to expand it.
src/plugins/server/states.mli
+
2
−
2
View file @
dfcd948d
...
...
@@ -98,8 +98,8 @@ val remove : 'a array -> 'a -> unit
(** Get the signal associated with the array *)
val
signal
:
'
a
array
->
Request
.
signal
(** Register
signals a requests for synchronizing
an array with
the client
.
(** Register
everything necessary to synchronize an array with
the client
:
- Signal [<name>.sig] is emitted on array updates;
- GET Request [<name>.fetch] is registered to get updates;
- GET Request [<name>.reload] is registered to trigger a full reload.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment