FreeRDP
persistent.c File Reference
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <freerdp/freerdp.h>
#include <freerdp/constants.h>
#include <freerdp/log.h>
#include <freerdp/cache/persistent.h>

Macros

#define TAG   FREERDP_TAG("cache.persistent")
 

Functions

int persistent_cache_get_version (rdpPersistentCache *persistent)
 
int persistent_cache_get_count (rdpPersistentCache *persistent)
 
static int persistent_cache_read_entry_v2 (rdpPersistentCache *persistent, PERSISTENT_CACHE_ENTRY *entry)
 
static int persistent_cache_write_entry_v2 (rdpPersistentCache *persistent, const PERSISTENT_CACHE_ENTRY *entry)
 
static int persistent_cache_read_v2 (rdpPersistentCache *persistent)
 
static int persistent_cache_read_entry_v3 (rdpPersistentCache *persistent, PERSISTENT_CACHE_ENTRY *entry)
 
static int persistent_cache_write_entry_v3 (rdpPersistentCache *persistent, const PERSISTENT_CACHE_ENTRY *entry)
 
static int persistent_cache_read_v3 (rdpPersistentCache *persistent)
 
int persistent_cache_read_entry (rdpPersistentCache *persistent, PERSISTENT_CACHE_ENTRY *entry)
 
int persistent_cache_write_entry (rdpPersistentCache *persistent, const PERSISTENT_CACHE_ENTRY *entry)
 
static int persistent_cache_open_read (rdpPersistentCache *persistent)
 
static int persistent_cache_open_write (rdpPersistentCache *persistent)
 
int persistent_cache_open (rdpPersistentCache *persistent, const char *filename, BOOL write, UINT32 version)
 
int persistent_cache_close (rdpPersistentCache *persistent)
 
rdpPersistentCache * persistent_cache_new (void)
 
void persistent_cache_free (rdpPersistentCache *persistent)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("cache.persistent")

FreeRDP: A Remote Desktop Protocol Implementation Persistent Bitmap Cache

Copyright 2016 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ persistent_cache_close()

int persistent_cache_close ( rdpPersistentCache *  persistent)
Here is the caller graph for this function:

◆ persistent_cache_free()

void persistent_cache_free ( rdpPersistentCache *  persistent)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ persistent_cache_get_count()

int persistent_cache_get_count ( rdpPersistentCache *  persistent)
Here is the caller graph for this function:

◆ persistent_cache_get_version()

int persistent_cache_get_version ( rdpPersistentCache *  persistent)
Here is the caller graph for this function:

◆ persistent_cache_new()

rdpPersistentCache* persistent_cache_new ( void  )
Here is the caller graph for this function:

◆ persistent_cache_open()

int persistent_cache_open ( rdpPersistentCache *  persistent,
const char *  filename,
BOOL  write,
UINT32  version 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ persistent_cache_open_read()

static int persistent_cache_open_read ( rdpPersistentCache *  persistent)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ persistent_cache_open_write()

static int persistent_cache_open_write ( rdpPersistentCache *  persistent)
static
Here is the caller graph for this function:

◆ persistent_cache_read_entry()

int persistent_cache_read_entry ( rdpPersistentCache *  persistent,
PERSISTENT_CACHE_ENTRY *  entry 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ persistent_cache_read_entry_v2()

static int persistent_cache_read_entry_v2 ( rdpPersistentCache *  persistent,
PERSISTENT_CACHE_ENTRY *  entry 
)
static
Here is the caller graph for this function:

◆ persistent_cache_read_entry_v3()

static int persistent_cache_read_entry_v3 ( rdpPersistentCache *  persistent,
PERSISTENT_CACHE_ENTRY *  entry 
)
static
Here is the caller graph for this function:

◆ persistent_cache_read_v2()

static int persistent_cache_read_v2 ( rdpPersistentCache *  persistent)
static
Here is the caller graph for this function:

◆ persistent_cache_read_v3()

static int persistent_cache_read_v3 ( rdpPersistentCache *  persistent)
static
Here is the caller graph for this function:

◆ persistent_cache_write_entry()

int persistent_cache_write_entry ( rdpPersistentCache *  persistent,
const PERSISTENT_CACHE_ENTRY *  entry 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ persistent_cache_write_entry_v2()

static int persistent_cache_write_entry_v2 ( rdpPersistentCache *  persistent,
const PERSISTENT_CACHE_ENTRY *  entry 
)
static
Here is the caller graph for this function:

◆ persistent_cache_write_entry_v3()

static int persistent_cache_write_entry_v3 ( rdpPersistentCache *  persistent,
const PERSISTENT_CACHE_ENTRY *  entry 
)
static
Here is the caller graph for this function: