Need to create the object for a hotplug disk
* Returns 0 on success with the filled in JSON property; otherwise,
* returns -1 on failure error message set.
*/
-static int
+int
qemuBuildSecretInfoProps(qemuDomainSecretInfoPtr secinfo,
virJSONValuePtr *propsret)
{
const char *domainLibDir)
ATTRIBUTE_NONNULL(15);
+/* Generate the object properties for a secret */
+int qemuBuildSecretInfoProps(qemuDomainSecretInfoPtr secinfo,
+ virJSONValuePtr *propsret);
+
/* Generate '-device' string for chardev device */
int
qemuBuildChrDeviceStr(char **deviceStr,