diff options
author | Lars Heer <l.heer@gmx.de> | 2013-09-18 05:59:02 +0200 |
---|---|---|
committer | Lars Heer <l.heer@gmx.de> | 2013-09-18 05:59:02 +0200 |
commit | 4d09442efcd8c158999685831720919a705f3d98 (patch) | |
tree | 5a164f4441f56ab0df1d0ad24a97701e3b29dd3d /mcast/dvbloop/.svn/text-base/dvblo_util.h.svn-base | |
parent | 079f1dc39df7faabf0d1a846b4df0525b9491a87 (diff) | |
download | vdr-plugin-mcli-4d09442efcd8c158999685831720919a705f3d98.tar.gz vdr-plugin-mcli-4d09442efcd8c158999685831720919a705f3d98.tar.bz2 |
removed obsolete .svn directories
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-base | 45 |
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_ */ |