summaryrefslogtreecommitdiff
path: root/plugins/IMO2sProxy/src/imo2skype/imo2sproxy.h
blob: dbdbbf1cf7272f40242fa563aa410d25b062cbc5 (plain)
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
#include <stdio.h>
#include "imo2skypeapi.h"
#ifndef WIN32
#define __cdecl
#endif

typedef struct
{
	int bVerbose;
	FILE *fpLog;
	int iFlags;
	int (__cdecl *logerror)( FILE *stream, const char *format, ...);
// FIXME: user+pass from cmdline, until there is a possibility for 
// a client to authenticate
	char *pszUser;
	char *pszPass;
} IMO2SPROXY_CFG;

typedef struct tag_imo2sproxy IMO2SPROXY;

struct tag_imo2sproxy
{
	int  (*Open)(IMO2SPROXY*);
	void (*Loop)(IMO2SPROXY*);
	void (*Exit)(IMO2SPROXY*);
};

void Imo2sproxy_Defaults (IMO2SPROXY_CFG *pCfg);