[RFC patch 1/2] utils: make virFirewallAddRuleFullV public

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 src/libvirt_private.syms | 1 +
 src/util/virfirewall.c   | 2 +-
 src/util/virfirewall.h   | 7 +++++++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 6f0d72ca38..c2f43e95ab 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -2316,6 +2316,7 @@ virFileCacheSetPriv;
 
 # util/virfirewall.h
 virFirewallAddRuleFull;
+virFirewallAddRuleFullV;
 virFirewallApply;
 virFirewallFree;
 virFirewallNew;
diff --git a/src/util/virfirewall.c b/src/util/virfirewall.c
index 31a8352d4e..5efa6ffd45 100644
--- a/src/util/virfirewall.c
+++ b/src/util/virfirewall.c
@@ -186,7 +186,7 @@ void virFirewallFree(virFirewall *firewall)
         rule->args[rule->argsLen++] = g_strdup(str); \
     } while (0)
 
-static virFirewallRule *
+virFirewallRule *
 virFirewallAddRuleFullV(virFirewall *firewall,
                         virFirewallLayer layer,
                         bool ignoreErrors,
diff --git a/src/util/virfirewall.h b/src/util/virfirewall.h
index 7448825dbc..467cc3fb17 100644
--- a/src/util/virfirewall.h
+++ b/src/util/virfirewall.h
@@ -64,6 +64,13 @@ virFirewallRule *virFirewallAddRuleFull(virFirewall *firewall,
                                           ...)
     G_GNUC_NULL_TERMINATED;
 
+virFirewallRule *virFirewallAddRuleFullV(virFirewall *firewall,
+                                         virFirewallLayer layer,
+                                         bool ignoreErrors,
+                                         virFirewallQueryCallback cb,
+                                         void *opaque,
+                                         va_list args);
+
 void virFirewallRemoveRule(virFirewall *firewall,
                            virFirewallRule *rule);
 
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux