Skip to content
Snippets Groups Projects
Commit 476c8b37 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[server] module header documentation

parent cf277ec4
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,10 @@ ...@@ -21,7 +21,10 @@
(**************************************************************************) (**************************************************************************)
(* -------------------------------------------------------------------------- *) (* -------------------------------------------------------------------------- *)
(** {2 Data Encoding} (** Data Encoding. *)
(* -------------------------------------------------------------------------- *)
(** {2 Datatypes}
This module is responsible for marshaling and demarshaling data This module is responsible for marshaling and demarshaling data
to handle communications between the server and the client in both to handle communications between the server and the client in both
......
...@@ -31,6 +31,10 @@ module Pages = Map.Make(String) ...@@ -31,6 +31,10 @@ module Pages = Map.Make(String)
type chapter = [ `Protocol | `Kernel | `Plugin of string ] type chapter = [ `Protocol | `Kernel | `Plugin of string ]
(* Section contents can be generated statically or dynamically.
Typically, general kernel dictionary entries can be extended by plugins.
The general case is to have a function that builds the (final) content
on demand. *)
type section = (unit -> Markdown.elements) type section = (unit -> Markdown.elements)
type page = { type page = {
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
(* *) (* *)
(**************************************************************************) (**************************************************************************)
(** Rich text buffers with JSON marshalling. *)
type json = Json.t type json = Json.t
(** All-in-one formatter. Return the JSON encoding of formatted text. *) (** All-in-one formatter. Return the JSON encoding of formatted text. *)
......
...@@ -20,12 +20,12 @@ ...@@ -20,12 +20,12 @@
(* *) (* *)
(**************************************************************************) (**************************************************************************)
open Cil_types
(* -------------------------------------------------------------------------- *) (* -------------------------------------------------------------------------- *)
(** Ast Data *) (** Ast Data *)
(* -------------------------------------------------------------------------- *) (* -------------------------------------------------------------------------- *)
open Cil_types
module Kf : Data.S_collection with type t = kernel_function module Kf : Data.S_collection with type t = kernel_function
module Ki : Data.S_collection with type t = kinstr module Ki : Data.S_collection with type t = kinstr
module Stmt : Data.S_collection with type t = stmt module Stmt : Data.S_collection with type t = stmt
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
(* *) (* *)
(**************************************************************************) (**************************************************************************)
(** Kernel Property Status *)
(** Documentation of ACSL extensions for [propkind] server data. *) (** Documentation of ACSL extensions for [propkind] server data. *)
val register_propkind : val register_propkind :
name:string -> name:string ->
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
(* *) (* *)
(**************************************************************************) (**************************************************************************)
(** Synchronized values between Server & Client *)
type 'a callback = ('a -> unit) -> unit type 'a callback = ('a -> unit) -> unit
(** Register a (projectified) value and generates the associated signal and (** Register a (projectified) value and generates the associated signal and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment