X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=keydb.h;h=7297a7664b39fe53ceccefb23c791951acfb586a;hp=a1078c76afd423963965613515c6a3aca3365386;hb=9ce8c6ced68d45b462abb4c6531b6476f4d1e681;hpb=3886942162fd8193d8a804a685a3f96a65b9712c diff --git a/keydb.h b/keydb.h index a1078c7..7297a76 100644 --- a/keydb.h +++ b/keydb.h @@ -141,6 +141,7 @@ struct onak_dbctx { * @brief Takes a list of public keys and updates them in the DB. * @param keys The keys to update in the DB. * @param blacklist A keyarray of fingerprints that shouldn't be added. + * @updateonly: Only update existing keys, don't add new ones. * @param sendsync If we should send a keysync mail. * * Takes a list of keys and adds them to the database, merging them with @@ -155,6 +156,7 @@ struct onak_dbctx { int (*update_keys)(struct onak_dbctx *, struct openpgp_publickey **keys, struct keyarray *blacklist, + bool updateonly, bool sendsync); /**