Current File : //usr/share/emacs/24.3/lisp/erc/erc-ezbounce.elc |
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:36 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/erc/erc-ezbounce.el
;;; in Emacs version 24.3.1
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\302\303\304\305\306\301%\210\307\310\311\312\306\303\313\314&\210\307\315\316\317\306\303\313\320&\207" [require erc custom-declare-group erc-ezbounce nil "Interface to the EZBounce IRC bouncer (a virtual IRC server)" :group custom-declare-variable erc-ezb-regexp "^ezbounce!srv$" "Regexp used by the EZBouncer to identify itself to the user." :type string erc-ezb-login-alist 'nil "Alist of logins suitable for the server we're connecting to.\n\nThe alist's format is as follows:\n\n (((server . port) . (username . password))\n ((server . port) . (username . password))\n ...)" (repeat (cons (cons :tag "Server" string string) (cons :tag "Login" string string)))] 8)
#@52 Alist of actions to take on NOTICEs from EZBounce.
(defvar erc-ezb-action-alist '(("^\\[awaiting login/pass command\\]$" . erc-ezb-identify) ("^\\[use /quote CONN <server> to connect\\]$" . erc-ezb-select) ("^ID +IRC NICK +TO +TIME$" . erc-ezb-init-session-list) ("^$" . erc-ezb-end-of-session-list) (".*" . erc-ezb-add-session)) (#$ . 1258))
#@37 List of detached EZBounce sessions.
(defvar erc-ezb-session-list nil (#$ . 1607))
(make-variable-buffer-local 'erc-ezb-session-list)
#@75 Indicate whether current notices are expected to be EZB session listings.
(defvar erc-ezb-inside-session-listing nil (#$ . 1746))
#@46 Send EZB commands to the EZBouncer verbatim.
(defalias 'erc-cmd-ezb #[(line &optional force) "\301\302P!\207" [line erc-server-send "EZB "] 3 (#$ . 1882)])
(put 'erc-cmd-EZB 'do-not-parse-args t)
#@187 Return an appropriate EZBounce login for SERVER and PORT.
Look up entries in `erc-ezb-login-alist'. If the username or password
in the alist is `nil', prompt for the appropriate values.
(defalias 'erc-ezb-get-login #[(server port) "\306 B\n\"A\211\205. @A\211\204 \307\310\311 #!\f\204* \312\310\313 #!
\f*B)\207" [server port erc-ezb-login-alist login password username assoc read-from-minibuffer format "EZBounce user name for %s:%s: " read-passwd "EZBounce password for %s:%s: "] 6 (#$ . 2086)])
(defalias 'erc-ezb-lookup-action #[(message) "\306 \204+ \n\203+ \n\211@@)\n\211@A)\307
\"\203$ \f\nA*\202 *\207" [erc-ezb-action-alist found function-alist x function regexp nil string-match message] 4])
#@38 React on an EZBounce NOTICE request.
(defalias 'erc-ezb-notice-autodetect #[(proc parsed) "\306H >\204 \307\310\311\312#\210\313H\306H >\204 \307\310\314\312#\210\315H\316!\317
\n\"\2037 \f\2037 \f!\210+\320\207" [parsed cl-struct-erc-response-tags sender message function erc-ezb-regexp 0 error "%s accessing a non-%s" erc-response\.sender erc-response 2 erc-response\.contents 5 erc-ezb-lookup-action string-match nil] 4 (#$ . 2820)])
#@35 Identify to the EZBouncer server.
(defalias 'erc-ezb-identify #[(message) "\305\306 !\"\211\205 \n@\nA\307\310\f\311R!*)\207" [erc-session-server erc-session-port login pass username erc-ezb-get-login erc-port-to-string erc-server-send "LOGIN " " "] 6 (#$ . 3274)])
#@41 Reset the EZBounce session list to nil.
(defalias 'erc-ezb-init-session-list #[(message) "\302\303\211\207" [erc-ezb-session-list erc-ezb-inside-session-listing nil t] 2 (#$ . 3552)])
#@51 Indicate the end of the EZBounce session listing.
(defalias 'erc-ezb-end-of-session-list #[(message) "\301\211\207" [erc-ezb-inside-session-listing nil] 2 (#$ . 3744)])
#@46 Add an EZBounce session to the session list.
(defalias 'erc-ezb-add-session #[(message) "\205\"