2003-04-24 Marcus Brinkmann <marcus@g10code.de>
* mkstatus: Strip trailing comma. * gpgme.h (GpgmeStatus): Pretty print.
This commit is contained in:
parent
8208786b91
commit
f58531a211
@ -1,5 +1,8 @@
|
||||
2003-04-24 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* mkstatus: Strip trailing comma.
|
||||
* gpgme.h (GpgmeStatus): Pretty print.
|
||||
|
||||
* gpgme.h (GpgmeError): Rename GPGME_No_Passphrase to
|
||||
GPGME_Bad_Passphrase.
|
||||
* passphrase.c (_gpgme_passphrase_status_handler): Use
|
||||
|
@ -220,12 +220,12 @@ typedef enum
|
||||
}
|
||||
GpgmeProtocol;
|
||||
|
||||
|
||||
|
||||
/* The possible stati for the edit operation. */
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
GPGME_STATUS_EOF,
|
||||
/* mkstatus starts here */
|
||||
/* mkstatus processing starts here */
|
||||
GPGME_STATUS_ENTER,
|
||||
GPGME_STATUS_LEAVE,
|
||||
GPGME_STATUS_ABORT,
|
||||
@ -268,6 +268,8 @@ typedef enum {
|
||||
GPGME_STATUS_BADMDC,
|
||||
GPGME_STATUS_ERRMDC,
|
||||
GPGME_STATUS_IMPORTED,
|
||||
GPGME_STATUS_IMPORT_OK,
|
||||
GPGME_STATUS_IMPORT_PROBLEM,
|
||||
GPGME_STATUS_IMPORT_RES,
|
||||
GPGME_STATUS_FILE_START,
|
||||
GPGME_STATUS_FILE_DONE,
|
||||
@ -302,8 +304,8 @@ typedef enum {
|
||||
GPGME_STATUS_EXPKEYSIG,
|
||||
GPGME_STATUS_TRUNCATED,
|
||||
GPGME_STATUS_ERROR
|
||||
} GpgmeStatusCode;
|
||||
|
||||
}
|
||||
GpgmeStatusCode;
|
||||
|
||||
/* The available keylist mode flags. */
|
||||
#define GPGME_KEYLIST_MODE_LOCAL 1
|
||||
|
@ -42,7 +42,7 @@ awk '
|
||||
/GPGME_STATUS_ENTER/ { okay=1 }
|
||||
!okay {next}
|
||||
/}/ { exit 0 }
|
||||
/GPGME_STATUS_[A-Za-z_]*/ { printf " { \"%s\", %s },\n", substr($1,14), $1 }
|
||||
/GPGME_STATUS_[A-Za-z_]*/ { sub (/,/, "", $1); printf " { \"%s\", %s },\n", substr($1,14), $1 }
|
||||
' | sort
|
||||
|
||||
cat <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user