/**
* virAdmConnectOpen:
* @name: uri of the daemon to connect to, NULL for default
- * @flags: unused, must be 0
+ * @flags: extra flags; not used yet, so callers should always pass 0
*
* Opens connection to admin interface of the daemon.
*
VIR_DEBUG("flags=%x", flags);
virResetLastError();
- virCheckFlags(VIR_CONNECT_NO_ALIASES, NULL);
+ virCheckFlagsGoto(VIR_CONNECT_NO_ALIASES, error);
if (!(conn = virAdmConnectNew()))
goto error;
* @conn: daemon connection reference
* @servers: Pointer to a list to store an array containing objects or NULL
* if the list is not required (number of servers only)
- * @flags: bitwise-OR of virAdmConnectListServersFlags
+ * @flags: extra flags; not used yet, so callers should always pass 0
*
* Collect list of all servers provided by daemon the client is connected to.
*
VIR_DEBUG("conn=%p, servers=%p, flags=%x", conn, servers, flags);
virResetLastError();
+ virCheckFlagsGoto(0, error);
if (servers)
*servers = NULL;