summaryrefslogtreecommitdiff
path: root/libnm/nm-manager.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-01 12:31:36 +0200
committerThomas Haller <thaller@redhat.com>2016-06-01 19:06:35 +0200
commit8e54cfdb27c90d79f1baffcd2c4fabff95ef6bc8 (patch)
treed10783a8b9c5721020825855cf503c72e24be7ee /libnm/nm-manager.c
parented551a463308ae6e0045c1c51b0cc14a2f04d3dc (diff)
all: move NM_AUTH_PERMISSION_* defines to "nm-common-macros.h" header
Diffstat (limited to 'libnm/nm-manager.c')
-rw-r--r--libnm/nm-manager.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/libnm/nm-manager.c b/libnm/nm-manager.c
index 6d1270f03..27bd4ca67 100644
--- a/libnm/nm-manager.c
+++ b/libnm/nm-manager.c
@@ -26,6 +26,7 @@
#include <string.h>
#include "nm-utils.h"
+#include "nm-common-macros.h"
#include "nm-device-ethernet.h"
#include "nm-device-wifi.h"
#include "nm-device-private.h"
@@ -202,20 +203,6 @@ init_dbus (NMObject *object)
G_CALLBACK (manager_recheck_permissions), object);
}
-#define NM_AUTH_PERMISSION_ENABLE_DISABLE_NETWORK "org.freedesktop.NetworkManager.enable-disable-network"
-#define NM_AUTH_PERMISSION_ENABLE_DISABLE_WIFI "org.freedesktop.NetworkManager.enable-disable-wifi"
-#define NM_AUTH_PERMISSION_ENABLE_DISABLE_WWAN "org.freedesktop.NetworkManager.enable-disable-wwan"
-#define NM_AUTH_PERMISSION_ENABLE_DISABLE_WIMAX "org.freedesktop.NetworkManager.enable-disable-wimax"
-#define NM_AUTH_PERMISSION_SLEEP_WAKE "org.freedesktop.NetworkManager.sleep-wake"
-#define NM_AUTH_PERMISSION_NETWORK_CONTROL "org.freedesktop.NetworkManager.network-control"
-#define NM_AUTH_PERMISSION_WIFI_SHARE_PROTECTED "org.freedesktop.NetworkManager.wifi.share.protected"
-#define NM_AUTH_PERMISSION_WIFI_SHARE_OPEN "org.freedesktop.NetworkManager.wifi.share.open"
-#define NM_AUTH_PERMISSION_SETTINGS_MODIFY_SYSTEM "org.freedesktop.NetworkManager.settings.modify.system"
-#define NM_AUTH_PERMISSION_SETTINGS_MODIFY_OWN "org.freedesktop.NetworkManager.settings.modify.own"
-#define NM_AUTH_PERMISSION_SETTINGS_MODIFY_HOSTNAME "org.freedesktop.NetworkManager.settings.modify.hostname"
-#define NM_AUTH_PERMISSION_SETTINGS_MODIFY_GLOBAL_DNS "org.freedesktop.NetworkManager.settings.modify.global-dns"
-#define NM_AUTH_PERMISSION_RELOAD "org.freedesktop.NetworkManager.reload"
-
static NMClientPermission
nm_permission_to_client (const char *nm)
{