summaryrefslogtreecommitdiff
path: root/mcast/dvbloop/.svn/text-base/dvblo_util.h.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'mcast/dvbloop/.svn/text-base/dvblo_util.h.svn-base')
-rw-r--r--mcast/dvbloop/.svn/text-base/dvblo_util.h.svn-base45
1 files changed, 0 insertions, 45 deletions
diff --git a/mcast/dvbloop/.svn/text-base/dvblo_util.h.svn-base b/mcast/dvbloop/.svn/text-base/dvblo_util.h.svn-base
deleted file mode 100644
index e86bfa6..0000000
--- a/mcast/dvbloop/.svn/text-base/dvblo_util.h.svn-base
+++ /dev/null
@@ -1,45 +0,0 @@
-/* dvbloop - A DVB Loopback Device
- * Copyright (C) 2006 Christian Praehauser, Deti Fliegl
- -----------------------------------------
- * File: dvblo_char.h
- * Desc: Char device support for dvblo
- * Date: October 2006
- * Author: Christian Praehauser <cpreahaus@cosy.sbg.ac.at>, Deti Fliegl <deti@fliegl.de>
- *
- * This file is released under the GPLv2.
- */
-
-#ifndef _DVBLO_UTIL_H_
-#define _DVBLO_UTIL_H_
-
-#include <linux/types.h>
-int dvblo_parse_mac (const char *macstr, u8 * mac_out);
-
-#if 0
-/**
- * Ring buffer implementation
- * @todo maybe use kfifo which is provided by Linux kernels >= 2.6.10
- */
-struct dvblo_ringbuf
-{
- u8 *buf;
- size_t size;
- unsigned int wr;
- unsigned int rd;
-};
-typedef struct dvblo_ringbuf dvblo_ringbuf_t;
-static inline int dvblo_rb_alloc (size_t size, dvblo_ringbuf_t * rb_out)
-{
- rb_out->buf = kmalloc (size, GFP_KERNEL);
- if (rb_out->buf == NULL)
- return -ENOMEM;
-
- else {
- rb_out->size = size;
- rb_out->in = rb_out->out = 0;
- }
- return 0;
-}
-static inline ssize_t dvblo_rb_write (dvblo_ringbuf_t * rb_out,
-#endif /* */
-#endif /* _DVBLO_UTIL_H_ */