/usr/include/mcabber/xmpp.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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | #ifndef __MCABBER_XMPP_H__
#define __MCABBER_XMPP_H__ 1
#include <loudmouth/loudmouth.h>
#include <mcabber/roster.h>
enum iqreq_type {
iqreq_none,
iqreq_version,
iqreq_time,
iqreq_last,
iqreq_vcard,
iqreq_ping
};
struct annotation {
time_t cdate;
time_t mdate;
gchar *jid;
gchar *text;
};
struct bookmark {
gchar *roomjid;
gchar *name;
gchar *nick;
gchar *passwd;
guint autojoin;
/* enum room_printstatus pstatus; */
/* enum room_autowhois awhois; */
/* enum room_flagjoins fjoins; */
/* const char *group; */
};
extern LmConnection* lconnection;
extern LmSSL* lssl;
int xmpp_connect(void);
void xmpp_disconnect(void);
gboolean xmpp_is_online(void);
void xmpp_room_join(const char *room, const char *nickname, const char *passwd);
int xmpp_room_setattrib(const char *roomid, const char *fjid,
const char *nick, struct role_affil ra,
const char *reason);
void xmpp_room_invite(const char *room, const char *fjid, const char *reason);
void xmpp_room_unlock(const char *room);
void xmpp_room_destroy(const char *room, const char *venue, const char *reason);
void xmpp_addbuddy(const char *bjid, const char *name, const char *group);
void xmpp_updatebuddy(const char *bjid, const char *name, const char *group);
void xmpp_delbuddy(const char *bjid);
void xmpp_send_msg(const char *fjid, const char *text, int type,
const char *subject, gboolean otrinject, gint *encrypted,
LmMessageSubType type_overwrite, gpointer *xep184);
void xmpp_send_s10n(const char *bjid, LmMessageSubType type);
enum imstatus xmpp_getstatus(void);
const char *xmpp_getstatusmsg(void);
void xmpp_setprevstatus(void);
void xmpp_setstatus(enum imstatus st, const char *recipient,
const char *msg, int do_not_sign);
void xmpp_send_chatstate(gpointer buddy, guint chatstate);
void xmpp_insert_entity_capabilities(LmMessageNode *x, enum imstatus status);
GSList *xmpp_get_all_storage_bookmarks(void);
GSList *xmpp_get_all_storage_rosternotes(void);
void xmpp_set_storage_bookmark(const char *roomid, const char *name,
const char *nick, const char *passwd,
int autojoin, enum room_printstatus pstatus,
enum room_autowhois awhois,
enum room_flagjoins fjoins, const char *group);
struct annotation *xmpp_get_storage_rosternotes(const char *barejid,
int silent);
void xmpp_set_storage_rosternotes(const char *barejid, const char *note);
guint xmpp_is_bookmarked(const char *bjid);
const char *xmpp_get_bookmark_nick(const char *bjid);
int xmpp_get_bookmark_autojoin(const char *bjid);
void xmpp_request(const char *fjid, enum iqreq_type reqtype);
void request_vcard(const char *bjid);
void xmpp_request_storage(const gchar *storage);
#endif /* __MCABBER_XMPP_H__ */
/* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2: For Vim users... */
|