annotate lwlib/lwlib-utils.h @ 66520:67afcf271a8f

(pgg-gpg-select-matching-key): Fixed: look at the right part of the decoded armor to find the key-identifier. (pgg-gpg-lookup-key-owner): New function to return the human-readable identifier of a key owner. (pgg-gpg-lookup-id-from-key-owner): Make it easy to identify the key itself. (pgg-gpg-decrypt-region): Prompt with the key owner (rather than the key value) if we have a key and can match it against a secret key. Also, added an XXX note pointing out fact that the prompt only indicates the first matching key. (pgg-pgp-encrypt-region) (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) (pgg-pgp-sign-region, pgg-pgp-sign): Add optional 'passphrase' argument to all these routines, so the passphrase can be managed externally and passed in to the system. (pgg-gpg-possibly-cache-passphrase): Add optional 'notruncate' argument, so the passphrase cache can be used reliably with identifiers besides a pgp packet's key id. (pgg-gpg-encrypt-symmetric-region): New function for symmetric encryption. (pgg-gpg-symmetric-key-p): New function to check for an symmetric encrypted session key. (pgg-gpg-decrypt-region): When decrypting a symmetric encrypted message ask for the passphrase in a proper way.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 29 Oct 2005 11:31:08 +0000
parents 695cf19ef79e
children 375f2633d815 e16f43875a48
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #ifndef _LWLIB_UTILS_H_
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #define _LWLIB_UTILS_H_
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
4 void XtNoClearRefreshWidget __P ((Widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
6 typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer));
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
7 typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
9 void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer));
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
10 void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
12 Widget *XtCompositeChildren __P ((Widget, unsigned int *));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 /* returns True is the widget is being destroyed, False otherwise */
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 Boolean
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
16 XtWidgetBeingDestroyedP __P ((Widget widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
18 void XtSafelyDestroyWidget __P ((Widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 #endif /* _LWLIB_UTILS_H_ */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29466
diff changeset
21
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29466
diff changeset
22 /* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29466
diff changeset
23 (do not change this comment) */