]> the.earth.li Git - onak.git/blob - sendsync.h
Fix compilation with later versions of Nettle
[onak.git] / sendsync.h
1 /*
2  * sendsync.c - Routines to send a key sync mail.
3  *
4  * Copyright 1999, 2002, 2005, 2011 Jonathan McDowell <noodles@earth.li>
5  *
6  * This program is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the Free
8  * Software Foundation; version 2 of the License.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along with
16  * this program.  If not, see <https://www.gnu.org/licenses/>.
17  */
18
19 #ifndef __SENDSYNC_H_
20 #define __SENDSYNC_H_
21
22 #include "keystructs.h"
23
24 /**
25  *      sendkeysync - Send a key sync mail to our peers.
26  *      keys: The list of keys to send.
27  *
28  *      Takes a list of keys and sends out a keysync mail to all our peers.
29  */
30 int sendkeysync(struct openpgp_publickey *keys);
31
32 #endif /* __SENDSYNC_H */