X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb.h;h=7297a7664b39fe53ceccefb23c791951acfb586a;hb=c981a80699901eb3d513a4cc9355574a69016037;hp=a1078c76afd423963965613515c6a3aca3365386;hpb=a94e29c9a3763f96b1c773f0818b97e4fd0777b0;p=onak.git 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); /**