Updated prototypes.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@666 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2004-04-17 07:32:52 +00:00
parent 25aa4dce8b
commit cf75b04b79

27
proto.h
View File

@ -1,6 +1,5 @@
/* bitmap.c */ /* bitmap.c */
BOOL bitmap_decompress(unsigned char *output, int width, int height, unsigned char *input, int size, BOOL bitmap_decompress(uint8 * output, int width, int height, uint8 * input, int size, int Bpp);
int Bpp);
/* cache.c */ /* cache.c */
HBITMAP cache_get_bitmap(uint8 cache_id, uint16 cache_idx); HBITMAP cache_get_bitmap(uint8 cache_id, uint16 cache_idx);
void cache_put_bitmap(uint8 cache_id, uint16 cache_idx, HBITMAP bitmap); void cache_put_bitmap(uint8 cache_id, uint16 cache_idx, HBITMAP bitmap);
@ -27,11 +26,11 @@ void cliprdr_send_data_request(uint32 format);
void cliprdr_send_data(uint8 * data, uint32 length); void cliprdr_send_data(uint8 * data, uint32 length);
BOOL cliprdr_init(void); BOOL cliprdr_init(void);
/* disk.c */ /* disk.c */
int disk_enum_devices(uint32 * id, char *optarg);
NTSTATUS disk_query_information(HANDLE handle, uint32 info_class, STREAM out); NTSTATUS disk_query_information(HANDLE handle, uint32 info_class, STREAM out);
NTSTATUS disk_set_information(HANDLE handle, uint32 info_class, STREAM in, STREAM out); NTSTATUS disk_set_information(HANDLE handle, uint32 info_class, STREAM in, STREAM out);
NTSTATUS disk_query_volume_information(HANDLE handle, uint32 info_class, STREAM out); NTSTATUS disk_query_volume_information(HANDLE handle, uint32 info_class, STREAM out);
NTSTATUS disk_query_directory(HANDLE handle, uint32 info_class, char *pattern, STREAM out); NTSTATUS disk_query_directory(HANDLE handle, uint32 info_class, char *pattern, STREAM out);
int disk_enum_devices(uint32 * id, char *optarg);
/* ewmhints.c */ /* ewmhints.c */
int get_current_workarea(uint32 * x, uint32 * y, uint32 * width, uint32 * height); int get_current_workarea(uint32 * x, uint32 * y, uint32 * width, uint32 * height);
/* iso.c */ /* iso.c */
@ -69,11 +68,11 @@ void error(char *format, ...);
void warning(char *format, ...); void warning(char *format, ...);
void unimpl(char *format, ...); void unimpl(char *format, ...);
void hexdump(unsigned char *p, unsigned int len); void hexdump(unsigned char *p, unsigned int len);
char *next_arg(char *src, char needle);
void toupper_str(char *p); void toupper_str(char *p);
char *l_to_a(long N, int base); char *l_to_a(long N, int base);
int load_licence(unsigned char **data); int load_licence(unsigned char **data);
void save_licence(unsigned char *data, int length); void save_licence(unsigned char *data, int length);
char *next_arg(char *src, char needle);
/* rdp5.c */ /* rdp5.c */
void rdp5_process(STREAM s, BOOL encryption); void rdp5_process(STREAM s, BOOL encryption);
/* rdp.c */ /* rdp.c */
@ -91,22 +90,16 @@ BOOL rdp_connect(char *server, uint32 flags, char *domain, char *password, char
char *directory); char *directory);
void rdp_disconnect(void); void rdp_disconnect(void);
/* rdpdr.c */ /* rdpdr.c */
void convert_to_unix_filename(char *filename);
void rdpdr_send_connect(void);
void rdpdr_send_name(void);
void rdpdr_send_available(void);
void rdpdr_send_completion(uint32 device, uint32 id, uint32 status, uint32 result, uint8 * buffer,
uint32 length);
BOOL rdpdr_init();
int get_device_index(HANDLE handle); int get_device_index(HANDLE handle);
void convert_to_unix_filename(char *filename);
BOOL rdpdr_init(void);
void rdpdr_add_fds(int *n, fd_set * rfds, fd_set * wfds, struct timeval *tv, BOOL * timeout);
struct async_iorequest *rdpdr_remove_iorequest(struct async_iorequest *prev,
struct async_iorequest *iorq);
void rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out);
BOOL rdpdr_abort_io(uint32 fd, uint32 major, NTSTATUS status); BOOL rdpdr_abort_io(uint32 fd, uint32 major, NTSTATUS status);
/* rdpsnd.c */ /* rdpsnd.c */
STREAM rdpsnd_init_packet(uint16 type, uint16 size);
void rdpsnd_send(STREAM s);
void rdpsnd_send_completion(uint16 tick, uint8 packet_index); void rdpsnd_send_completion(uint16 tick, uint8 packet_index);
void rdpsnd_process_negotiate(STREAM in);
void rdpsnd_process_unknown6(STREAM in);
void rdpsnd_process(STREAM s);
BOOL rdpsnd_init(void); BOOL rdpsnd_init(void);
/* rdpsnd_oss.c */ /* rdpsnd_oss.c */
BOOL wave_out_open(void); BOOL wave_out_open(void);
@ -131,8 +124,8 @@ STREAM sec_recv(void);
BOOL sec_connect(char *server, char *username); BOOL sec_connect(char *server, char *username);
void sec_disconnect(void); void sec_disconnect(void);
/* serial.c */ /* serial.c */
BOOL serial_get_timeout(uint32 handle, uint32 length, uint32 * timeout, uint32 * itv_timeout);
int serial_enum_devices(uint32 * id, char *optarg); int serial_enum_devices(uint32 * id, char *optarg);
BOOL serial_get_timeout(HANDLE handle, uint32 length, uint32 * timeout, uint32 * itv_timeout);
/* tcp.c */ /* tcp.c */
STREAM tcp_init(uint32 maxlen); STREAM tcp_init(uint32 maxlen);
void tcp_send(STREAM s); void tcp_send(STREAM s);