summaryrefslogtreecommitdiffstats
path: root/g10/keyserver-internal.h
blob: 314d7898e7a75f4cec018847fa0c20932f9a7219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Keyserver internals */

#ifndef _KEYSERVER_INTERNAL_H_
#define _KEYSERVER_INTERNAL_H_

#include <time.h>
#include "keyserver.h"
#include "../common/iobuf.h"
#include "types.h"

void parse_keyserver_options(char *options);
int parse_keyserver_uri(char *uri,
			const char *configname,unsigned int configlineno);
int keyserver_export(STRLIST users);
int keyserver_import(STRLIST users);
int keyserver_import_fprint(const byte *fprint,size_t fprint_len);
int keyserver_import_keyid(u32 *keyid);
int keyserver_refresh(STRLIST users);
int keyserver_search(STRLIST tokens);

#endif /* !_KEYSERVER_INTERNAL_H_ */