Function: socks-register-authentication-method

socks-register-authentication-method is a byte-compiled function defined in socks.el.gz.

Signature

(socks-register-authentication-method ID DESC CALLBACK)

Source Code

;; Defined in /usr/src/emacs/lisp/net/socks.el.gz
(defun socks-register-authentication-method (id desc callback)
  (let ((old (assq id socks-authentication-methods)))
    (if old
	(setcdr old (cons desc callback))
      (setq socks-authentication-methods
	    (cons (cons id (cons desc callback))
		  socks-authentication-methods)))))