src/siri/admin/client.c
/*
 * Called when register server was successful.
 */
Called when register server was successful.
Called when register server was successful .
static void CLIENT_on_register_server(siri_admin_client_t * adm_client)
{
    sirinet_pkg_t * package = sirinet_pkg_new(
            adm_client->pid,
            0,
            CPROTO_ACK_ADMIN,
            NULL);
    if (package != NULL)
    {
        sirinet_pkg_send(adm_client->client, package);
    }
    log_info(
            "Finished registering server on database '%s'",
            adm_client->dbname);
    sirinet_socket_decref(siri.socket);
    uv_close((uv_handle_t *) &siri.timer, NULL);
}
static void CLIENT_on_register_server ( siri_admin_client_t * adm_client ) { sirinet_pkg_t * package = sirinet_pkg_new ( adm_client -> pid , 0 , CPROTO_ACK_ADMIN , NULL ) ; if ( package != NULL ) { sirinet_pkg_send ( adm_client -> client , package ) ; } log_info ( " " , adm_client -> dbname ) ; sirinet_socket_decref ( siri . socket ) ; uv_close ( ( uv_handle_t * ) & siri . timer , NULL ) ; }
Called when register server was successful.
Called when register server was successful .