cscvs to tla changeset 138
[onak.git] / cleankey.h
1 /*
2  * cleankey.h - Routines to look for common key problems and clean them up.
3  *
4  * Jonathan McDowell <noodles@earth.li>
5  *
6  * Copyright 2004 Project Purple
7  *
8  * $Id: cleankey.h,v 1.1 2004/05/31 14:16:49 noodles Exp $
9  */
10
11 #ifndef __CLEANKEY_H__
12 #define __CLEANKEY_H__
13
14 #include "keystructs.h"
15
16 /**
17  *      cleankeys - Apply all available cleaning options on a list of keys.
18  *      @publickey: The list of keys to clean.
19  *
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
22  *      of keys cleaned.
23  */
24 int cleankeys(struct openpgp_publickey *keys);
25
26 #endif