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-05 12:02:19 +01:00
2016-12-15 14:50:10 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-02 12:53:58 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-29 14:56:00 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-29 16:48:35 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-12-23 20:06:49 +01:00
2016-12-20 10:22:05 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2016-11-05 12:02:19 +01:00
2016-11-15 16:24:09 +01:00
2017-01-02 18:23:34 +01:00
2015-02-04 09:15:34 +01:00
2016-12-19 09:41:15 +01:00
2016-11-15 16:29:08 +01:00
2015-02-04 09:15:34 +01:00
2017-01-02 13:29:18 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-29 16:54:36 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2017-01-02 18:23:34 +01:00
2016-11-21 22:47:30 +01:00
2016-11-21 22:47:30 +01:00
2017-01-02 18:23:34 +01:00
2016-12-13 17:30:55 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2016-11-16 17:43:59 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2016-12-12 10:50:42 +01:00
2017-01-02 18:23:34 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-15 17:50:03 +01:00
2016-11-05 12:02:19 +01:00
2000-07-31 08:04:16 +00:00
2016-12-19 09:41:15 +01:00
2016-01-22 10:54:10 +01:00
2017-01-02 18:23:34 +01:00
2016-12-12 10:13:06 +01:00
2016-12-08 19:02:56 +01:00
2016-11-23 12:29:22 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-29 16:54:36 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2000-07-31 08:04:16 +00:00
2016-12-15 13:01:03 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-12-09 13:13:45 +01:00
2016-11-05 12:02:19 +01:00
2016-09-07 08:55:17 +02:00
2016-09-07 08:55:17 +02:00
2016-11-05 12:02:19 +01:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-03-08 14:08:49 +01:00
2017-01-02 13:29:18 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-23 12:29:22 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 18:23:34 +01:00
2016-12-06 12:16:56 +01:00
2017-01-02 18:23:34 +01:00
2017-01-02 18:23:34 +01:00
2016-11-23 12:29:22 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00