summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-15 15:40:48 +0200
committerThomas Haller <thaller@redhat.com>2016-06-16 10:45:54 +0200
commit5d55492bac24677f706f048eab01af5ed84a761c (patch)
tree7b4fefc620d2e82498d3acb0e8d30917c704d6b1 /po
parent4b288136e1893a7ac21f04370008e37feb3cfac9 (diff)
downloadNetworkManager-5d55492bac24677f706f048eab01af5ed84a761c.tar.gz
shared: add "nm-utils/nm-vpn-plugin-utils.h"
This file is only used by plugins and copied between them. It's purpose is to contain general utility functions that are only relevant for implementing NetworkManager's VPN plugins. In principle the utility functions could be part of libnm, however, there are a few problems with that: - if they are part of libnm, adding and using a new utility function requires the plugin to bump the required libnm version. Since you usally can work around/reimplement utility functions, this results in not using the API from libnm, not adding the API to libnm, and reimplementing it over and over in the plugin. - plugins compile both against libnm and libnm-glib. Thus, either the utility function would also be needed in libnm-glib, or again, it is not usable by the plugin. We must avoid that the utility functions diverge and no local modifications to these files should be made in the plugin. Instead, one special location of the utility functions shall be extended and re-imported (copied) to the plugin as needed. Add the files to NetworkManager's repository. Although they are not needed for NetworkManager itself, they are a different API provided by NetworkManager. An API that is reused and shared by copying the files around.
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.skip1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 7bf60bea5b..1d7880e800 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -7,5 +7,6 @@ vpn-daemons/pptp
vpn-daemons/vpnc
contrib/fedora/rpm/
shared/nm-utils/nm-vpn-editor-plugin-call.h
+shared/nm-utils/nm-vpn-plugin-utils.c
# https://bugs.launchpad.net/intltool/+bug/1117944
sub/policy/org.freedesktop.NetworkManager.policy.in