diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-11-01 15:47:59 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-11-01 15:47:59 +0100 |
commit | cfb37a7edf8caafb0f07594b080837231ba9c575 (patch) | |
tree | d92e4c39377e735feec619205d1642730ac0ff62 /libsi/util.h | |
parent | 4f50c34824f0c717dd52e0ce32497b7f421c1c66 (diff) | |
download | vdr-cfb37a7edf8caafb0f07594b080837231ba9c575.tar.gz vdr-cfb37a7edf8caafb0f07594b080837231ba9c575.tar.bz2 |
Added support for "registration descriptor"
Diffstat (limited to 'libsi/util.h')
-rw-r--r-- | libsi/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libsi/util.h b/libsi/util.h index 48626723..e9134cd4 100644 --- a/libsi/util.h +++ b/libsi/util.h @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: util.h 2.1 2008/05/22 10:49:08 kls Exp $ + * $Id: util.h 2.2 2010/11/01 15:24:32 kls Exp $ * * ***************************************************************************/ @@ -19,6 +19,7 @@ #include <time.h> #define HILO(x) (x##_hi << 8 | x##_lo) +#define HILOHILO(x) (x##_hi_hi << 24 | x##_hi_lo << 16 | x##_lo_hi << 8 | x##_lo_lo) #define BCD_TIME_TO_SECONDS(x) ((3600 * ((10*((x##_h & 0xF0)>>4)) + (x##_h & 0xF))) + \ (60 * ((10*((x##_m & 0xF0)>>4)) + (x##_m & 0xF))) + \ ((10*((x##_s & 0xF0)>>4)) + (x##_s & 0xF))) |