comparison src/settings.sig @ 858:346cf1908a17

Avoid using prepared statements for non-persistent protocols
author Adam Chlipala <adamc@hcoop.net>
date Sat, 27 Jun 2009 10:50:45 -0400
parents 3d2f6cb6d54a
children 03e7f111fe99
comparison
equal deleted inserted replaced
857:3d2f6cb6d54a 858:346cf1908a17
87 87
88 (* Web protocols that generated programs may speak *) 88 (* Web protocols that generated programs may speak *)
89 type protocol = { 89 type protocol = {
90 name : string, (* Call it this on the command line *) 90 name : string, (* Call it this on the command line *)
91 link : string, (* Pass these linker arguments *) 91 link : string, (* Pass these linker arguments *)
92 supportsPush : bool (* Is Ur/Web message-passing supported? *) 92 persistent : bool (* Multiple requests per process? *)
93 } 93 }
94 val addProtocol : protocol -> unit 94 val addProtocol : protocol -> unit
95 val getProtocol : string -> protocol option 95 val getProtocol : string -> protocol option
96 val setProtocol : string -> unit 96 val setProtocol : string -> unit
97 val currentProtocol : unit -> protocol 97 val currentProtocol : unit -> protocol
98 98
99 val setDebug : bool -> unit 99 val setDebug : bool -> unit
100 val getDebug : unit -> bool 100 val getDebug : unit -> bool
101 101
102 val clibFile : string -> string
103
102 end 104 end