Blame libfreerdp/core/update.h

Packit Service fa4841
/**
Packit Service fa4841
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit Service fa4841
 * Update Data PDUs
Packit Service fa4841
 *
Packit Service fa4841
 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
Packit Service fa4841
 *
Packit Service fa4841
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit Service fa4841
 * you may not use this file except in compliance with the License.
Packit Service fa4841
 * You may obtain a copy of the License at
Packit Service fa4841
 *
Packit Service fa4841
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit Service fa4841
 *
Packit Service fa4841
 * Unless required by applicable law or agreed to in writing, software
Packit Service fa4841
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit Service fa4841
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit Service fa4841
 * See the License for the specific language governing permissions and
Packit Service fa4841
 * limitations under the License.
Packit Service fa4841
 */
Packit Service fa4841
Packit Service fa4841
#ifndef FREERDP_LIB_CORE_UPDATE_H
Packit Service fa4841
#define FREERDP_LIB_CORE_UPDATE_H
Packit Service fa4841
Packit Service fa4841
#include "rdp.h"
Packit Service fa4841
#include "orders.h"
Packit Service fa4841
Packit Service fa4841
#include <freerdp/types.h>
Packit Service fa4841
#include <freerdp/update.h>
Packit Service fa4841
#include <freerdp/freerdp.h>
Packit Service fa4841
#include <freerdp/api.h>
Packit Service fa4841
Packit Service fa4841
#include <winpr/stream.h>
Packit Service fa4841
Packit Service b1ea74
#define UPDATE_TYPE_ORDERS 0x0000
Packit Service b1ea74
#define UPDATE_TYPE_BITMAP 0x0001
Packit Service b1ea74
#define UPDATE_TYPE_PALETTE 0x0002
Packit Service b1ea74
#define UPDATE_TYPE_SYNCHRONIZE 0x0003
Packit Service fa4841
Packit Service b1ea74
#define BITMAP_COMPRESSION 0x0001
Packit Service b1ea74
#define NO_BITMAP_COMPRESSION_HDR 0x0400
Packit Service fa4841
Packit Service fa4841
FREERDP_LOCAL rdpUpdate* update_new(rdpRdp* rdp);
Packit Service fa4841
FREERDP_LOCAL void update_free(rdpUpdate* update);
Packit Service fa4841
FREERDP_LOCAL void update_reset_state(rdpUpdate* update);
Packit Service fa4841
FREERDP_LOCAL BOOL update_post_connect(rdpUpdate* update);
Packit Service fa4841
FREERDP_LOCAL void update_post_disconnect(rdpUpdate* update);
Packit Service fa4841
Packit Service fa4841
FREERDP_LOCAL BOOL update_recv_play_sound(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL BOOL update_recv_pointer(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL BOOL update_recv(rdpUpdate* update, wStream* s);
Packit Service fa4841
Packit Service fa4841
FREERDP_LOCAL BITMAP_UPDATE* update_read_bitmap_update(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL PALETTE_UPDATE* update_read_palette(rdpUpdate* update, wStream* s);
Packit Service fa4841
Packit Service fa4841
FREERDP_LOCAL POINTER_SYSTEM_UPDATE* update_read_pointer_system(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL POINTER_POSITION_UPDATE* update_read_pointer_position(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL POINTER_COLOR_UPDATE* update_read_pointer_color(rdpUpdate* update, wStream* s,
Packit Service b1ea74
                                                              BYTE xorBpp);
Packit Service b1ea74
FREERDP_LOCAL POINTER_LARGE_UPDATE* update_read_pointer_large(rdpUpdate* update, wStream* s);
Packit Service b1ea74
Packit Service fa4841
FREERDP_LOCAL POINTER_NEW_UPDATE* update_read_pointer_new(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL POINTER_CACHED_UPDATE* update_read_pointer_cached(rdpUpdate* update, wStream* s);
Packit Service fa4841
Packit Service fa4841
FREERDP_LOCAL BOOL update_read_refresh_rect(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL BOOL update_read_suppress_output(rdpUpdate* update, wStream* s);
Packit Service fa4841
FREERDP_LOCAL void update_register_server_callbacks(rdpUpdate* update);
Packit Service fa4841
FREERDP_LOCAL void update_register_client_callbacks(rdpUpdate* update);
Packit Service fa4841
FREERDP_LOCAL int update_process_messages(rdpUpdate* update);
Packit Service fa4841
Packit Service b1ea74
FREERDP_LOCAL BOOL update_begin_paint(rdpUpdate* update);
Packit Service b1ea74
FREERDP_LOCAL BOOL update_end_paint(rdpUpdate* update);
Packit Service b1ea74
Packit Service fa4841
#endif /* FREERDP_LIB_CORE_UPDATE_H */