[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 742b67a 19/76: Removed several network manager functions.
From: |
Ian Dunn |
Subject: |
[elpa] master 742b67a 19/76: Removed several network manager functions. |
Date: |
Thu, 23 Feb 2017 19:42:46 -0500 (EST) |
branch: master
commit 742b67a7fd3ee89079f222706328935cdfbefd1e
Author: Ian D <address@hidden>
Commit: Ian D <address@hidden>
Removed several network manager functions.
---
lisp/enwc-nm.el | 59 ---------------------------------------------------------
1 file changed, 59 deletions(-)
diff --git a/lisp/enwc-nm.el b/lisp/enwc-nm.el
index fd882d3..8124a27 100644
--- a/lisp/enwc-nm.el
+++ b/lisp/enwc-nm.el
@@ -198,60 +198,6 @@ CONN is an object path to the connection."
(defun enwc-nm-get-device-by-name (name)
(enwc-nm-dbus-default-call-method "GetDeviceByIpIface" :string name))
-;; Settings, Connections
-(defun enwc-nm-get-uuid-by-ssid (ssid)
- "Gets the uuid of the network with ssid SSID."
- (let ((conns (enwc-nm-list-connections))
- cur-conn cur-ssid uuid)
- (while (and conns (not uuid))
- (setq cur-conn (pop conns))
- (let ((settings (enwc-nm-get-settings cur-conn)))
- (when (assoc "802-11-wireless" settings)
- (setq cur-ssid
- (dbus-byte-array-to-string (car (cadr (assoc "ssid"
- (cadr (assoc
"802-11-wireless"
-
settings)))))))
- (when (string= cur-ssid ssid)
- (setq uuid
- (car (cadr (assoc "uuid"
- (cadr (assoc "connection"
- settings))))))))))
- uuid))
-
-(defun enwc-nm-get-uuid-by-id (id)
- "Gets a network connection's uuid by the network's id.
-ID is a string that NetworkManager uses to identify this network."
- (let ((conns (enwc-nm-list-connections))
- cur-conn cur-id uuid)
- (while (and conns (not uuid))
- (setq cur-conn (pop conns))
- (let ((settings (enwc-nm-get-settings cur-conn))
- conn-set)
- (when (assoc "connection" settings)
- (setq conn-set (assoc "connection" settings))
- (setq cur-id (car (cadr (assoc "id" (cadr conn-set)))))
- (when (string= cur-id id)
- (setq uuid (car (cadr (assoc "uuid" (cadr conn-set)))))))))))
-
-(defun enwc-nm-get-conn-by-uuid (uuid)
- (enwc-nm-dbus-settings-call-method "GetConnectionByUuid"
- uuid))
-
-;; Settings
-;; Not used.
-(defun enwc-nm-get-conn-by-ssid (ssid)
- "Gets the connection path for the access point with ssid SSID."
- (let ((uuid (enwc-nm-get-uuid-by-ssid ssid)))
- (when uuid
- (enwc-nm-get-conn-by-uuid uuid))))
-
-;; Not used.
-(defun enwc-nm-get-conn-by-id (id)
- "Gets a connection object with the id ID.
-ID is the identifier used by Network Manager."
- (let ((uuid (enwc-nm-get-uuid-by-id id)))
- (enwc-nm-get-conn-by-uuid uuid)))
-
;;;;;;;;;;;;;;;;;
;; Get networks
;;;;;;;;;;;;;;;;;
@@ -436,11 +382,6 @@ STATE is the new state."
(defun enwc-nm-is-wired ()
enwc-nm-wired-p)
-(defun enwc-nm-get-sec-types (&optional wired)
- "Get security types."
- (unless wired
- enwc-nm-sec-types))
-
(defun enwc-nm-gen-uuid ()
(random t)
(let ((hex-nums
- [elpa] master 942d83d 15/76: enwc.el, enwc-setup.el: Consolidated and concretely defined front-end interface., (continued)
- [elpa] master 942d83d 15/76: enwc.el, enwc-setup.el: Consolidated and concretely defined front-end interface., Ian Dunn, 2017/02/23
- [elpa] master 6417d2c 49/76: Correctly merged old branch., Ian Dunn, 2017/02/23
- [elpa] master eb6b085 11/76: Fixed up copyright information., Ian Dunn, 2017/02/23
- [elpa] master 218aa82 25/76: Fixed prefix of customization group., Ian Dunn, 2017/02/23
- [elpa] master c9a94c8 44/76: Added tag 2.0 for changeset 3e2cab525cbc, Ian Dunn, 2017/02/23
- [elpa] master c4ac6fc 60/76: Fixed bug in 'enwc-load-default-backend', Ian Dunn, 2017/02/23
- [elpa] master b8697fd 62/76: Added force parameter to `enwc-load-backend'., Ian Dunn, 2017/02/23
- [elpa] master 2ebc214 01/76: Changed timeout on enwc-wicd-get-wireless-network-property., Ian Dunn, 2017/02/23
- [elpa] master 18e4a3a 06/76: Updated copyright notices., Ian Dunn, 2017/02/23
- [elpa] master 0d92006 09/76: (enwc-update-mode-line): Forces the mode line to update when ENWC updates its current signal., Ian Dunn, 2017/02/23
- [elpa] master 742b67a 19/76: Removed several network manager functions.,
Ian Dunn <=
- [elpa] master 773cef6 24/76: (enwc-backend-symbol-list): New variable., Ian Dunn, 2017/02/23
- [elpa] master b5686da 17/76: (enwc-wicd-get-sec-types): Removed., Ian Dunn, 2017/02/23
- [elpa] master 7914c48 10/76: (enwc-format-mode-line-string, enwc-update-mode-line): Added the option to customize the information displayed in the mode line., Ian Dunn, 2017/02/23
- [elpa] master 59ca546 20/76: (enwc--str-to-sym): Fixed., Ian Dunn, 2017/02/23
- [elpa] master 1722c02 33/76: enwc-cm.el: Fixed up header and footer., Ian Dunn, 2017/02/23
- [elpa] master c8a0397 29/76: Fixed some compilation errors in enwc.el., Ian Dunn, 2017/02/23
- [elpa] master bb68ed5 37/76: Added ignore rules for byte compiled files., Ian Dunn, 2017/02/23
- [elpa] master 6ed7137 43/76: Fix adding to global-mode-string., Ian Dunn, 2017/02/23
- [elpa] master 968e6f0 46/76: Added tag 2.0 for changeset cc2f7aa4ed36, Ian Dunn, 2017/02/23
- [elpa] master 2d5def6 36/76: (*-function): Removed., Ian Dunn, 2017/02/23