Move private struct members to bottom such that public interface is not distrubed when internal changes are made (avoid being forced to increment version, as done now).

This commit is contained in:
Michael Jumper 2012-01-12 10:11:45 -08:00
parent da27927a3f
commit c339b1299b
2 changed files with 22 additions and 23 deletions

View File

@ -46,5 +46,5 @@ lib_LTLIBRARIES = libguac.la
libguac_la_SOURCES = src/client.c src/socket.c src/protocol.c src/client-handlers.c src/error.c libguac_la_SOURCES = src/client.c src/socket.c src/protocol.c src/client-handlers.c src/error.c
libguac_la_LDFLAGS = -version-info 2:0:0 libguac_la_LDFLAGS = -version-info 3:0:0

View File

@ -203,28 +203,6 @@ struct guac_client {
*/ */
guac_client_state state; guac_client_state state;
/**
* The index of the next available buffer.
*/
int __next_buffer_index;
/**
* The head pointer of the list of all available (allocated but not used)
* buffers.
*/
guac_layer* __available_buffers;
/**
* Pointer to the last buffer in the list of all available buffers.
*/
guac_layer* __last_available_buffer;
/**
* The head pointer of the list of all allocated layers, regardless of use
* status.
*/
guac_layer* __all_layers;
/** /**
* The time (in milliseconds) of receipt of the last sync message from * The time (in milliseconds) of receipt of the last sync message from
* the client. * the client.
@ -402,6 +380,27 @@ struct guac_client {
*/ */
guac_client_log_handler* log_error_handler; guac_client_log_handler* log_error_handler;
/**
* The index of the next available buffer.
*/
int __next_buffer_index;
/**
* The head pointer of the list of all available (allocated but not used)
* buffers.
*/
guac_layer* __available_buffers;
/**
* Pointer to the last buffer in the list of all available buffers.
*/
guac_layer* __last_available_buffer;
/**
* The head pointer of the list of all allocated layers, regardless of use
* status.
*/
guac_layer* __all_layers;
}; };