~ubuntu-branches/ubuntu/raring/freerdp/raring-proposed

« back to all changes in this revision

Viewing changes to libfreerdp/pstcache.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Jeremy Bicha, Jean-Louis Dupond, Martin Pitt
  • Date: 2012-01-31 10:02:14 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120131100214-jaok3uwvni7sqxth
Tags: 1.0.0-0git1
Upload current Debian packaging git to get this rolling for precise.

[ Jeremy Bicha ]
* New upstream release. Closes: #647498.
* Updated symbols and bumped soname
* debian/control:
  - Added new build dependencies
  - Bump Standards-Version to 3.9.2
* debian/source/format: Set to 3.0 (quilt)
* debian/rules: Turn on strict symbols checking
* debian/watch: Watch github

[ Jean-Louis Dupond ]
* debian/control: Updated homepage
* debian/copyright: Reflect upstream switch to the Apache license

[ Martin Pitt ]
* debian/libfreerdp0.symbols: Fix version number, should
  be 1.0~beta5, not 1.0-beta5.
* debian/control: Add libavcodec-dev build dependency, upstream build system
  checks for that. Thanks Jean-Louis Dupond!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- c-basic-offset: 8 -*-
2
 
   freerdp: A Remote Desktop Protocol client.
3
 
   Persistent Bitmap Cache routines
4
 
   Copyright (C) Jay Sorg 2009
5
 
 
6
 
   This program is free software; you can redistribute it and/or modify
7
 
   it under the terms of the GNU General Public License as published by
8
 
   the Free Software Foundation; either version 2 of the License, or
9
 
   (at your option) any later version.
10
 
 
11
 
   This program is distributed in the hope that it will be useful,
12
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
   GNU General Public License for more details.
15
 
 
16
 
   You should have received a copy of the GNU General Public License
17
 
   along with this program; if not, write to the Free Software
18
 
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
 
*/
20
 
 
21
 
#ifndef __PSTCACHE_H
22
 
#define __PSTCACHE_H
23
 
 
24
 
struct rdp_pcache
25
 
{
26
 
        struct rdp_rdp * rdp;
27
 
        int pstcache_Bpp;
28
 
        int pstcache_fd[8];
29
 
        RD_BOOL pstcache_enumerated;
30
 
        uint8 zero_key[8];
31
 
};
32
 
typedef struct rdp_pcache rdpPcache;
33
 
 
34
 
void
35
 
pstcache_touch_bitmap(rdpPcache * pcache, uint8 cache_id, uint16 cache_idx, uint32 stamp);
36
 
RD_BOOL
37
 
pstcache_load_bitmap(rdpPcache * pcache, uint8 cache_id, uint16 cache_idx);
38
 
RD_BOOL
39
 
pstcache_save_bitmap(rdpPcache * pcache, uint8 cache_id, uint16 cache_idx, uint8 * key,
40
 
                     uint8 width, uint8 height, uint16 length, uint8 * data);
41
 
int
42
 
pstcache_enumerate(rdpPcache * pcache, uint8 id, HASH_KEY * keylist);
43
 
RD_BOOL
44
 
pstcache_init(rdpPcache * pcache, uint8 cache_id);
45
 
rdpPcache *
46
 
pcache_new(struct rdp_rdp * rdp);
47
 
void
48
 
pcache_free(rdpPcache * pcache);
49
 
 
50
 
#endif