• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgpg-error-1.10/lang/cl/

Lines Matching +defs:code +defs:key

60 ;;; The error code type gpg-err-code-t.
64 (defctype gpg-error-t :unsigned-int "The GPG error code type.")
68 (defconstant +gpg-err-code-mask+ (- +gpg-err-code-dim+ 1))
78 (defun c-gpg-err-make (source code)
79 "Construct an error value from an error code and source.
84 (logand code +gpg-err-code-mask+)))
86 (defun c-gpg-err-code (err)
87 "retrieve the error code from an error value."
88 (logand err +gpg-err-code-mask+))
105 (defcfun ("gpg_err_code_from_errno" c-gpg-err-code-from-errno) gpg-err-code-t
108 (defcfun ("gpg_err_code_to_errno" c-gpg-err-code-to-errno) :int
109 (code gpg-err-code-t))
112 c-gpg-err-code-from-syserror) gpg-err-code-t)
126 (defun gpg-err-code-as-value (code-key)
127 (foreign-enum-value 'gpg-err-code-t code-key))
129 (defun gpg-err-code-as-key (code)
130 (foreign-enum-keyword 'gpg-err-code-t code))
132 (defun gpg-err-source-as-value (source-key)
133 (foreign-enum-value 'gpg-err-source-t source-key))
135 (defun gpg-err-source-as-key (source)
140 (gpg-err-make (gpg-err-source err) (gpg-err-code err)))
146 (gpg-err-code-as-value (gpg-err-code error)))))
150 (defun gpg-err-make (source code)
151 "Construct an error value from an error code and source.
157 (gpg-err-source-as-key source)
159 (gpg-err-code code)))
164 (defun gpg-error (code)
165 "Construct an error value from an error code, using the default source."
166 (gpg-err-make *gpg-err-source-default* code))
168 (defun gpg-err-code (err)
169 "Retrieve an error code from the error value ERR."
172 (t (gpg-err-code-as-key (c-gpg-err-code err)))))
178 (t (gpg-err-source-as-key (c-gpg-err-source err)))))
183 "Return a string containig a description of the error code."
195 ;; "Return a string containig a description of the error code."
197 ;; (c-gpg-strerror-r (gpg-err-code-as-value (gpg-err-code err))
206 (defun gpg-err-code-from-errno (err)
207 "Retrieve the error code for the system error. If the system error
209 (gpg-err-code-as-key (c-gpg-err-code-from-errno err)))
211 (defun gpg-err-code-to-errno (code)
212 "Retrieve the system error for the error code. If this is not a
214 (c-gpg-err-code-to-errno (gpg-err-code code)))
216 (defun gpg-err-code-from-syserror ()
217 "Retrieve the error code directly from the system ERRNO. If the system error
220 (gpg-err-code-as-key (c-gpg-err-code-from-syserror)))
226 (gpg-err-make source (gpg-err-code-from-errno err)))
229 (gpg-error (gpg-err-code-from-errno err)))
232 (gpg-error (gpg-err-code-from-syserror)))