diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 18:46:23 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 18:46:23 +0000 |
commit | b880db8491271b4bd4aa87c2dd79b5e3c3dde6cf (patch) | |
tree | b4e7c071826a2c1cc45bd0b253a76764e5194c4e /imo2sproxy/src/common/fifo.h | |
parent | 2f10a9e6cc4782d61f0f15bbff36209af922bd34 (diff) |
added: ieview, imo2sproxy, skype
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@175 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'imo2sproxy/src/common/fifo.h')
-rw-r--r-- | imo2sproxy/src/common/fifo.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/imo2sproxy/src/common/fifo.h b/imo2sproxy/src/common/fifo.h new file mode 100644 index 0000000..0ab9f4f --- /dev/null +++ b/imo2sproxy/src/common/fifo.h @@ -0,0 +1,26 @@ +#ifndef __FIFO_H__
+#define __FIFO_H__
+
+struct _tagFIFO;
+typedef struct _tagFIFO TYP_FIFO;
+
+#ifndef BOOL
+#define BOOL int
+#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+
+TYP_FIFO *Fifo_Init(unsigned int uiCapacity);
+void Fifo_Exit(TYP_FIFO *pstHandle);
+char *Fifo_AllocBuffer(TYP_FIFO *pstHandle, unsigned int uiPCount);
+BOOL Fifo_Add(TYP_FIFO *pstHandle, char *acPBytes, unsigned int uiPCount);
+BOOL Fifo_AddString(TYP_FIFO *pstHandle, char *pszString);
+char *Fifo_Get (TYP_FIFO *pstHandle, unsigned int *uiPCount);
+unsigned int Fifo_Count (TYP_FIFO *pstHandle);
+void Fifo_Reset (TYP_FIFO *hFifo);
+
+#endif
|