Initial integration with libdeltachat
This implements configuration, connection, sending and receiving IMs in the simplest possible way. Lots and lots of cases are not handled.
This commit is contained in:
@@ -4,13 +4,21 @@
|
||||
#include <glib.h>
|
||||
|
||||
struct _PurpleConnection;
|
||||
struct _mrmailbox;
|
||||
|
||||
typedef struct _DeltaConnectionData {
|
||||
struct _PurpleConnection *pc;
|
||||
struct _mrmailbox *mailbox;
|
||||
} DeltaConnectionData;
|
||||
|
||||
#define MAX_DELTA_CONFIGURE 901
|
||||
|
||||
void delta_connection_new(struct _PurpleConnection *pc);
|
||||
void delta_connection_free(struct _PurpleConnection *pc);
|
||||
|
||||
void delta_connection_start_login(PurpleConnection *pc);
|
||||
|
||||
int delta_send_im(PurpleConnection *pc, const char *who, const char *message, PurpleMessageFlags flags);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user