summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/IMO2sProxy/src/imo2skype/imo2skypeapi.h
blob: fa68dd389968e736eb25d3d158e71f875bb21a1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
typedef void(*IMO2SCB)(char *pszMsg, void *pUser);
struct _tagIMOSAPI;
typedef struct _tagIMOSAPI IMOSAPI;

#define IMO2S_FLAG_CURRTIMESTAMP	1	// Use current timestamp on MSG receive
#define IMO2S_FLAG_ALLOWINTERACT	2	// Allow GUI interaction (CALL)

IMOSAPI *Imo2S_Init(IMO2SCB Callback, void *pUser, int iFlags);
void Imo2S_Exit (IMOSAPI *pInst);
void Imo2S_SetLog (IMOSAPI *pInst, FILE *fpLog);
int Imo2S_Login (IMOSAPI *pInst, char *pszUser, char *pszPass, char **ppszError);
void Imo2S_Logout(IMOSAPI *pInst);
int Imo2S_Send (IMOSAPI *pInst, char *pszMsg);