summaryrefslogtreecommitdiffstats
path: root/generator/generator_actions.mli
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-11 09:25:12 +0100
committerRichard Jones <rjones@redhat.com>2010-09-11 12:04:44 +0100
commit04d8209077d2227eb1d42695ba71147f78987050 (patch)
treea2ed4a062f70fe258d0fd9b60020c24f6dc7459c /generator/generator_actions.mli
parent264629b9f0ace1062b453b2d0ae55e48385189d3 (diff)
downloadlibguestfs-04d8209077d2227eb1d42695ba71147f78987050.tar.gz
libguestfs-04d8209077d2227eb1d42695ba71147f78987050.tar.xz
libguestfs-04d8209077d2227eb1d42695ba71147f78987050.zip
Split generator into separate source files.
'src/generator.ml' is no more. Instead the generator is logically split up over many different source files. Read generator/README for help and tips. We compile the generator down to bytecode, not native code. This means it will run more slowly, but is done for maximum portability.
Diffstat (limited to 'generator/generator_actions.mli')
-rw-r--r--generator/generator_actions.mli40
1 files changed, 40 insertions, 0 deletions
diff --git a/generator/generator_actions.mli b/generator/generator_actions.mli
new file mode 100644
index 00000000..0ce6274f
--- /dev/null
+++ b/generator/generator_actions.mli
@@ -0,0 +1,40 @@
+(* libguestfs
+ * Copyright (C) 2009-2010 Red Hat Inc.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *)
+
+(* Please read generator/README first. *)
+
+(** The libguestfs API. *)
+
+val non_daemon_functions : Generator_types.action list
+(** API actions which are implemented within the library itself. *)
+
+val daemon_functions : Generator_types.action list
+(** API actions which are implemented by the daemon. *)
+
+val all_functions : Generator_types.action list
+(** Concatenation of [non_daemon_functions] and [daemon_functions] lists. *)
+
+val all_functions_sorted : Generator_types.action list
+(** [all_functions] but sorted by name. *)
+
+val test_functions : Generator_types.action list
+(** Internal test functions used to test the language bindings. *)
+
+val max_proc_nr : int
+(** The largest procedure number used (also saved in [src/MAX_PROC_NR] and
+ used as the minor version number of the shared library). *)