summaryrefslogtreecommitdiff
path: root/skype/skypeproxy/skypeproxy.h
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 18:46:23 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 18:46:23 +0000
commitb880db8491271b4bd4aa87c2dd79b5e3c3dde6cf (patch)
treeb4e7c071826a2c1cc45bd0b253a76764e5194c4e /skype/skypeproxy/skypeproxy.h
parent2f10a9e6cc4782d61f0f15bbff36209af922bd34 (diff)
added: ieview, imo2sproxy, skype
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@175 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'skype/skypeproxy/skypeproxy.h')
-rw-r--r--skype/skypeproxy/skypeproxy.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/skype/skypeproxy/skypeproxy.h b/skype/skypeproxy/skypeproxy.h
new file mode 100644
index 0000000..8ce1229
--- /dev/null
+++ b/skype/skypeproxy/skypeproxy.h
@@ -0,0 +1,36 @@
+/*** Skype API ***/
+//Messages
+#define SKYPECONTROLAPI_ATTACH_SUCCESS 0
+#define SKYPECONTROLAPI_ATTACH_PENDING_AUTHORIZATION 1
+#define SKYPECONTROLAPI_ATTACH_REFUSED 2
+#define SKYPECONTROLAPI_ATTACH_NOT_AVAILABLE 3
+#define SKYPECONTROLAPI_ATTACH_API_AVAILABLE 0x8001
+
+// Errors
+#define MISC_ERROR 1
+#define USER_NOT_FOUND 2
+#define USER_NOT_ONLINE 3
+#define USER_BLOCKED 4
+#define TYPE_UNSUPPORTED 5
+#define SENDER_NOT_FRIEND 6
+#define SENDER_NOT_AUTHORIZED 7
+
+
+/*** Debugging macros ***/
+#define OUTPUT(a) printf("* %s\n", a);
+#define LOG(a, b) printf("- %s: %s\n", a, b);
+#define LOGL(a, b) printf("- %s: %d\n", a, b);
+
+/*** Program settings ***/
+#define PING_INTERVAL 10000 // Ping every 10000 msec to see if Skype is still available
+#define USE_AUTHENTICATION 0x01 // Program supports authentication -> Comment to disable!
+
+/*** Commands ***/
+#define AUTHENTICATE 0x01
+#define CAPABILITIES 0x02
+
+/*** Sockets ***/
+#pragma comment(lib, "ws2_32")
+
+/*** Prototypes ***/
+void WatchDogTimer(char *); \ No newline at end of file