FFmpegfs Fuse Multi Media Filesystem 2.16
Classes | Macros | Typedefs | Enumerations
cache.h File Reference

Data cache management. More...

#include "buffer.h"
#include <map>
#include <memory>
Include dependency graph for cache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CACHE_INFO
 Cache information block. More...
 
class  Cache
 The Cache class. More...
 
struct  Cache::TABLE_DEF
 Definition of sql table. More...
 
struct  Cache::TABLE_COLUMNS
 Column definition of sql table. More...
 
class  Cache::sqlite_t
 The sqlite_t class Wrapper for sqlite3 struct to make use of std::shared_ptr. More...
 

Macros

#define DB_BASE_VERSION_MAJOR   1
 The oldest database version major (Release < 1.95) More...
 
#define DB_BASE_VERSION_MINOR   0
 The oldest database version minor (Release < 1.95) More...
 
#define DB_VERSION_MAJOR   1
 Current database version major. More...
 
#define DB_VERSION_MINOR   97
 Current database version minor. More...
 
#define DB_MIN_VERSION_MAJOR   1
 Required database version major (required 1.95) More...
 
#define DB_MIN_VERSION_MINOR   97
 Required database version minor (required 1.95) More...
 

Typedefs

typedef struct sqlite3 sqlite3
 Forward declaration of sqlite3 handle. More...
 
typedef struct sqlite3_stmt sqlite3_stmt
 Forward declaration of sqlite3 statement handle. More...
 
typedef RESULTCODE const * LPCRESULTCODE
 Pointer version of RESULTCODE. More...
 
typedef RESULTCODELPRESULTCODE
 Pointer to const version of RESULTCODE. More...
 
typedef struct CACHE_INFO CACHE_INFO
 Cache information block.
 
typedef CACHE_INFO const * LPCCACHE_INFO
 Pointer version of CACHE_INFO. More...
 
typedef CACHE_INFOLPCACHE_INFO
 Pointer to const version of CACHE_INFO. More...
 

Enumerations

enum class  RESULTCODE { NONE , FINISHED_INCOMPLETE , FINISHED_SUCCESS , FINISHED_ERROR }
 RESULTCODE of transcoding operation. More...
 

Detailed Description

Data cache management.

Author
Norbert Schlia (nschl.nosp@m.ia@o.nosp@m.blivi.nosp@m.on-s.nosp@m.oftwa.nosp@m.re.d.nosp@m.e)

Definition in file cache.h.

Macro Definition Documentation

◆ DB_BASE_VERSION_MAJOR

#define DB_BASE_VERSION_MAJOR   1

The oldest database version major (Release < 1.95)

Definition at line 42 of file cache.h.

◆ DB_BASE_VERSION_MINOR

#define DB_BASE_VERSION_MINOR   0

The oldest database version minor (Release < 1.95)

Definition at line 43 of file cache.h.

◆ DB_MIN_VERSION_MAJOR

#define DB_MIN_VERSION_MAJOR   1

Required database version major (required 1.95)

Definition at line 48 of file cache.h.

◆ DB_MIN_VERSION_MINOR

#define DB_MIN_VERSION_MINOR   97

Required database version minor (required 1.95)

Definition at line 49 of file cache.h.

◆ DB_VERSION_MAJOR

#define DB_VERSION_MAJOR   1

Current database version major.

Definition at line 45 of file cache.h.

◆ DB_VERSION_MINOR

#define DB_VERSION_MINOR   97

Current database version minor.

Definition at line 46 of file cache.h.

Typedef Documentation

◆ LPCACHE_INFO

Pointer to const version of CACHE_INFO.

Definition at line 97 of file cache.h.

◆ LPCCACHE_INFO

typedef CACHE_INFO const* LPCCACHE_INFO

Pointer version of CACHE_INFO.

Definition at line 96 of file cache.h.

◆ LPCRESULTCODE

typedef RESULTCODE const* LPCRESULTCODE

Pointer version of RESULTCODE.

Definition at line 64 of file cache.h.

◆ LPRESULTCODE

Pointer to const version of RESULTCODE.

Definition at line 65 of file cache.h.

◆ sqlite3

typedef struct sqlite3 sqlite3

Forward declaration of sqlite3 handle.

Definition at line 51 of file cache.h.

◆ sqlite3_stmt

typedef struct sqlite3_stmt sqlite3_stmt

Forward declaration of sqlite3 statement handle.

Definition at line 52 of file cache.h.

Enumeration Type Documentation

◆ RESULTCODE

enum class RESULTCODE
strong

RESULTCODE of transcoding operation.

Enumerator
NONE 

No result code available.

FINISHED_INCOMPLETE 

Transcode finished, but incomplete.

FINISHED_SUCCESS 

Transcode finished successfully.

FINISHED_ERROR 

Transcode finished with error.

Definition at line 57 of file cache.h.