/usr/include/mcabber/pgp.h is in mcabber 0.10.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #ifndef __MCABBER_PGP_H__
#define __MCABBER_PGP_H__ 1
#include <mcabber/config.h>
#ifdef HAVE_GPGME
#define GPGME_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_USER_1
#include <gpgme.h>
int gpg_init(const char *priv_key, const char *passphrase);
void gpg_terminate(void);
void gpg_set_passphrase(const char *passphrase);
void gpg_set_private_key(const char *priv_keyid);
char *gpg_verify(const char *gpg_data, const char *text,
gpgme_sigsum_t *sigsum);
char *gpg_sign(const char *gpg_data);
char *gpg_decrypt(const char *gpg_data);
char *gpg_encrypt(const char *gpg_data, const char *keyid);
int gpg_test_passphrase(void);
#endif /* HAVE_GPGME */
int gpg_enabled(void);
#endif /* __MCABBER_PGP_H__ */
/* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2: For Vim users... */
|