Mon Jun 25 09:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* src/remote_internal.c: Made cosmetic changes to the code and
	  comments to allow 'make -C docs rebuild' to succeed parsing
	  this file.
This commit is contained in:
Richard W.M. Jones 2007-06-25 08:41:17 +00:00
parent 2670b9c80a
commit b48d5f7a47
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,9 @@
Mon Jun 25 09:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/remote_internal.c: Made cosmetic changes to the code and
comments to allow 'make -C docs rebuild' to succeed parsing
this file.
Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* docs/site.xsl: Added link to OCaml bindings.

View File

@ -104,13 +104,13 @@ static int initialise_gnutls (virConnectPtr conn);
static gnutls_session_t negotiate_gnutls_on_connection (virConnectPtr conn, int sock, int no_verify, const char *hostname);
/* Supported transports. */
enum transport {
typedef enum {
trans_tls,
trans_unix,
trans_ssh,
trans_ext,
trans_tcp,
};
} transport;
static int
remoteOpen (virConnectPtr conn, const char *uri_str, int flags)
@ -130,7 +130,7 @@ remoteOpen (virConnectPtr conn, const char *uri_str, int flags)
return VIR_DRV_OPEN_DECLINED; /* Decline - not a remote URL. */
/* What transport? */
enum transport transport;
transport transport;
if (!transport_str || strcasecmp (transport_str, "tls") == 0)
transport = trans_tls;
else if (strcasecmp (transport_str, "unix") == 0)
@ -2665,9 +2665,11 @@ static virNetworkDriver network_driver = {
.networkSetAutostart = remoteNetworkSetAutostart,
};
/* remoteRegister:
/** remoteRegister:
*
* Register driver with libvirt driver system.
*
* Returns -1 on error.
*/
int
remoteRegister (void)