File: cleankey.h

package info (click to toggle)
onak 0.3.8-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,096 kB
  • ctags: 617
  • sloc: ansic: 8,720; perl: 276; makefile: 131; sh: 36; sql: 21
file content (24 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * cleankey.h - Routines to look for common key problems and clean them up.
 *
 * Jonathan McDowell <noodles@earth.li>
 *
 * Copyright 2004 Project Purple
 */

#ifndef __CLEANKEY_H__
#define __CLEANKEY_H__

#include "keystructs.h"

/**
 *	cleankeys - Apply all available cleaning options on a list of keys.
 *	@publickey: The list of keys to clean.
 *
 *	Applies all the cleaning options we can (eg duplicate key ids) to a
 *	list of keys. Returns 0 if no changes were made, otherwise the number
 *	of keys cleaned.
 */
int cleankeys(struct openpgp_publickey *keys);

#endif