Be explicit about what is exported from each module in the generator.
---
generator/Makefile.am | 26 +++++++++++++++++++++++++-
generator/bindtests.mli | 30 ++++++++++++++++++++++++++++++
generator/c.mli | 41 +++++++++++++++++++++++++++++++++++++++++
generator/checks.mli | 18 ++++++++++++++++++
generator/csharp.mli | 19 +++++++++++++++++++
generator/customize.mli | 22 ++++++++++++++++++++++
generator/daemon.mli | 23 +++++++++++++++++++++++
generator/docstrings.mli | 34 ++++++++++++++++++++++++++++++++++
generator/erlang.mli | 20 ++++++++++++++++++++
generator/errnostring.mli | 21 +++++++++++++++++++++
generator/events.mli | 20 ++++++++++++++++++++
generator/fish.mli | 28 ++++++++++++++++++++++++++++
generator/gobject.mli | 29 +++++++++++++++++++++++++++++
generator/golang.mli | 19 +++++++++++++++++++
generator/haskell.mli | 19 +++++++++++++++++++
generator/java.mli | 23 +++++++++++++++++++++++
generator/lua.mli | 19 +++++++++++++++++++
generator/ocaml.mli | 22 ++++++++++++++++++++++
generator/optgroups.mli | 22 ++++++++++++++++++++++
generator/perl.mli | 20 ++++++++++++++++++++
generator/php.mli | 20 ++++++++++++++++++++
generator/python.mli | 20 ++++++++++++++++++++
generator/ruby.mli | 19 +++++++++++++++++++
generator/tests_c_api.mli | 19 +++++++++++++++++++
generator/xdr.mli | 19 +++++++++++++++++++
25 files changed, 571 insertions(+), 1 deletion(-)
create mode 100644 generator/bindtests.mli
create mode 100644 generator/c.mli
create mode 100644 generator/checks.mli
create mode 100644 generator/csharp.mli
create mode 100644 generator/customize.mli
create mode 100644 generator/daemon.mli
create mode 100644 generator/docstrings.mli
create mode 100644 generator/erlang.mli
create mode 100644 generator/errnostring.mli
create mode 100644 generator/events.mli
create mode 100644 generator/fish.mli
create mode 100644 generator/gobject.mli
create mode 100644 generator/golang.mli
create mode 100644 generator/haskell.mli
create mode 100644 generator/java.mli
create mode 100644 generator/lua.mli
create mode 100644 generator/ocaml.mli
create mode 100644 generator/optgroups.mli
create mode 100644 generator/perl.mli
create mode 100644 generator/php.mli
create mode 100644 generator/python.mli
create mode 100644 generator/ruby.mli
create mode 100644 generator/tests_c_api.mli
create mode 100644 generator/xdr.mli
diff --git a/generator/Makefile.am b/generator/Makefile.am
index f3d4852..ab6e059 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -22,39 +22,63 @@ sources = \
actions.ml \
actions.mli \
bindtests.ml \
+ bindtests.mli \
c.ml \
+ c.mli \
checks.ml \
+ checks.mli \
csharp.ml \
+ csharp.mli \
customize.ml \
+ customize.mli \
daemon.ml \
+ daemon.mli \
docstrings.ml \
+ docstrings.mli \
erlang.ml \
+ erlang.mli \
errnostring.ml \
+ errnostring.mli \
events.ml \
+ events.mli \
fish.ml \
+ fish.mli \
gobject.ml \
+ gobject.mli \
golang.ml \
+ golang.mli \
haskell.ml \
+ haskell.mli \
java.ml \
+ java.mli \
lua.ml \
+ lua.mli \
main.ml \
ocaml.ml \
+ ocaml.mli \
optgroups.ml \
+ optgroups.mli \
perl.ml \
+ perl.mli \
php.ml \
+ php.mli \
pr.ml \
pr.mli \
prepopts.ml \
prepopts.mli \
python.ml \
+ python.mli \
ruby.ml \
+ ruby.mli \
structs.ml \
structs.mli \
tests_c_api.ml \
+ tests_c_api.mli \
types.ml \
utils.ml \
utils.mli \
- xdr.ml
+ xdr.ml \
+ xdr.mli
# In build dependency order.
objects = \
diff --git a/generator/bindtests.mli b/generator/bindtests.mli
new file mode 100644
index 0000000..255490a
--- /dev/null
+++ b/generator/bindtests.mli
@@ -0,0 +1,30 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_bindtests : unit -> unit
+val generate_erlang_bindtests : unit -> unit
+val generate_golang_bindtests : unit -> unit
+val generate_gobject_js_bindtests : unit -> unit
+val generate_haskell_bindtests : unit -> unit
+val generate_java_bindtests : unit -> unit
+val generate_lua_bindtests : unit -> unit
+val generate_ocaml_bindtests : unit -> unit
+val generate_perl_bindtests : unit -> unit
+val generate_php_bindtests : unit -> unit
+val generate_python_bindtests : unit -> unit
+val generate_ruby_bindtests : unit -> unit
diff --git a/generator/c.mli b/generator/c.mli
new file mode 100644
index 0000000..9a261a4
--- /dev/null
+++ b/generator/c.mli
@@ -0,0 +1,41 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+type optarg_proto = Dots | VA | Argv
+
+val generate_prototype : ?extern:bool -> ?static:bool -> ?semicolon:bool ->
?single_line:bool -> ?indent:string -> ?newline:bool -> ?in_daemon:bool ->
?dll_public:bool -> ?attribute_noreturn:bool -> ?prefix:string -> ?suffix:string
-> ?handle:string -> ?optarg_proto:optarg_proto -> string -> Types.style ->
unit
+
+val generate_c_call_args : ?handle:string -> ?implicit_size_ptr:string ->
?in_daemon:bool -> Types.ret * Types.args * Types.optargs -> unit
+
+val nr_actions_files : int
+
+val generate_actions_pod : unit -> unit
+val generate_availability_pod : unit -> unit
+val generate_client_actions : int -> unit -> unit
+val generate_client_actions_variants : unit -> unit
+val generate_client_structs_cleanup : unit -> unit
+val generate_client_structs_compare : unit -> unit
+val generate_client_structs_copy : unit -> unit
+val generate_client_structs_free : unit -> unit
+val generate_event_string_c : unit -> unit
+val generate_guestfs_h : unit -> unit
+val generate_internal_actions_h : unit -> unit
+val generate_internal_frontend_cleanups_h : unit -> unit
+val generate_linker_script : unit -> unit
+val generate_max_proc_nr : unit -> unit
+val generate_structs_pod : unit -> unit
diff --git a/generator/checks.mli b/generator/checks.mli
new file mode 100644
index 0000000..4bbbda5
--- /dev/null
+++ b/generator/checks.mli
@@ -0,0 +1,18 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
diff --git a/generator/csharp.mli b/generator/csharp.mli
new file mode 100644
index 0000000..01c60bb
--- /dev/null
+++ b/generator/csharp.mli
@@ -0,0 +1,19 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_csharp : unit -> unit
diff --git a/generator/customize.mli b/generator/customize.mli
new file mode 100644
index 0000000..267e0cc
--- /dev/null
+++ b/generator/customize.mli
@@ -0,0 +1,22 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_customize_cmdline_ml : unit -> unit
+val generate_customize_cmdline_mli : unit -> unit
+val generate_customize_options_pod : unit -> unit
+val generate_customize_synopsis_pod : unit -> unit
diff --git a/generator/daemon.mli b/generator/daemon.mli
new file mode 100644
index 0000000..21788aa
--- /dev/null
+++ b/generator/daemon.mli
@@ -0,0 +1,23 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_daemon_actions : unit -> unit
+val generate_daemon_actions_h : unit -> unit
+val generate_daemon_names : unit -> unit
+val generate_daemon_optgroups_c : unit -> unit
+val generate_daemon_optgroups_h : unit -> unit
diff --git a/generator/docstrings.mli b/generator/docstrings.mli
new file mode 100644
index 0000000..22cadeb
--- /dev/null
+++ b/generator/docstrings.mli
@@ -0,0 +1,34 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+type comment_style =
+ CStyle | CPlusPlusStyle | HashStyle | OCamlStyle | HaskellStyle
+ | ErlangStyle | LuaStyle | PODStyle
+type license = GPLv2plus | LGPLv2plus
+
+val progress_message : string
+
+val protocol_limit_warning : string
+
+val deprecation_notice : ?prefix:string -> ?replace_underscores:bool ->
Types.action -> string option
+
+val version_added : Types.action -> string option
+
+val copyright_years : string
+
+val generate_header : ?extra_inputs:string list -> ?emacs_mode:string ->
comment_style -> license -> unit
diff --git a/generator/erlang.mli b/generator/erlang.mli
new file mode 100644
index 0000000..9d78ef5
--- /dev/null
+++ b/generator/erlang.mli
@@ -0,0 +1,20 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_erlang_c : unit -> unit
+val generate_erlang_erl : unit -> unit
diff --git a/generator/errnostring.mli b/generator/errnostring.mli
new file mode 100644
index 0000000..ad1f7f8
--- /dev/null
+++ b/generator/errnostring.mli
@@ -0,0 +1,21 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_errnostring_c : unit -> unit
+val generate_errnostring_h : unit -> unit
+val generate_errnostring_gperf : unit -> unit
diff --git a/generator/events.mli b/generator/events.mli
new file mode 100644
index 0000000..403256d
--- /dev/null
+++ b/generator/events.mli
@@ -0,0 +1,20 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val events : (string * int) list
+val all_events_bitmask : int
diff --git a/generator/fish.mli b/generator/fish.mli
new file mode 100644
index 0000000..c654bf6
--- /dev/null
+++ b/generator/fish.mli
@@ -0,0 +1,28 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_fish_actions_pod : unit -> unit
+val generate_fish_cmds : unit -> unit
+val generate_fish_cmds_gperf : unit -> unit
+val generate_fish_cmds_h : unit -> unit
+val generate_fish_commands_pod : unit -> unit
+val generate_fish_completion : unit -> unit
+val generate_fish_event_names : unit -> unit
+val generate_fish_prep_options_c : unit -> unit
+val generate_fish_prep_options_h : unit -> unit
+val generate_fish_prep_options_pod : unit -> unit
diff --git a/generator/gobject.mli b/generator/gobject.mli
new file mode 100644
index 0000000..50daac5
--- /dev/null
+++ b/generator/gobject.mli
@@ -0,0 +1,29 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_gobject_doc_title : unit -> unit
+val generate_gobject_header : unit -> unit
+val generate_gobject_makefile : unit -> unit
+val generate_gobject_optargs_header : string -> string -> 'a -> Types.action
-> unit -> unit
+val generate_gobject_optargs_source : string -> string -> Types.optargt list ->
Types.action -> unit -> unit
+val generate_gobject_session_header : unit -> unit
+val generate_gobject_session_source : unit -> unit
+val generate_gobject_struct_header : string -> string -> (string * Types.field)
list -> unit -> unit
+val generate_gobject_struct_source : string -> string -> 'a -> unit ->
unit
+val generate_gobject_tristate_header : unit -> unit
+val generate_gobject_tristate_source : unit -> unit
diff --git a/generator/golang.mli b/generator/golang.mli
new file mode 100644
index 0000000..ecd62a9
--- /dev/null
+++ b/generator/golang.mli
@@ -0,0 +1,19 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_golang_go : unit -> unit
diff --git a/generator/haskell.mli b/generator/haskell.mli
new file mode 100644
index 0000000..e23aebb
--- /dev/null
+++ b/generator/haskell.mli
@@ -0,0 +1,19 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_haskell_hs : unit -> unit
diff --git a/generator/java.mli b/generator/java.mli
new file mode 100644
index 0000000..b240314
--- /dev/null
+++ b/generator/java.mli
@@ -0,0 +1,23 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_java_c : unit -> unit
+val generate_java_gitignore : unit -> unit
+val generate_java_java : unit -> unit
+val generate_java_makefile_inc : unit -> unit
+val generate_java_struct : string -> (string * Types.field) list -> unit ->
unit
diff --git a/generator/lua.mli b/generator/lua.mli
new file mode 100644
index 0000000..3fae056
--- /dev/null
+++ b/generator/lua.mli
@@ -0,0 +1,19 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_lua_c : unit -> unit
diff --git a/generator/ocaml.mli b/generator/ocaml.mli
new file mode 100644
index 0000000..ff5710c
--- /dev/null
+++ b/generator/ocaml.mli
@@ -0,0 +1,22 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_ocaml_c : unit -> unit
+val generate_ocaml_c_errnos : unit -> unit
+val generate_ocaml_ml : unit -> unit
+val generate_ocaml_mli : unit -> unit
diff --git a/generator/optgroups.mli b/generator/optgroups.mli
new file mode 100644
index 0000000..81a8621
--- /dev/null
+++ b/generator/optgroups.mli
@@ -0,0 +1,22 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val optgroups : (string * Types.action list) list
+val optgroups_retired : string list
+val optgroups_names : string list
+val optgroups_names_all : string list
diff --git a/generator/perl.mli b/generator/perl.mli
new file mode 100644
index 0000000..b6e6fdb
--- /dev/null
+++ b/generator/perl.mli
@@ -0,0 +1,20 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_perl_pm : unit -> unit
+val generate_perl_xs : unit -> unit
diff --git a/generator/php.mli b/generator/php.mli
new file mode 100644
index 0000000..63663cd
--- /dev/null
+++ b/generator/php.mli
@@ -0,0 +1,20 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_php_c : unit -> unit
+val generate_php_h : unit -> unit
diff --git a/generator/python.mli b/generator/python.mli
new file mode 100644
index 0000000..919dab3
--- /dev/null
+++ b/generator/python.mli
@@ -0,0 +1,20 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_python_c : unit -> unit
+val generate_python_py : unit -> unit
diff --git a/generator/ruby.mli b/generator/ruby.mli
new file mode 100644
index 0000000..dd97dfe
--- /dev/null
+++ b/generator/ruby.mli
@@ -0,0 +1,19 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_ruby_c : unit -> unit
diff --git a/generator/tests_c_api.mli b/generator/tests_c_api.mli
new file mode 100644
index 0000000..f095e7c
--- /dev/null
+++ b/generator/tests_c_api.mli
@@ -0,0 +1,19 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_c_api_tests : unit -> unit
diff --git a/generator/xdr.mli b/generator/xdr.mli
new file mode 100644
index 0000000..c7075d4
--- /dev/null
+++ b/generator/xdr.mli
@@ -0,0 +1,19 @@
+(* libguestfs
+ * Copyright (C) 2009-2016 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
+ *)
+
+val generate_xdr : unit -> unit
--
2.5.0