diff options
author | Pavel Roskin <plroskin@gmail.com> | 2017-03-12 09:35:00 -0700 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2017-03-14 00:21:48 -0700 |
commit | 6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch) | |
tree | 951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /xrdp/xrdp_cache.c | |
parent | 8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff) | |
download | xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip |
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'xrdp/xrdp_cache.c')
-rw-r--r-- | xrdp/xrdp_cache.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/xrdp/xrdp_cache.c b/xrdp/xrdp_cache.c index ba2226cd..35ed794b 100644 --- a/xrdp/xrdp_cache.c +++ b/xrdp/xrdp_cache.c @@ -39,7 +39,7 @@ while (0) /*****************************************************************************/ -static int APP_CC +static int xrdp_cache_reset_lru(struct xrdp_cache *self) { int index; @@ -73,7 +73,7 @@ xrdp_cache_reset_lru(struct xrdp_cache *self) } /*****************************************************************************/ -static int APP_CC +static int xrdp_cache_reset_crc(struct xrdp_cache *self) { int index; @@ -92,7 +92,7 @@ xrdp_cache_reset_crc(struct xrdp_cache *self) } /*****************************************************************************/ -struct xrdp_cache *APP_CC +struct xrdp_cache * xrdp_cache_create(struct xrdp_wm *owner, struct xrdp_session *session, struct xrdp_client_info *client_info) @@ -131,7 +131,7 @@ xrdp_cache_create(struct xrdp_wm *owner, } /*****************************************************************************/ -void APP_CC +void xrdp_cache_delete(struct xrdp_cache *self) { int i; @@ -181,7 +181,7 @@ xrdp_cache_delete(struct xrdp_cache *self) } /*****************************************************************************/ -int APP_CC +int xrdp_cache_reset(struct xrdp_cache *self, struct xrdp_client_info *client_info) { @@ -237,7 +237,7 @@ xrdp_cache_reset(struct xrdp_cache *self, (_b1->width == _b2->width) && (_b1->height == _b2->height)) /*****************************************************************************/ -static int APP_CC +static int xrdp_cache_update_lru(struct xrdp_cache *self, int cache_id, int lru_index) { int tail_index; @@ -308,7 +308,7 @@ xrdp_cache_update_lru(struct xrdp_cache *self, int cache_id, int lru_index) /*****************************************************************************/ /* returns cache id */ -int APP_CC +int xrdp_cache_add_bitmap(struct xrdp_cache *self, struct xrdp_bitmap *bitmap, int hints) { @@ -498,7 +498,7 @@ xrdp_cache_add_bitmap(struct xrdp_cache *self, struct xrdp_bitmap *bitmap, /*****************************************************************************/ /* not used */ /* not sure how to use a palette in rdp */ -int APP_CC +int xrdp_cache_add_palette(struct xrdp_cache *self, int *palette) { int i; @@ -554,7 +554,7 @@ xrdp_cache_add_palette(struct xrdp_cache *self, int *palette) } /*****************************************************************************/ -int APP_CC +int xrdp_cache_add_char(struct xrdp_cache *self, struct xrdp_font_char *font_item) { @@ -621,7 +621,7 @@ xrdp_cache_add_char(struct xrdp_cache *self, client if it finds it returns the index in the cache does not take ownership of pointer_item */ -int APP_CC +int xrdp_cache_add_pointer(struct xrdp_cache *self, struct xrdp_pointer_item *pointer_item) { @@ -689,7 +689,7 @@ xrdp_cache_add_pointer(struct xrdp_cache *self, /*****************************************************************************/ /* this does not take ownership of pointer_item, it makes a copy */ -int APP_CC +int xrdp_cache_add_pointer_static(struct xrdp_cache *self, struct xrdp_pointer_item *pointer_item, int index) @@ -721,7 +721,7 @@ xrdp_cache_add_pointer_static(struct xrdp_cache *self, /*****************************************************************************/ /* this does not take ownership of brush_item_data, it makes a copy */ -int APP_CC +int xrdp_cache_add_brush(struct xrdp_cache *self, char *brush_item_data) { @@ -772,7 +772,7 @@ xrdp_cache_add_brush(struct xrdp_cache *self, /*****************************************************************************/ /* returns error */ -int APP_CC +int xrdp_cache_add_os_bitmap(struct xrdp_cache *self, struct xrdp_bitmap *bitmap, int rdpindex) { @@ -790,7 +790,7 @@ xrdp_cache_add_os_bitmap(struct xrdp_cache *self, struct xrdp_bitmap *bitmap, /*****************************************************************************/ /* returns error */ -int APP_CC +int xrdp_cache_remove_os_bitmap(struct xrdp_cache *self, int rdpindex) { struct xrdp_os_bitmap_item *bi; @@ -819,7 +819,7 @@ xrdp_cache_remove_os_bitmap(struct xrdp_cache *self, int rdpindex) } /*****************************************************************************/ -struct xrdp_os_bitmap_item *APP_CC +struct xrdp_os_bitmap_item * xrdp_cache_get_os_bitmap(struct xrdp_cache *self, int rdpindex) { struct xrdp_os_bitmap_item *bi; |