WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] Add OCaml API autogenerator and mpathalert to code documentation
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] Add OCaml API autogenerator and mpathalert to code documentation, Rob Hoes <=