summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Houston <stephen@localhost.localdomain>2017-11-27 14:16:43 -0600
committerStephen Houston <stephen@localhost.localdomain>2017-11-27 14:16:43 -0600
commitfdc9905ee2e26745dcf48f0bf548475f98c09fda (patch)
treecef829435b75c96db55d77c4e6dda119c26b347f
parente7a9fa1a0fb66481795ab735910a90908f4e65e3 (diff)
Update agent interface for testing.
-rw-r--r--src/networkmanager.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/networkmanager.c b/src/networkmanager.c
index f40e624..0ea2f23 100644
--- a/src/networkmanager.c
+++ b/src/networkmanager.c
@@ -5,8 +5,9 @@
5#define NETWORKMANAGER_BUS_INTERFACE NETWORKMANAGER_BUS_NAME 5#define NETWORKMANAGER_BUS_INTERFACE NETWORKMANAGER_BUS_NAME
6#define NETWORKMANAGER_AGENT_MANAGER NETWORKMANAGER_BUS_NAME ".AgentManager" 6#define NETWORKMANAGER_AGENT_MANAGER NETWORKMANAGER_BUS_NAME ".AgentManager"
7#define NETWORKMANAGER_AGENT_MANAGER_PATH NETWORKMANAGER_BUS_PATH "/AgentManager" 7#define NETWORKMANAGER_AGENT_MANAGER_PATH NETWORKMANAGER_BUS_PATH "/AgentManager"
8#define NETWORKMANAGER_AGENT_NAME "org.wireless.nm.agent" 8#define NETWORKMANAGER_SECRET_AGENT "org.freedesktop.NetworkManager.SecretAgent"
9#define NETWORKMANAGER_AGENT_PATH "/org/wireless/nm/agent" 9#define NETWORKMANAGER_AGENT_NAME "org.wireless.networkmanager.agent"
10#define NETWORKMANAGER_AGENT_PATH "/org/wireless/networkmanager/agent"
10 11
11#define NETWORKMANAGER_SERVICE_TYPE_ITER(i) \ 12#define NETWORKMANAGER_SERVICE_TYPE_ITER(i) \
12 for ((i) = 0; (i) < NETWORKMANAGER_SERVICE_TYPE_LAST; (i)++) 13 for ((i) = 0; (i) < NETWORKMANAGER_SERVICE_TYPE_LAST; (i)++)
@@ -2422,7 +2423,7 @@ static const Eldbus_Method methods[] = {
2422}; 2423};
2423 2424
2424static const Eldbus_Service_Interface_Desc desc = { 2425static const Eldbus_Service_Interface_Desc desc = {
2425 NETWORKMANAGER_AGENT_NAME, methods, NULL, NULL, NULL, NULL 2426 NETWORKMANAGER_SECRET_AGENT, methods, NULL, NULL, NULL, NULL
2426}; 2427};
2427 2428
2428static void 2429static void