Add help text for keyd
[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
9 #ifndef __CLEANKEY_H__
10 #define __CLEANKEY_H__
11
12 #include "keystructs.h"
13
14 /**
15  *      cleankeys - Apply all available cleaning options on a list of keys.
16  *      @publickey: The list of keys to clean.
17  *
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
20  *      of keys cleaned.
21  */
22 int cleankeys(struct openpgp_publickey *keys);
23
24 #endif