%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/url/ |
Current File : //usr/local/share/emacs/27.2/lisp/url/url-cookie.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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\300\302!\210\300\303!\210\304\305\306\307\310\311\310\312\313\314& \207" [require url-util url-parse url-domsuf custom-declare-group url-cookie nil "URL cookies." :prefix "url-" "url-cookie-" :group url] 10) #@69 compiler-macro for inlining `url-cookie-p'. (fn CL-WHOLE-ARG CL-X) (defalias 'url-cookie-p--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block url-cookie-p (and (vectorp cl-x) (>= (length cl-x) 7) (memq (aref cl-x 0) cl-struct-url-cookie-tags) t)) nil] 9 (#$ . 642)]) (put 'url-cookie-p 'compiler-macro 'url-cookie-p--cmacro) #@13 (fn CL-X) (defalias 'url-cookie-p #[257 "\301!\205 \211G\302Y\205 \211\303H>\205 \304\207" [cl-struct-url-cookie-tags vectorp 7 0 t] 3 (#$ . 1010)]) (byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put url-cookie-p side-effect-free error-free put url-cookie cl-deftype-satisfies] 5) #@72 compiler-macro for inlining `url-cookie-name'. (fn CL-WHOLE-ARG CL-X) (defalias 'url-cookie-name--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block url-cookie-name (progn (or (and (memq (aref cl-x 0) cl-struct-url-cookie-tags)) (signal 'wrong-type-argument (list 'url-cookie cl-x))) (aref cl-x 1))) nil] 9 (#$ . 1319)]) (put 'url-cookie-name 'compiler-macro 'url-cookie-name--cmacro) #@60 Access slot "name" of `url-cookie' struct CL-X. (fn CL-X) (defalias 'url-cookie-name #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-url-cookie-tags 0 signal wrong-type-argument url-cookie 1] 5 (#$ . 1746)]) (byte-code "\300\301\302\303#\300\207" [function-put url-cookie-name side-effect-free t] 4) #@73 compiler-macro for inlining `url-cookie-value'. (fn CL-WHOLE-ARG CL-X) (defalias 'url-cookie-value--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block url-cookie-value (progn (or (and (memq (aref cl-x 0) cl-struct-url-cookie-tags)) (signal 'wrong-type-argument (list 'url-cookie cl-x))) (aref cl-x 2))) nil] 9 (#$ . 2075)]) (put 'url-cookie-value 'compiler-macro 'url-cookie-value--cmacro) #@61 Access slot "value" of `url-cookie' struct CL-X. (fn CL-X) (defalias 'url-cookie-value #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-url-cookie-tags 0 signal wrong-type-argument url-cookie 2] 5 (#$ . 2507)]) (byte-code "\300\301\302\303#\300\207" [function-put url-cookie-value side-effect-free t] 4) #@75 compiler-macro for inlining `url-cookie-expires'. (fn CL-WHOLE-ARG CL-X) (defalias 'url-cookie-expires--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block url-cookie-expires (progn (or (and (memq (aref cl-x 0) cl-struct-url-cookie-tags)) (signal 'wrong-type-argument (list 'url-cookie cl-x))) (aref cl-x 3))) nil] 9 (#$ . 2839)]) (put 'url-cookie-expires 'compiler-macro 'url-cookie-expires--cmacro) #@63 Access slot "expires" of `url-cookie' struct CL-X. (fn CL-X) (defalias 'url-cookie-expires #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-url-cookie-tags 0 signal wrong-type-argument url-cookie 3] 5 (#$ . 3281)]) (byte-code "\300\301\302\303#\300\207" [function-put url-cookie-expires side-effect-free t] 4) #@77 compiler-macro for inlining `url-cookie-localpart'. (fn CL-WHOLE-ARG CL-X) (defalias 'url-cookie-localpart--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block url-cookie-localpart (progn (or (and (memq (aref cl-x 0) cl-struct-url-cookie-tags)) (signal 'wrong-type-argument (list 'url-cookie cl-x))) (aref cl-x 4))) nil] 9 (#$ . 3619)]) (put 'url-cookie-localpart 'compiler-macro 'url-cookie-localpart--cmacro) #@65 Access slot "localpart" of `url-cookie' struct CL-X. (fn CL-X) (defalias 'url-cookie-localpart #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-url-cookie-tags 0 signal wrong-type-argument url-cookie 4] 5 (#$ . 4071)]) (byte-code "\300\301\302\303#\300\207" [function-put url-cookie-localpart side-effect-free t] 4) #@74 compiler-macro for inlining `url-cookie-domain'. (fn CL-WHOLE-ARG CL-X) (defalias 'url-cookie-domain--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block url-cookie-domain (progn (or (and (memq (aref cl-x 0) cl-struct-url-cookie-tags)) (signal 'wrong-type-argument (list 'url-cookie cl-x))) (aref cl-x 5))) nil] 9 (#$ . 4415)]) (put 'url-cookie-domain 'compiler-macro 'url-cookie-domain--cmacro) #@62 Access slot "domain" of `url-cookie' struct CL-X. (fn CL-X) (defalias 'url-cookie-domain #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-url-cookie-tags 0 signal wrong-type-argument url-cookie 5] 5 (#$ . 4852)]) (byte-code "\300\301\302\303#\300\207" [function-put url-cookie-domain side-effect-free t] 4) #@74 compiler-macro for inlining `url-cookie-secure'. (fn CL-WHOLE-ARG CL-X) (defalias 'url-cookie-secure--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block url-cookie-secure (progn (or (and (memq (aref cl-x 0) cl-struct-url-cookie-tags)) (signal 'wrong-type-argument (list 'url-cookie cl-x))) (aref cl-x 6))) nil] 9 (#$ . 5187)]) (put 'url-cookie-secure 'compiler-macro 'url-cookie-secure--cmacro) #@62 Access slot "secure" of `url-cookie' struct CL-X. (fn CL-X) (defalias 'url-cookie-secure #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-url-cookie-tags 0 signal wrong-type-argument url-cookie 6] 5 (#$ . 5624)]) (byte-code "\300\301\302\303#\300\207" [function-put url-cookie-secure side-effect-free t] 4) #@123 compiler-macro for inlining `url-cookie-create'. (fn CL-WHOLE &cl-quote &key NAME VALUE EXPIRES LOCALPART DOMAIN SECURE) (defalias 'url-cookie-create--cmacro #[385 "\300\301\"A@\300\302\"A@\300\303\"A@\300\304\"A@\300\305\"A@\300\306\"A@\211\203R \211@\307>\203: \211AA\262\202' \310>A@\203I \311\262\202' \312\313@\"\210\202' \210\314\315\316\311\311&\207" [plist-member :name :value :expires :localpart :domain :secure (:name :value :expires :localpart :domain :secure :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:name :value :expires :localpart :domain :secure)" cl--defsubst-expand (name value expires localpart domain secure) (cl-block url-cookie-create (vector 'url-cookie name value expires localpart domain secure))] 20 (#$ . 5960)]) (put 'url-cookie-create 'compiler-macro 'url-cookie-create--cmacro) #@101 Constructor for objects of type `url-cookie'. (fn &key NAME VALUE EXPIRES LOCALPART DOMAIN SECURE) (defalias 'url-cookie-create #[128 "\300\301\"A@\300\302\"A@\300\303\"A@\300\304\"A@\300\305\"A@\300\306\"A@\211\203R \211@\307>\203: \211AA\262\202' \310>A@\203I \311\262\202' \312\313@\"\210\202' \210\314\315&\207" [plist-member :name :value :expires :localpart :domain :secure (:name :value :expires :localpart :domain :secure :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:name :value :expires :localpart :domain :secure)" vector url-cookie] 15 (#$ . 6843)]) (byte-code "\300\301\302\303#\304\305\306\211\307\303\310\311\305\306& \207" [function-put url-cookie-create side-effect-free t cl-struct-define url-cookie nil vector ((cl-tag-slot) (name) (value) (expires) (localpart) (domain) (secure)) cl-struct-url-cookie-tags] 11) #@27 Where cookies are stored. (defvar url-cookie-storage nil (#$ . 7742)) #@34 Where secure cookies are stored. (defvar url-cookie-secure-storage nil (#$ . 7818)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\310\312& \210\300\313\302\303\314DD\315\306\316\310\312&\210\300\317\302\303\320DD\321\306\316\310\312&\207" [custom-declare-variable url-cookie-file funcall function #[0 "\300\207" [nil] 1] "File where cookies are stored on disk." :type (choice (const :tag "Default" :value nil) file) :group url-file url-cookie url-cookie-confirmation #[0 "\300\207" [nil] 1] "If non-nil, confirmation by the user is required to accept HTTP cookies." boolean url-cookie-multiple-line #[0 "\300\207" [nil] 1] "If nil, HTTP requests put all cookies for the server on one line.\nSome web servers, such as http://www.hotmail.com/, only accept cookies\nwhen they are on one line. This is broken behavior, but just try\ntelling Microsoft that."] 10) #@69 Whether the cookies list has changed since the last save operation. (defvar url-cookies-changed-since-last-save nil (#$ . 8695)) #@62 Load FNAME, default `url-cookie-file'. (fn &optional FNAME) (defalias 'url-cookie-parse-file #[256 "\301\206 \302\211#\207" [url-cookie-file load t] 5 (#$ . 8830)]) #@222 Load cookies from FILENAME in Netscape/Mozilla format. When LONG-SESSION is non-nil, session cookies (expiring at t=0 i.e. 1970-1-1) are loaded as expiring one year from now instead. (fn FILENAME &optional LONG-SESSION) (defalias 'url-cookie-parse-file-netscape #[513 "\302\303\304!r\211q\210\305\302\306\307\310!\311\"\312$\216\313!\210eb\210\314\315\316!)\262\204/ \317\320\321\"!\210m\204\244 \322\315\316!)\262\204\236 `\212\323\210`){\324\325\"\211G\326U\203\227 \211@\3128\3278\330\230\331\332\333\3348!\211\302U\203v \n\203v \335\323\336\"\202w \211\262\"\3378\3408 T\262\n\341 &\266\202\234 \342\343\"\210\266\323y\210\202/ \302W\203\254 \315\342\344#*\262\207" [inhibit-changing-match-data url-cookies-changed-since-last-save 0 generate-new-buffer " *temp*" make-byte-code "\301\300!\205 \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 insert-file-contents-literally "# Netscape HTTP Cookie File\n" t looking-at error format "File %s doesn't look like a netscape cookie file" "^[[:space:]]*#" nil split-string " " 7 3 "TRUE" format-time-string "%d %b %Y %T [GMT]" string-to-number 4 time-add 31536000 5 6 url-cookie-store message "ignoring malformed cookie line <%s>" "added %d cookies from file %s"] 19 (#$ . 9006) "fLoad Netscape/Mozilla cookie file: "]) #@25 (fn &optional SECURE) (defalias 'url-cookie-clean-up #[256 "\211\203 \301\202 \302\303\211J\211\203o \211@\303\262\211A\211\203Z \211@\304!\203S \211G\305Y\203S \211\306H>\203S \307!\204S \211\306H>\204H \310\311\312D\"\210\211\313H\203S \211B\262A\266\202\202 \210\203h \211\241\210\211B\262A\266\202\202 \210L\207" [cl-struct-url-cookie-tags url-cookie-secure-storage url-cookie-storage nil vectorp 7 0 url-cookie-expired-p signal wrong-type-argument url-cookie 3] 12 (#$ . 10330)]) #@24 (fn &optional FNAME) (defalias 'url-cookie-write-file #[256 "\205v \205v \211\204 \306 !\262\3071 \310!\210\3110\202\"