proto.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
/* -*- c-basic-offset: 8 -*-
rdesktop: A Remote Desktop Protocol client.
Copyright (C) Matthew Chapman 1999-2007
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the General Public License version 2 (GPLv2) at this time for any software where
* a choice of GPL license versions is made available with the language indicating
* that GPLv2 or any later version may be used, or where a choice of which version
* of the GPL is applied is otherwise unspecified.
*/
#ifndef RDESKTOP_PROTO_H
#define RDESKTOP_PROTO_H
/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
/* *INDENT-ON* */
/* bitmap.c */
/* cache.c */
void cache_save_state(void);
/* channels.c */
/* cliprdr.c */
void cliprdr_set_mode(const char *optarg);
RD_BOOL cliprdr_init(void);
/* disk.c */
/* mppc.c */
/* ewmhints.c */
void ewmh_init(void);
/* iso.c */
void iso_disconnect(void);
void iso_reset_state(void);
/* licence.c */
void licence_process(STREAM s);
/* mcs.c */
void mcs_disconnect(void);
void mcs_reset_state(void);
/* orders.c */
void reset_order_state(void);
/* parallel.c */
/* printer.c */
/* printercache.c */
void printercache_process(STREAM s);
/* pstcache.c */
/* rdesktop.c */
void exit_if_null(void *ptr);
char *xstrdup(const char *s);
void toupper_str(char *p);
void *data);
int load_licence(unsigned char **data);
RD_BOOL rd_pstcache_mkdir(void);
int rd_open_file(char *filename);
void rd_close_file(int fd);
/* rdp5.c */
void rdp5_process(STREAM s);
/* rdp.c */
void rdp_send_client_window_status(int status);
void process_colour_pointer_pdu(STREAM s);
void process_cached_pointer_pdu(STREAM s);
void process_system_pointer_pdu(STREAM s);
void process_bitmap_updates(STREAM s);
void process_palette(STREAM s);
char *directory);
void rdp_reset_state(void);
void rdp_disconnect(void);
/* rdpdr.c */
void convert_to_unix_filename(char *filename);
RD_BOOL rdpdr_init(void);
struct async_iorequest *iorq);
/* rdpsnd.c */
void rdpsnd_show_help(void);
struct audio_packet *rdpsnd_queue_current_packet(void);
RD_BOOL rdpsnd_queue_empty(void);
void rdpsnd_queue_next(unsigned long completed_in_us);
int rdpsnd_queue_next_tick(void);
/* secure.c */
int datalen);
void sec_process_mcs_data(STREAM s);
void sec_disconnect(void);
void sec_reset_state(void);
/* serial.c */
uint32 * itv_timeout);
/* tcp.c */
void tcp_disconnect(void);
char *tcp_get_address(void);
void tcp_reset_state(void);
/* xclip.c */
void ui_clip_request_failed(void);
void ui_clip_sync(void);
void ui_clip_set_mode(const char *optarg);
void xclip_init(void);
void xclip_deinit(void);
/* xkeymap.c */
void xkeymap_init(void);
unsigned int read_keyboard_state(void);
void reset_modifier_keys(void);
/* xwin.c */
void ui_deinit(void);
RD_BOOL ui_create_window(void);
void ui_resize_window(void);
void ui_destroy_window(void);
void xwin_toggle_fullscreen(void);
int ui_select(int rdp_socket);
void ui_move_pointer(int x, int y);
void ui_set_null_cursor(void);
void ui_reset_clip(void);
void ui_bell(void);
int fgcolour);
void ui_begin_update(void);
void ui_end_update(void);
void ui_seamless_hide_desktop(void);
void ui_seamless_unhide_desktop(void);
void ui_seamless_toggle(void);
unsigned long flags);
unsigned long flags);
void ui_seamless_syncbegin(unsigned long flags);
void ui_seamless_ack(unsigned int serial);
/* lspci.c */
RD_BOOL lspci_init(void);
/* seamless.c */
RD_BOOL seamless_init(void);
unsigned int seamless_send_sync(void);
unsigned long flags);
unsigned int seamless_send_destroy(unsigned long id);
/* scard.c */
void scard_lock(int lock);
void scard_unlock(int lock);
RD_BOOL rdpusb_init(void);
void rdpusb_close (void);
/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
/* *INDENT-ON* */
#endif