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
8 * $Id: cleankey.h,v 1.1 2004/05/31 14:16:49 noodles Exp $
11 #ifndef __CLEANKEY_H__
12 #define __CLEANKEY_H__
14 #include "keystructs.h"
17 * cleankeys - Apply all available cleaning options on a list of keys.
18 * @publickey: The list of keys to clean.
20 * Applies all the cleaning options we can (eg duplicate key ids) to a
21 * list of keys. Returns 0 if no changes were made, otherwise the number
24 int cleankeys(struct openpgp_publickey *keys);