1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-05 12:31:50 +01:00
Justus Winter a1a64820c3 g10: Use bitfield for flags of user ids.
* g10/packet.h (is_{primary,revoked,expired}): Move to the flags
bitfield.
* g10/call-dirmngr.c: Update all uses using the following semantic
patch.
* g10/export.c: Likewise.
* g10/getkey.c: Likewise.
* g10/import.c: Likewise.
* g10/kbnode.c: Likewise.
* g10/keyedit.c: Likewise.
* g10/keylist.c: Likewise.
* g10/keyserver.c: Likewise.
* g10/mainproc.c: Likewise.
* g10/pkclist.c: Likewise.
* g10/pubkey-enc.c: Likewise.
* g10/tofu.c: Likewise.
* g10/trust.c: Likewise.
* g10/trustdb.c: Likewise.
--

I used Coccinelle and the following semantic patch to update the code:

    @@
    expression E;
    @@
    -E->is_expired
    +E->flags.expired

    @@
    expression E;
    @@
    -E->is_primary
    +E->flags.primary

    @@
    expression E;
    @@
    -E->is_revoked
    +E->flags.revoked

Signed-off-by: Justus Winter <justus@g10code.com>
2017-01-02 18:23:34 +01:00
..
2016-11-29 14:56:00 +01:00
2016-11-29 14:56:00 +01:00
2016-11-29 16:48:35 +01:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2016-12-13 17:30:55 +01:00
2016-11-15 17:50:03 +01:00
2016-01-22 10:54:10 +01:00
2016-12-08 19:02:56 +01:00
2016-12-09 13:13:45 +01:00
2016-03-08 14:08:49 +01:00
2016-12-06 12:16:56 +01:00