-
Notifications
You must be signed in to change notification settings - Fork 13
/
reflector.h
55 lines (41 loc) · 1.55 KB
/
reflector.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* VNC Reflector
* Copyright (C) 2001-2003 HorizonLive.com, Inc. All rights reserved.
*
* This software is released under the terms specified in the file LICENSE,
* included. HorizonLive provides e-Learning and collaborative synchronous
* presentation solutions in a totally Web-based environment. For more
* information about HorizonLive, please see our website at
* http://www.horizonlive.com.
*
* This software was authored by Constantin Kaplinsky <const@ce.cctpu.edu.ru>
* and sponsored by HorizonLive.com, Inc.
*
* $Id: reflector.h,v 1.33 2003/04/21 17:20:35 const Exp $
* Global include file
*/
#ifndef _REF_REFLECTOR_H
#define _REF_REFLECTOR_H
#define VERSION "1.2.4"
/* FIXME: Too many header files with too many dependencies */
/* Framebuffer and related metadata */
extern RFB_SCREEN_INFO g_screen_info;
extern CARD32 *g_framebuffer;
extern CARD16 g_fb_width, g_fb_height;
/* actions.c */
extern int set_actions_file(char *file_path);
extern int perform_action(char *action_str);
/* active.c */
extern int write_active_file(void);
extern int remove_active_file(void);
extern int set_active_file(char *file_path);
/* control.c */
extern void set_control_signals(void);
/* fbs_files.c */
extern void fbs_set_prefix(char *fbs_prefix, int join_sessions);
extern void fbs_open_file(CARD16 fb_width, CARD16 fb_height);
extern void fbs_write_data(void *buf, size_t len);
extern void fbs_spool_byte(CARD8 b);
extern void fbs_spool_data(void *buf, size_t len);
extern void fbs_flush_data(void);
extern void fbs_close_file(void);
#endif /* _REF_REFLECTOR_H */