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-devel

[Xen-devel] [PATCH 5 of 5] tools: ocaml: rename nic_remove to nic_del, f

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 5 of 5] tools: ocaml: rename nic_remove to nic_del, for consistency with libxl
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Mon, 28 Mar 2011 13:26:39 +0100
Delivery-date: Mon, 28 Mar 2011 06:04:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1301315194@ely>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1301315194@ely>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1301314652 -3600
# Node ID bb7e56721316582cc42527e97e7651a8a369c33c
# Parent  455cc73ea6268d54bc94e4c39ee954cef107f88b
tools: ocaml: rename nic_remove to nic_del, for consistency with libxl.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 455cc73ea626 -r bb7e56721316 tools/ocaml/libs/xl/xl.ml
--- a/tools/ocaml/libs/xl/xl.ml Mon Mar 28 13:17:32 2011 +0100
+++ b/tools/ocaml/libs/xl/xl.ml Mon Mar 28 13:17:32 2011 +0100
@@ -184,7 +184,7 @@
 external disk_remove : disk_info -> domid -> unit = "stub_xl_disk_remove"
 
 external nic_add : Nic_info.t -> domid -> unit = "stub_xl_nic_add"
-external nic_remove : disk_info -> domid -> unit = "stub_xl_nic_remove"
+external nic_del : Nic_info.t -> domid -> unit = "stub_xl_nic_del"
 
 external console_add : console_info -> build_state -> domid -> unit = 
"stub_xl_console_add"
 
diff -r 455cc73ea626 -r bb7e56721316 tools/ocaml/libs/xl/xl.mli
--- a/tools/ocaml/libs/xl/xl.mli        Mon Mar 28 13:17:32 2011 +0100
+++ b/tools/ocaml/libs/xl/xl.mli        Mon Mar 28 13:17:32 2011 +0100
@@ -184,7 +184,7 @@
 external disk_remove : disk_info -> domid -> unit = "stub_xl_disk_remove"
 
 external nic_add : Nic_info.t -> domid -> unit = "stub_xl_nic_add"
-external nic_remove : disk_info -> domid -> unit = "stub_xl_nic_remove"
+external nic_del : Nic_info.t -> domid -> unit = "stub_xl_nic_del"
 
 external console_add : console_info -> build_state -> domid -> unit = 
"stub_xl_console_add"
 
diff -r 455cc73ea626 -r bb7e56721316 tools/ocaml/libs/xl/xl_stubs.c
--- a/tools/ocaml/libs/xl/xl_stubs.c    Mon Mar 28 13:17:32 2011 +0100
+++ b/tools/ocaml/libs/xl/xl_stubs.c    Mon Mar 28 13:17:32 2011 +0100
@@ -416,7 +416,7 @@
        CAMLreturn(Val_unit);
 }
 
-value stub_xl_nic_remove(value info, value domid)
+value stub_xl_nic_del(value info, value domid)
 {
        CAMLparam2(info, domid);
        libxl_device_nic c_info;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel