File: x.mli

package info (click to toggle)
marionnet 0.90.6+bzr508-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 9,532 kB
  • sloc: ml: 18,130; sh: 5,384; xml: 1,152; makefile: 1,003; ansic: 275
file content (33 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(* This file is part of Marionnet, a virtual network laboratory
   Copyright (C) 2011  Jean-Vincent Loddo
   Copyright (C) 2011  Université Paris 13

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>. *)

(** Parts of the environment variable DISPLAY. *)

(* The syntax of $DISPLAY is: [host]:display[.screen] *)

val host    : string        (* "localhost" by default *)
val display : string        (* Usually "0" *)
val screen  : string        (* "0" by default *)
(* --- *)
val guest_display            : string  (* Usually "0" *)
val guest_display_dot_screen : string  (* Usually "0.0" *)

val mit_magic_cookie_1 : string option  (* The result of `xauth list $DISPLAY' *)
val cookie             : string option  (* Just an alias for `mit_magic_cookie_1' *)

val get_unused_local_display : unit -> string