mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
virdnsmasq: Drop dnsmasqCapsNewFromBuffer()
The function is no longer used. Remove it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
2fc6adcb30
commit
d730392293
@ -2117,7 +2117,6 @@ dnsmasqAddDhcpHost;
|
|||||||
dnsmasqAddHost;
|
dnsmasqAddHost;
|
||||||
dnsmasqCapsGetBinaryPath;
|
dnsmasqCapsGetBinaryPath;
|
||||||
dnsmasqCapsNewFromBinary;
|
dnsmasqCapsNewFromBinary;
|
||||||
dnsmasqCapsNewFromBuffer;
|
|
||||||
dnsmasqContextFree;
|
dnsmasqContextFree;
|
||||||
dnsmasqContextNew;
|
dnsmasqContextNew;
|
||||||
dnsmasqDelete;
|
dnsmasqDelete;
|
||||||
|
@ -680,20 +680,6 @@ dnsmasqCapsNewEmpty(void)
|
|||||||
return g_steal_pointer(&caps);
|
return g_steal_pointer(&caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
dnsmasqCaps *
|
|
||||||
dnsmasqCapsNewFromBuffer(const char *buf)
|
|
||||||
{
|
|
||||||
g_autoptr(dnsmasqCaps) caps = dnsmasqCapsNewEmpty();
|
|
||||||
|
|
||||||
if (!caps)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
if (dnsmasqCapsSetFromBuffer(caps, buf) < 0)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
return g_steal_pointer(&caps);
|
|
||||||
}
|
|
||||||
|
|
||||||
dnsmasqCaps *
|
dnsmasqCaps *
|
||||||
dnsmasqCapsNewFromBinary(void)
|
dnsmasqCapsNewFromBinary(void)
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,6 @@ int dnsmasqSave(const dnsmasqContext *ctx);
|
|||||||
int dnsmasqDelete(const dnsmasqContext *ctx);
|
int dnsmasqDelete(const dnsmasqContext *ctx);
|
||||||
int dnsmasqReload(pid_t pid);
|
int dnsmasqReload(pid_t pid);
|
||||||
|
|
||||||
dnsmasqCaps *dnsmasqCapsNewFromBuffer(const char *buf);
|
|
||||||
dnsmasqCaps *dnsmasqCapsNewFromBinary(void);
|
dnsmasqCaps *dnsmasqCapsNewFromBinary(void);
|
||||||
const char *dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps);
|
const char *dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps);
|
||||||
char *dnsmasqDhcpHostsToString(dnsmasqDhcpHost *hosts,
|
char *dnsmasqDhcpHostsToString(dnsmasqDhcpHost *hosts,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user