summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-04-21 12:42:38 +0200
committerThomas Haller <thaller@redhat.com>2019-04-21 12:42:38 +0200
commit32594889bfbf808bf5745e9186e332118e04c6cc (patch)
treed398483c97af81704919d654be5f7070582ff1c7
parenta0f31e4038d29c9055a42a1ea8f95ae7fd648579 (diff)
downloadNetworkManager-32594889bfbf808bf5745e9186e332118e04c6cc.tar.gz
libnm: add missing NM_AVAILABLE_IN_1_18 markers to nm_ip_routing_rule_*() API
-rw-r--r--libnm-core/nm-setting-ip-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-ip-config.h b/libnm-core/nm-setting-ip-config.h
index 09b80f72a9..76a94914f3 100644
--- a/libnm-core/nm-setting-ip-config.h
+++ b/libnm-core/nm-setting-ip-config.h
@@ -294,11 +294,13 @@ typedef enum { /*< flags >*/
NM_IP_ROUTING_RULE_AS_STRING_FLAGS_VALIDATE = 0x4,
} NMIPRoutingRuleAsStringFlags;
+NM_AVAILABLE_IN_1_18
NMIPRoutingRule *nm_ip_routing_rule_from_string (const char *str,
NMIPRoutingRuleAsStringFlags to_string_flags,
GHashTable *extra_args,
GError **error);
+NM_AVAILABLE_IN_1_18
char *nm_ip_routing_rule_to_string (const NMIPRoutingRule *self,
NMIPRoutingRuleAsStringFlags to_string_flags,
GHashTable *extra_args,