Files
purple-plugin-delta/delta-connection.h

26 lines
596 B
C
Raw Normal View History

2018-05-02 01:31:18 +01:00
#ifndef DELTA_CONNECTION_H
#define DELTA_CONNECTION_H
#include <glib.h>
#include <deltachat/deltachat.h>
2018-05-02 01:31:18 +01:00
struct _PurpleConnection;
//struct _dc_context_t;
2018-05-02 01:31:18 +01:00
typedef struct _DeltaConnectionData {
struct _PurpleConnection *pc;
dc_context_t *mailbox;
2018-05-02 01:31:18 +01:00
} DeltaConnectionData;
#define MAX_DELTA_CONFIGURE 901
2018-05-02 01:31:18 +01:00
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);
2018-05-02 01:31:18 +01:00
#endif