2 * cleankey.h - Routines to look for common key problems and clean them up.
4 * Jonathan McDowell <noodles@earth.li>
6 * Copyright 2004 Project Purple
10 #define __CLEANKEY_H__
12 #include "keystructs.h"
15 * cleankeys - Apply all available cleaning options on a list of keys.
16 * @publickey: The list of keys to clean.
18 * Applies all the cleaning options we can (eg duplicate key ids) to a
19 * list of keys. Returns 0 if no changes were made, otherwise the number
22 int cleankeys(struct openpgp_publickey *keys);