guac_message structure, initial parsing support
This commit is contained in:
1 parent
ffa1c171fa
commit
e1e0045085
5 files changed
+116
-76
No files matched your search
@@ -6,11 +6,25 @@
|
||||
|
||||
#include "guacio.h"
|
||||
|
||||
typedef struct guac_message {
|
||||
|
||||
char* opcode;
|
||||
|
||||
int argc;
|
||||
char** argv;
|
||||
|
||||
} guac_message;
|
||||
|
||||
|
||||
void guac_free_message(guac_message* message);
|
||||
char* guac_escape_string(const char* str);
|
||||
void guac_send_name(GUACIO* io, const char* name);
|
||||
void guac_send_size(GUACIO* io, int w, int h);
|
||||
void guac_send_copy(GUACIO* io, int srcx, int srcy, int w, int h, int dstx, int dsty);
|
||||
void guac_send_png(GUACIO* io, int x, int y, png_byte** png_rows, int w, int h);
|
||||
|
||||
int guac_messages_waiting(GUACIO* io);
|
||||
guac_message* guac_read_message(GUACIO* io);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user