int main(void) { queue = queue_create(10, NULL); cfw_service_mgr_init(queue); sanity_test_list(); test_timers(); test_service_init(queue, TEST_SERVICE_ID); pr_info(LOG_MODULE_MAIN, "End of init...."); pr_info(LOG_MODULE_MAIN, "Start of real stuff...\n"); cfw_client_t *c = cfw_client_init(queue, my_handle_message, "Client 1"); //cfw_client_t *c2 = cfw_client_init(queue, my_handle_message, "Client 2"); cfw_open_service_conn(c, TEST_SERVICE_ID, "Conn1"); cfw_open_service_conn(c, TEST_SERVICE_ID, "Conn2"); _cfw_loop(queue); return EXIT_SUCCESS; }
bool glibcxx_sanity_test() { return sanity_test_widen('a') && sanity_test_list(100) && sanity_test_range_fmt(); }