1+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2+ < html >
3+ < head >
4+ < link rel ="stylesheet " href ="style.css " type ="text/css ">
5+ < meta content ="text/html; charset=iso-8859-1 " http-equiv ="Content-Type ">
6+ < link rel ="Start " href ="index.html ">
7+ < link rel ="previous " href ="Mirage.STACKV4_socket.html ">
8+ < link rel ="next " href ="Mirage.HTTP.html ">
9+ < link rel ="Up " href ="Mirage.html ">
10+ < link title ="Index of types " rel =Appendix href ="index_types.html ">
11+ < link title ="Index of values " rel =Appendix href ="index_values.html ">
12+ < link title ="Index of modules " rel =Appendix href ="index_modules.html ">
13+ < link title ="Index of module types " rel =Appendix href ="index_module_types.html ">
14+ < link title ="Mirage " rel ="Chapter " href ="Mirage.html ">
15+ < link title ="Mirage_misc " rel ="Chapter " href ="Mirage_misc.html ">
16+ < link title ="V1 " rel ="Chapter " href ="V1.html ">
17+ < link title ="V1_LWT " rel ="Chapter " href ="V1_LWT.html "> < title > Mirage.Channel_over_TCP</ title >
18+ </ head >
19+ < body >
20+ < div class ="navbar "> < a class ="pre " href ="Mirage.STACKV4_socket.html " title ="Mirage.STACKV4_socket "> Previous</ a >
21+ < a class ="up " href ="Mirage.html " title ="Mirage "> Up</ a >
22+ < a class ="post " href ="Mirage.HTTP.html " title ="Mirage.HTTP "> Next</ a >
23+ </ div >
24+ < h1 > Functor < a href ="type_Mirage.Channel_over_TCP.html "> Mirage.Channel_over_TCP</ a > </ h1 >
25+
26+ < pre > < span class ="keyword "> module</ span > Channel_over_TCP: < div class ="sig_block "> < code class ="code "> functor (</ code > < code class ="code "> V</ code > < code class ="code "> : </ code > < code class ="code "> sig</ code > < div class ="sig_block ">
27+ < pre > < span id ="TYPEt "> < span class ="keyword "> type</ span > < code class ="type "> </ code > t</ span > </ pre >
28+
29+ </ div > < code class ="code "> end</ code > < code class ="code "> ) -> </ code > < code class ="type "> < a href ="Mirage.CONFIGURABLE.html "> CONFIGURABLE</ a > </ code > < code class ="type "> </ code > </ div > </ pre > < table border ="0 " cellpadding ="3 " width ="100% ">
30+ < tr >
31+ < td align ="left " valign ="top " width ="1%% "> < b > Parameters: </ b > </ td >
32+ < td >
33+ < table class ="paramstable ">
34+ < tr >
35+ < td align ="center " valign ="top " width ="15% ">
36+ < code > V</ code > </ td >
37+ < td align ="center " valign ="top "> :</ td >
38+ < td > < code class ="type "> sig type t end</ code >
39+ </ table >
40+ </ td >
41+ </ tr >
42+ </ table >
43+ < hr width ="100% ">
44+ < br >
45+ Signature for configurable devices.< br >
46+
47+ < pre > < span id ="TYPEt "> < span class ="keyword "> type</ span > < code class ="type "> </ code > t</ span > </ pre >
48+ < div class ="info ">
49+ Abstract type for configurable devices.< br >
50+ </ div >
51+
52+
53+ < pre > < span id ="VALname "> < span class ="keyword "> val</ span > name</ span > : < code class ="type "> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > -> string</ code > </ pre > < div class ="info ">
54+ Return the unique variable name holding the state of the given
55+ device.< br >
56+ </ div >
57+
58+ < pre > < span id ="VALmodule_name "> < span class ="keyword "> val</ span > module_name</ span > : < code class ="type "> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > -> string</ code > </ pre > < div class ="info ">
59+ Return the name of the module implementing the given device.< br >
60+ </ div >
61+
62+ < pre > < span id ="VALpackages "> < span class ="keyword "> val</ span > packages</ span > : < code class ="type "> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > -> string list</ code > </ pre > < div class ="info ">
63+ Return the list of OPAM packages which needs to be installed to
64+ use the given device.< br >
65+ </ div >
66+
67+ < pre > < span id ="VALlibraries "> < span class ="keyword "> val</ span > libraries</ span > : < code class ="type "> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > -> string list</ code > </ pre > < div class ="info ">
68+ Return the list of ocamlfind libraries to link with the
69+ application to use the given device.< br >
70+ </ div >
71+
72+ < pre > < span id ="VALconfigure "> < span class ="keyword "> val</ span > configure</ span > : < code class ="type "> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > -> unit</ code > </ pre > < div class ="info ">
73+ Configure the given device.< br >
74+ </ div >
75+
76+ < pre > < span id ="VALclean "> < span class ="keyword "> val</ span > clean</ span > : < code class ="type "> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > -> unit</ code > </ pre > < div class ="info ">
77+ Clean all the files generated to use the given device.< br >
78+ </ div >
79+
80+ < pre > < span id ="VALupdate_path "> < span class ="keyword "> val</ span > update_path</ span > : < code class ="type "> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > -> string -> < a href ="Mirage.CONFIGURABLE.html#TYPEt "> t</ a > </ code > </ pre > < div class ="info ">
81+ < code class ="code "> update_path t root</ code > prefixes all the path appearing in < code class ="code "> t</ code > with
82+ the the prefix < code class ="code "> root</ code > .< br >
83+ </ div >
84+ </ body > </ html >
0 commit comments