They are only retained for backwards compatibility.
---
src/main/java/org/libvirt/jna/Libvirt.java | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/main/java/org/libvirt/jna/Libvirt.java
b/src/main/java/org/libvirt/jna/Libvirt.java
index 02457b7..be0de3b 100644
--- a/src/main/java/org/libvirt/jna/Libvirt.java
+++ b/src/main/java/org/libvirt/jna/Libvirt.java
@@ -109,6 +109,14 @@ public interface Libvirt extends Library {
// Connection Functions
String virConnectBaselineCPU(ConnectionPointer virConnectPtr, String[] xmlCPUs, int
ncpus, int flags);
+
+ /**
+ * @deprecated as of libvirt 0.6.0, all errors reported in the
+ * per-connection object are also duplicated in the global error
+ * object. This method remains for backwards compatibility. Use
+ * {@link #virCopyLastError} instead.
+ */
+ @Deprecated
int virConnCopyLastError(ConnectionPointer virConnectPtr, virError to);
int virConnectClose(ConnectionPointer virConnectPtr);
int virConnectCompareCPU(ConnectionPointer virConnectPtr, String xmlDesc, int
flags);
@@ -148,6 +156,14 @@ public interface Libvirt extends Library {
ConnectionPointer virConnectOpen(String name);
ConnectionPointer virConnectOpenAuth(String name, virConnectAuth auth, int flags);
ConnectionPointer virConnectOpenReadOnly(String name);
+
+ /**
+ * @deprecated as of libvirt 0.6.0, all errors reported in the
+ * per-connection object are also duplicated in the global error
+ * object. This method remains only for backwards compatibility.
+ * Use {@link #virGetLastError} instead.
+ */
+ @Deprecated
virError virConnGetLastError(ConnectionPointer virConnectPtr);
int virConnResetLastError(ConnectionPointer virConnectPtr);
String virConnectDomainXMLFromNative(ConnectionPointer virConnectPtr, String
nativeFormat,
--
1.7.9.5
--
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:<http://www.av-test.org>
Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern