*/
int
qemuBuildTLSx509BackendProps(const char *tlspath,
- bool listen,
+ bool isListen,
bool verifypeer,
virQEMUCapsPtr qemuCaps,
virJSONValuePtr *propsret)
if (virJSONValueObjectCreate(propsret,
"s:dir", path,
- "s:endpoint", (listen ? "server": "client"),
+ "s:endpoint", (isListen ? "server": "client"),
"b:verify-peer", verifypeer,
NULL) < 0)
goto cleanup;
static int
qemuBuildTLSx509CommandLine(virCommandPtr cmd,
const char *tlspath,
- bool listen,
+ bool isListen,
bool verifypeer,
const char *inalias,
virQEMUCapsPtr qemuCaps)
virJSONValuePtr props = NULL;
char *tmp = NULL;
- if (qemuBuildTLSx509BackendProps(tlspath, listen, verifypeer,
+ if (qemuBuildTLSx509BackendProps(tlspath, isListen, verifypeer,
qemuCaps, &props) < 0)
return -1;
/* Generate the object properties for a tls-creds-x509 */
int qemuBuildTLSx509BackendProps(const char *tlspath,
- bool listen,
+ bool isListen,
bool verifypeer,
virQEMUCapsPtr qemuCaps,
virJSONValuePtr *propsret);