typedefs for handlers

This commit is contained in:
Michael Jumper
2010-09-16 20:55:39 +00:00
parent 747eb7ce32
commit a0e4da84ef
3 changed files with 19 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ void guac_free_png_buffer(png_byte** png_buffer, int h) {
}
guac_client* guac_get_client(int client_fd, void (*client_init)(guac_client* client, const char* hostname, int port), const char* hostname, int port) {
guac_client* guac_get_client(int client_fd, guac_client_init_handler* client_init, const char* hostname, int port) {
guac_client* client = malloc(sizeof(guac_client));