VIR_DEBUG("TLS CA CRL %s", *cacrl);
}
-static void virNetTLSConfigIdentity(int isServer,
+static void virNetTLSConfigIdentity(bool isServer,
const char *certdir,
const char *keydir,
char **cert,
}
void virNetTLSConfigCustomIdentity(const char *pkipath,
- int isServer,
+ bool isServer,
char **cert,
char **key)
{
key);
}
-void virNetTLSConfigUserIdentity(int isServer,
+void virNetTLSConfigUserIdentity(bool isServer,
char **cert,
char **key)
{
key);
}
-void virNetTLSConfigSystemIdentity(int isServer,
+void virNetTLSConfigSystemIdentity(bool isServer,
char **cert,
char **key)
{
}
void virNetTLSConfigCustomCreds(const char *pkipath,
- int isServer,
+ bool isServer,
char **cacert,
char **cacrl,
char **cert,
key);
}
-void virNetTLSConfigUserCreds(int isServer,
+void virNetTLSConfigUserCreds(bool isServer,
char **cacert,
char **cacrl,
char **cert,
key);
}
-void virNetTLSConfigSystemCreds(int isServer,
+void virNetTLSConfigSystemCreds(bool isServer,
char **cacert,
char **cacrl,
char **cert,
#pragma once
+#include "internal.h"
#include "configmake.h"
#define LIBVIRT_PKI_DIR SYSCONFDIR "/pki"
char **cacrl);
void virNetTLSConfigCustomIdentity(const char *pkipath,
- int isServer,
+ bool isServer,
char **cert,
char **key);
-void virNetTLSConfigUserIdentity(int isServer,
+void virNetTLSConfigUserIdentity(bool isServer,
char **cert,
char **key);
-void virNetTLSConfigSystemIdentity(int isServer,
+void virNetTLSConfigSystemIdentity(bool isServer,
char **cert,
char **key);
void virNetTLSConfigCustomCreds(const char *pkipath,
- int isServer,
+ bool isServer,
char **cacert,
char **cacrl,
char **cert,
char **key);
-void virNetTLSConfigUserCreds(int isServer,
+void virNetTLSConfigUserCreds(bool isServer,
char **cacert,
char **cacrl,
char **cert,
char **key);
-void virNetTLSConfigSystemCreds(int isServer,
+void virNetTLSConfigSystemCreds(bool isServer,
char **cacert,
char **cacrl,
char **cert,