eitcache.cpp File Reference

Go to the source code of this file.

Functions

static uint64_t construct_sig (uint tableid, uint version, uint endtime, bool modified)
static uint extract_table_id (uint64_t sig)
static uint extract_version (uint64_t sig)
static uint extract_endtime (uint64_t sig)
static bool modified (uint64_t sig)
static void replace_in_db (int chanid, uint eventid, uint64_t sig)
static void delete_in_db (uint endtime)
static bool lock_channel (int chanid, uint lastPruneTime)
static void unlock_channel (int chanid, uint updated)

Function Documentation

static uint64_t construct_sig ( uint  tableid,
uint  version,
uint  endtime,
bool  modified 
) [inline, static]

Definition at line 59 of file eitcache.cpp.

Referenced by EITCache::IsNewEIT(), and EITCache::LoadChannel().

static uint extract_table_id ( uint64_t  sig  )  [inline, static]

Definition at line 66 of file eitcache.cpp.

Referenced by EITCache::IsNewEIT(), and replace_in_db().

static uint extract_version ( uint64_t  sig  )  [inline, static]

Definition at line 71 of file eitcache.cpp.

Referenced by EITCache::IsNewEIT(), and replace_in_db().

static uint extract_endtime ( uint64_t  sig  )  [inline, static]

Definition at line 76 of file eitcache.cpp.

Referenced by replace_in_db(), and EITCache::WriteChannelToDB().

static bool modified ( uint64_t  sig  )  [inline, static]

Definition at line 81 of file eitcache.cpp.

Referenced by KeyBindings::CommitChanges(), and EITCache::WriteChannelToDB().

static void replace_in_db ( int  chanid,
uint  eventid,
uint64_t  sig 
) [static]

Definition at line 86 of file eitcache.cpp.

Referenced by EITCache::WriteChannelToDB().

static void delete_in_db ( uint  endtime  )  [static]

Definition at line 109 of file eitcache.cpp.

Referenced by EITCache::PruneOldEntries().

static bool lock_channel ( int  chanid,
uint  lastPruneTime 
) [static]

Definition at line 131 of file eitcache.cpp.

Referenced by EITCache::LoadChannel().

static void unlock_channel ( int  chanid,
uint  updated 
) [static]

Definition at line 185 of file eitcache.cpp.

Referenced by EITCache::WriteChannelToDB().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:47 2012 for MythTV by  doxygen 1.6.3