/[rdesktop]/sourceforge.net/trunk/rdesktop/proto.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/proto.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1359 by ossman_, Tue Jan 2 16:30:06 2007 UTC revision 1364 by jsorg71, Thu Jan 4 04:55:56 2007 UTC
# Line 31  BOOL bitmap_decompress(uint8 * output, i Line 31  BOOL bitmap_decompress(uint8 * output, i
31  void cache_rebuild_bmpcache_linked_list(uint8 id, sint16 * idx, int count);  void cache_rebuild_bmpcache_linked_list(uint8 id, sint16 * idx, int count);
32  void cache_bump_bitmap(uint8 id, uint16 idx, int bump);  void cache_bump_bitmap(uint8 id, uint16 idx, int bump);
33  void cache_evict_bitmap(uint8 id);  void cache_evict_bitmap(uint8 id);
34  HBITMAP cache_get_bitmap(uint8 id, uint16 idx);  RD_HBITMAP cache_get_bitmap(uint8 id, uint16 idx);
35  void cache_put_bitmap(uint8 id, uint16 idx, HBITMAP bitmap);  void cache_put_bitmap(uint8 id, uint16 idx, RD_HBITMAP bitmap);
36  void cache_save_state(void);  void cache_save_state(void);
37  FONTGLYPH *cache_get_font(uint8 font, uint16 character);  FONTGLYPH *cache_get_font(uint8 font, uint16 character);
38  void cache_put_font(uint8 font, uint16 character, uint16 offset, uint16 baseline, uint16 width,  void cache_put_font(uint8 font, uint16 character, uint16 offset, uint16 baseline, uint16 width,
39                      uint16 height, HGLYPH pixmap);                      uint16 height, RD_HGLYPH pixmap);
40  DATABLOB *cache_get_text(uint8 cache_id);  DATABLOB *cache_get_text(uint8 cache_id);
41  void cache_put_text(uint8 cache_id, void *data, int length);  void cache_put_text(uint8 cache_id, void *data, int length);
42  uint8 *cache_get_desktop(uint32 offset, int cx, int cy, int bytes_per_pixel);  uint8 *cache_get_desktop(uint32 offset, int cx, int cy, int bytes_per_pixel);
43  void cache_put_desktop(uint32 offset, int cx, int cy, int scanline, int bytes_per_pixel,  void cache_put_desktop(uint32 offset, int cx, int cy, int scanline, int bytes_per_pixel,
44                         uint8 * data);                         uint8 * data);
45  HCURSOR cache_get_cursor(uint16 cache_idx);  RD_HCURSOR cache_get_cursor(uint16 cache_idx);
46  void cache_put_cursor(uint16 cache_idx, HCURSOR cursor);  void cache_put_cursor(uint16 cache_idx, RD_HCURSOR cursor);
47  /* channels.c */  /* channels.c */
48  VCHANNEL *channel_register(char *name, uint32 flags, void (*callback) (STREAM));  VCHANNEL *channel_register(char *name, uint32 flags, void (*callback) (STREAM));
49  STREAM channel_init(VCHANNEL * channel, uint32 length);  STREAM channel_init(VCHANNEL * channel, uint32 length);
# Line 58  void cliprdr_set_mode(const char *optarg Line 58  void cliprdr_set_mode(const char *optarg
58  BOOL cliprdr_init(void);  BOOL cliprdr_init(void);
59  /* disk.c */  /* disk.c */
60  int disk_enum_devices(uint32 * id, char *optarg);  int disk_enum_devices(uint32 * id, char *optarg);
61  NTSTATUS disk_query_information(NTHANDLE handle, uint32 info_class, STREAM out);  RD_NTSTATUS disk_query_information(RD_NTHANDLE handle, uint32 info_class, STREAM out);
62  NTSTATUS disk_set_information(NTHANDLE handle, uint32 info_class, STREAM in, STREAM out);  RD_NTSTATUS disk_set_information(RD_NTHANDLE handle, uint32 info_class, STREAM in, STREAM out);
63  NTSTATUS disk_check_notify(NTHANDLE handle);  RD_NTSTATUS disk_check_notify(RD_NTHANDLE handle);
64  NTSTATUS disk_create_notify(NTHANDLE handle, uint32 info_class);  RD_NTSTATUS disk_create_notify(RD_NTHANDLE handle, uint32 info_class);
65  NTSTATUS disk_query_volume_information(NTHANDLE handle, uint32 info_class, STREAM out);  RD_NTSTATUS disk_query_volume_information(RD_NTHANDLE handle, uint32 info_class, STREAM out);
66  NTSTATUS disk_query_directory(NTHANDLE handle, uint32 info_class, char *pattern, STREAM out);  RD_NTSTATUS disk_query_directory(RD_NTHANDLE handle, uint32 info_class, char *pattern, STREAM out);
67  /* mppc.c */  /* mppc.c */
68  int mppc_expand(uint8 * data, uint32 clen, uint8 ctype, uint32 * roff, uint32 * rlen);  int mppc_expand(uint8 * data, uint32 clen, uint8 ctype, uint32 * roff, uint32 * rlen);
69  /* ewmhints.c */  /* ewmhints.c */
# Line 155  BOOL rdp_reconnect(char *server, uint32 Line 155  BOOL rdp_reconnect(char *server, uint32
155  void rdp_reset_state(void);  void rdp_reset_state(void);
156  void rdp_disconnect(void);  void rdp_disconnect(void);
157  /* rdpdr.c */  /* rdpdr.c */
158  int get_device_index(NTHANDLE handle);  int get_device_index(RD_NTHANDLE handle);
159  void convert_to_unix_filename(char *filename);  void convert_to_unix_filename(char *filename);
160  void rdpdr_send_completion(uint32 device, uint32 id, uint32 status, uint32 result, uint8 * buffer,  void rdpdr_send_completion(uint32 device, uint32 id, uint32 status, uint32 result, uint8 * buffer,
161                             uint32 length);                             uint32 length);
# Line 164  void rdpdr_add_fds(int *n, fd_set * rfds Line 164  void rdpdr_add_fds(int *n, fd_set * rfds
164  struct async_iorequest *rdpdr_remove_iorequest(struct async_iorequest *prev,  struct async_iorequest *rdpdr_remove_iorequest(struct async_iorequest *prev,
165                                                 struct async_iorequest *iorq);                                                 struct async_iorequest *iorq);
166  void rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out);  void rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out);
167  BOOL rdpdr_abort_io(uint32 fd, uint32 major, NTSTATUS status);  BOOL rdpdr_abort_io(uint32 fd, uint32 major, RD_NTSTATUS status);
168  /* rdpsnd.c */  /* rdpsnd.c */
169  void rdpsnd_record(const void *data, unsigned int size);  void rdpsnd_record(const void *data, unsigned int size);
170  BOOL rdpsnd_init(char *optarg);  BOOL rdpsnd_init(char *optarg);
# Line 193  void sec_disconnect(void); Line 193  void sec_disconnect(void);
193  void sec_reset_state(void);  void sec_reset_state(void);
194  /* serial.c */  /* serial.c */
195  int serial_enum_devices(uint32 * id, char *optarg);  int serial_enum_devices(uint32 * id, char *optarg);
196  BOOL serial_get_event(NTHANDLE handle, uint32 * result);  BOOL serial_get_event(RD_NTHANDLE handle, uint32 * result);
197  BOOL serial_get_timeout(NTHANDLE handle, uint32 length, uint32 * timeout, uint32 * itv_timeout);  BOOL serial_get_timeout(RD_NTHANDLE handle, uint32 length, uint32 * timeout, uint32 * itv_timeout);
198  /* tcp.c */  /* tcp.c */
199  STREAM tcp_init(uint32 maxlen);  STREAM tcp_init(uint32 maxlen);
200  void tcp_send(STREAM s);  void tcp_send(STREAM s);
# Line 239  void ui_destroy_window(void); Line 239  void ui_destroy_window(void);
239  void xwin_toggle_fullscreen(void);  void xwin_toggle_fullscreen(void);
240  int ui_select(int rdp_socket);  int ui_select(int rdp_socket);
241  void ui_move_pointer(int x, int y);  void ui_move_pointer(int x, int y);
242  HBITMAP ui_create_bitmap(int width, int height, uint8 * data);  RD_HBITMAP ui_create_bitmap(int width, int height, uint8 * data);
243  void ui_paint_bitmap(int x, int y, int cx, int cy, int width, int height, uint8 * data);  void ui_paint_bitmap(int x, int y, int cx, int cy, int width, int height, uint8 * data);
244  void ui_destroy_bitmap(HBITMAP bmp);  void ui_destroy_bitmap(RD_HBITMAP bmp);
245  HGLYPH ui_create_glyph(int width, int height, uint8 * data);  RD_HGLYPH ui_create_glyph(int width, int height, uint8 * data);
246  void ui_destroy_glyph(HGLYPH glyph);  void ui_destroy_glyph(RD_HGLYPH glyph);
247  HCURSOR ui_create_cursor(unsigned int x, unsigned int y, int width, int height, uint8 * andmask,  RD_HCURSOR ui_create_cursor(unsigned int x, unsigned int y, int width, int height, uint8 * andmask,
248                           uint8 * xormask);                              uint8 * xormask);
249  void ui_set_cursor(HCURSOR cursor);  void ui_set_cursor(RD_HCURSOR cursor);
250  void ui_destroy_cursor(HCURSOR cursor);  void ui_destroy_cursor(RD_HCURSOR cursor);
251  void ui_set_null_cursor(void);  void ui_set_null_cursor(void);
252  HCOLOURMAP ui_create_colourmap(COLOURMAP * colours);  RD_HCOLOURMAP ui_create_colourmap(COLOURMAP * colours);
253  void ui_destroy_colourmap(HCOLOURMAP map);  void ui_destroy_colourmap(RD_HCOLOURMAP map);
254  void ui_set_colourmap(HCOLOURMAP map);  void ui_set_colourmap(RD_HCOLOURMAP map);
255  void ui_set_clip(int x, int y, int cx, int cy);  void ui_set_clip(int x, int y, int cx, int cy);
256  void ui_reset_clip(void);  void ui_reset_clip(void);
257  void ui_bell(void);  void ui_bell(void);
# Line 259  void ui_destblt(uint8 opcode, int x, int Line 259  void ui_destblt(uint8 opcode, int x, int
259  void ui_patblt(uint8 opcode, int x, int y, int cx, int cy, BRUSH * brush, int bgcolour,  void ui_patblt(uint8 opcode, int x, int y, int cx, int cy, BRUSH * brush, int bgcolour,
260                 int fgcolour);                 int fgcolour);
261  void ui_screenblt(uint8 opcode, int x, int y, int cx, int cy, int srcx, int srcy);  void ui_screenblt(uint8 opcode, int x, int y, int cx, int cy, int srcx, int srcy);
262  void ui_memblt(uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy);  void ui_memblt(uint8 opcode, int x, int y, int cx, int cy, RD_HBITMAP src, int srcx, int srcy);
263  void ui_triblt(uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy,  void ui_triblt(uint8 opcode, int x, int y, int cx, int cy, RD_HBITMAP src, int srcx, int srcy,
264                 BRUSH * brush, int bgcolour, int fgcolour);                 BRUSH * brush, int bgcolour, int fgcolour);
265  void ui_line(uint8 opcode, int startx, int starty, int endx, int endy, PEN * pen);  void ui_line(uint8 opcode, int startx, int starty, int endx, int endy, PEN * pen);
266  void ui_rect(int x, int y, int cx, int cy, int colour);  void ui_rect(int x, int y, int cx, int cy, int colour);
267  void ui_polygon(uint8 opcode, uint8 fillmode, POINT * point, int npoints, BRUSH * brush,  void ui_polygon(uint8 opcode, uint8 fillmode, RD_POINT * point, int npoints, BRUSH * brush,
268                  int bgcolour, int fgcolour);                  int bgcolour, int fgcolour);
269  void ui_polyline(uint8 opcode, POINT * points, int npoints, PEN * pen);  void ui_polyline(uint8 opcode, RD_POINT * points, int npoints, PEN * pen);
270  void ui_ellipse(uint8 opcode, uint8 fillmode, int x, int y, int cx, int cy, BRUSH * brush,  void ui_ellipse(uint8 opcode, uint8 fillmode, int x, int y, int cx, int cy, BRUSH * brush,
271                  int bgcolour, int fgcolour);                  int bgcolour, int fgcolour);
272  void ui_draw_glyph(int mixmode, int x, int y, int cx, int cy, HGLYPH glyph, int srcx, int srcy,  void ui_draw_glyph(int mixmode, int x, int y, int cx, int cy, RD_HGLYPH glyph, int srcx, int srcy,
273                     int bgcolour, int fgcolour);                     int bgcolour, int fgcolour);
274  void ui_draw_text(uint8 font, uint8 flags, uint8 opcode, int mixmode, int x, int y, int clipx,  void ui_draw_text(uint8 font, uint8 flags, uint8 opcode, int mixmode, int x, int y, int clipx,
275                    int clipy, int clipcx, int clipcy, int boxx, int boxy, int boxcx, int boxcy,                    int clipy, int clipcx, int clipcy, int boxx, int boxy, int boxcx, int boxcy,

Legend:
Removed from v.1359  
changed lines
  Added in v.1364

  ViewVC Help
Powered by ViewVC 1.1.26