From 51d203c67655bd567d17c991712736384a6b48f3 Mon Sep 17 00:00:00 2001 From: Satoru SATOH Date: Mon, 26 Apr 2010 15:56:03 +0200 Subject: [PATCH] Add build support for dnsmasq module * po/POTFILES.in: the new module contains translatable strings * src/Makefile.am: include the files in the utils set * src/libvirt_private.syms: exports the symbols internally --- po/POTFILES.in | 1 + src/Makefile.am | 1 + src/libvirt_private.syms | 9 +++++++++ 3 files changed, 11 insertions(+) diff --git a/po/POTFILES.in b/po/POTFILES.in index 58e7358566..88218bd6ee 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -71,6 +71,7 @@ src/uml/uml_driver.c src/util/authhelper.c src/util/bridge.c src/util/conf.c +src/util/dnsmasq.c src/util/hooks.c src/util/hostusb.c src/util/interface.c diff --git a/src/Makefile.am b/src/Makefile.am index 00ab65df49..fc64927a1f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -59,6 +59,7 @@ UTIL_SOURCES = \ util/hooks.c util/hooks.h \ util/iptables.c util/iptables.h \ util/ebtables.c util/ebtables.h \ + util/dnsmasq.c util/dnsmasq.h \ util/json.c util/json.h \ util/logging.c util/logging.h \ util/macvtap.c util/macvtap.h \ diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index f8e9d01bb5..746327dfdc 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -326,6 +326,15 @@ iptablesRemoveTcpInput; iptablesRemoveUdpInput; +# dnsmasq.h +dnsmasqContextNew; +dnsmasqContextFree; +dnsmasqAddDhcpHost; +dnsmasqSave; +dnsmasqDelete; +dnsmasqReload; + + # libvirt_internal.h virDrvSupportsFeature; virDomainMigratePrepare;