Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* src/remote_internal.c: virDrvOpenRemoteFlags was accidentally
	  declared as a global variable, instead of the name an enum.
This commit is contained in:
Richard W.M. Jones 2007-09-12 10:33:48 +00:00
parent 3292123d13
commit 1361ddec0a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/remote_internal.c: virDrvOpenRemoteFlags was accidentally
declared as a global variable, instead of the name an enum.
Mon Sep 10 17:15:29 CEST 2007 Daniel Veillard <veillard@redhat.com>
* docs/architecture.html docs/errors.html docs/format.html

View File

@ -230,12 +230,12 @@ remoteForkDaemon(virConnectPtr conn)
/* Must not overlap with virDrvOpenFlags */
enum {
enum virDrvOpenRemoteFlags {
VIR_DRV_OPEN_REMOTE_RO = (1 << 0),
VIR_DRV_OPEN_REMOTE_UNIX = (1 << 1),
VIR_DRV_OPEN_REMOTE_USER = (1 << 2),
VIR_DRV_OPEN_REMOTE_AUTOSTART = (1 << 3),
} virDrvOpenRemoteFlags;
};
static int
doRemoteOpen (virConnectPtr conn, struct private_data *priv, const char *uri_str, int flags)