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:
Michal Privoznik 2022-01-12 05:56:42 +01:00
parent 2fc6adcb30
commit d730392293
3 changed files with 0 additions and 16 deletions

View File

@ -2117,7 +2117,6 @@ dnsmasqAddDhcpHost;
dnsmasqAddHost;
dnsmasqCapsGetBinaryPath;
dnsmasqCapsNewFromBinary;
dnsmasqCapsNewFromBuffer;
dnsmasqContextFree;
dnsmasqContextNew;
dnsmasqDelete;

View File

@ -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)
{

View File

@ -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,