mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03: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;
|
||||
dnsmasqCapsGetBinaryPath;
|
||||
dnsmasqCapsNewFromBinary;
|
||||
dnsmasqCapsNewFromBuffer;
|
||||
dnsmasqContextFree;
|
||||
dnsmasqContextNew;
|
||||
dnsmasqDelete;
|
||||
|
@ -680,20 +680,6 @@ dnsmasqCapsNewEmpty(void)
|
||||
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 *
|
||||
dnsmasqCapsNewFromBinary(void)
|
||||
{
|
||||
|
@ -91,7 +91,6 @@ int dnsmasqSave(const dnsmasqContext *ctx);
|
||||
int dnsmasqDelete(const dnsmasqContext *ctx);
|
||||
int dnsmasqReload(pid_t pid);
|
||||
|
||||
dnsmasqCaps *dnsmasqCapsNewFromBuffer(const char *buf);
|
||||
dnsmasqCaps *dnsmasqCapsNewFromBinary(void);
|
||||
const char *dnsmasqCapsGetBinaryPath(dnsmasqCaps *caps);
|
||||
char *dnsmasqDhcpHostsToString(dnsmasqDhcpHost *hosts,
|
||||
|
Loading…
Reference in New Issue
Block a user