src/libguac/client.c
/**
 * Updates the provided approximate processing lag, taking into account the
 * processing lag of the given user.
 *
 * @param user
 *     The guac_user to use to update the approximate processing lag.
 *
 * @param data
 *     Pointer to an int containing the current approximate processing lag.
 *     The int will be updated according to the processing lag of the given
 *     user.
 *
 * @return
 *     Always NULL.
 */
Updates the provided approximate processing lag, taking into account the
processing lag of the given user.

@param user
The guac_user to use to update the approximate processing lag.

@param data
Pointer to an int containing the current approximate processing lag.
The int will be updated according to the processing lag of the given
user.

@return
Always NULL.
Updates the provided approximate processing lag taking into account the processing lag of the given user . @param user The guac_user to use to update the approximate processing lag . @param data Pointer to an int containing the current approximate processing lag . The int will be updated according to the processing lag of the given user . @return Always NULL .
static void* __calculate_lag(guac_user* user, void* data) {
    int* processing_lag = (int*) data;
    if (user->processing_lag > *processing_lag)
        *processing_lag = user->processing_lag;
    return NULL;
}
static void * __calculate_lag ( guac_user * user , void * data ) { int * processing_lag = ( int * ) data ; if ( user -> processing_lag > * processing_lag ) * processing_lag = user -> processing_lag ; return NULL ; }
Updates the provided approximate processing lag, taking into account the
 processing lag of the given user.
Updates the provided approximate processing lag taking into account the processing lag of the given user .
/* Simply find maximum */