/usr/include/mcabber/otr.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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #ifndef __MCABBER_OTR_H__
#define __MCABBER_OTR_H__ 1
#include <mcabber/config.h>
#ifdef HAVE_LIBOTR
#ifndef HAVE_LIBOTR3
# include <libotr/instag.h>
#endif
#include <libotr/proto.h>
#include <libotr/message.h>
#include <libotr/privkey.h>
enum otr_policy {
plain,
opportunistic,
manual,
always
};
void otr_init(const char *jid);
void otr_terminate(void);
void otr_establish (const char * buddy);
void otr_disconnect (const char * buddy);
void otr_fingerprint(const char * buddy, const char * trust);
void otr_print_info (const char * buddy);
void otr_smp_query (const char * buddy, const char * secret);
void otr_smp_respond(const char * buddy, const char * secret);
void otr_smp_abort (const char * buddy);
void otr_key (void);
int otr_receive (char **otr_data, const char * buddy, int * free_msg);
int otr_send (char **msg, const char *buddy);
#endif /* HAVE_LIBOTR */
int otr_enabled (void);
#endif /* __MCABBER_OTR_H__ */
/* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2: For Vim users... */
|