[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] Add OCaml API autogenerator and mpathalert to code documentation


  • To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Rob Hoes <rob.hoes@xxxxxxxxxx>
  • Date: Mon, 30 Aug 2010 14:10:55 +0100
  • Delivery-date: Mon, 30 Aug 2010 06:11:30 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
Add OCaml API autogenerator and mpathalert to code documentation

Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>

diff -r 3e83209497e0 ocaml/idl/ocaml_backend/OMakefile
--- a/ocaml/idl/ocaml_backend/OMakefile
+++ b/ocaml/idl/ocaml_backend/OMakefile
@@ -14,8 +14,9 @@
 OCAMLPACKS += sexpr http-svr
 
 # only gen_api requires datamodel library:
-GEN_API_FILES = gen_api genOCaml ref ocaml_syntax gen_db_actions gen_db_check 
gen_empty_custom gen_client gen_server gen_common gen_rbac 
../../database/escaping xMLRPC locking ../api_lowlevel
-OCamlProgram(gen_api_main, $(GEN_API_FILES) gen_api_main ../datamodel 
../constants ../api_errors ../api_messages ../datamodel_utils 
../datamodel_values ocaml_utils ../datamodel_types ../dm_api 
$(AUTOGEN_HELPER_DIR)/string_marshall_helper)
+GEN_API_FILES = gen_api genOCaml ref ocaml_syntax gen_db_actions gen_db_check 
gen_empty_custom gen_client gen_server gen_common gen_rbac 
../../database/escaping xMLRPC locking ../api_lowlevel gen_api_main 
../datamodel ../constants ../api_errors ../api_messages ../datamodel_utils 
../datamodel_values ocaml_utils ../datamodel_types ../dm_api 
$(AUTOGEN_HELPER_DIR)/string_marshall_helper
+OCamlProgram(gen_api_main, $(GEN_API_FILES))
+OCamlDocProgram(gen_api_main, $(GEN_API_FILES))
 
 FILTER = closed # or opensource or closed or debug or implementation
 
diff -r 3e83209497e0 ocaml/mpathalert/OMakefile
--- a/ocaml/mpathalert/OMakefile
+++ b/ocaml/mpathalert/OMakefile
@@ -3,6 +3,7 @@
 OCAMLPACKS    = xml-light2 stdext stunnel http-svr log
 
 OCamlProgram(mpathalert, mpathalert)
+OCamlDocProgram(mpathalert, mpathalert)
 
 .PHONY: clean
 

Attachment: doc-autogen-mpathalert
Description: Text document

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.