The function is no longer used. Remove it.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
dnsmasqAddHost;
dnsmasqCapsGetBinaryPath;
dnsmasqCapsNewFromBinary;
-dnsmasqCapsNewFromBuffer;
dnsmasqContextFree;
dnsmasqContextNew;
dnsmasqDelete;
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)
{
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,