summaryrefslogtreecommitdiffstats
path: root/src/squeue/squeue.vapi
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-11-25 20:58:28 +0100
committerPali Rohár <pali.rohar@gmail.com>2012-11-25 20:58:28 +0100
commit355fe9dc62034384c42b1f4d207fb68b3b395b96 (patch)
treefdf427ac9ededdd1cc071610b7c5dfab163d403a /src/squeue/squeue.vapi
parent857123e9e4de410955a90c1096dcdd1d3f41e30e (diff)
download0xFFFF-355fe9dc62034384c42b1f4d207fb68b3b395b96.tar.bz2
Remove old queue mode from tree
Diffstat (limited to 'src/squeue/squeue.vapi')
-rw-r--r--src/squeue/squeue.vapi45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/squeue/squeue.vapi b/src/squeue/squeue.vapi
deleted file mode 100644
index 09b10e5..0000000
--- a/src/squeue/squeue.vapi
+++ /dev/null
@@ -1,45 +0,0 @@
-using GLib;
-
-[CCode (lower_case_cprefix = "squeue_", cheader_filename = "squeue.h")]
-namespace SQueues {
- [CCode (cname = "struct squeue_t", free_function = "squeue_free")]
- public struct SQueue {
- int shmid;
- int mode;
- char *pool;
- /* pointers */
- int head_idx;
- int queue_idx;
- /* counters */
- int locks;
- int lost;
- int oops;
- int pops;
- [CCode (cname = "squeue_open")]
- public static SQueue* open(string file, int mode);
- [CCode (cname = "squeue_push")]
- public int push(string msg, int l);
- [CCode (cname = "squeue_push2")]
- public int push2(string cmd, string msg, int l);
- [CCode (cname = "squeue_get")]
- public unowned string get(int l);
- [CCode (cname = "squeue_pop")]
- public int pop();
- [CCode (cname = "squeue_stats")]
- public int stats();
- [CCode (cname = "squeue_close")]
- public int close();
- [CCode (cname = "squeue_free")]
- public int free();
- [CCode (cname = "squeue_release")]
- public static int release(string file);
-
- }
-
- [CCode (cprefix = "Q_", cheader_fileneme = "squeue.h")]
- public enum SQueueMode {
- OPEN = 0,
- CREAT = 1,
- WAIT = 2
- }
-}