Definition at line 64 of file test_server.c.
References TT::c, client_exited(), cmnd_rout(), TT::d, dim_get_env_var(), dis_add_client_exit_handler, dis_add_cmnd, dis_add_dns(), dis_add_exit_handler, dis_add_service, dis_get_client, dis_start_serving, dnsid, exit_cmnd(), extra_dns, TT::f, TT::i, i, TT::j, TT::k, TT::s, sprintf(), str, TT::str, and TT::t.
96 new_dns =
dim_get_env_var(
"EXTRA_DNS_NODE", extra_dns,
sizeof(extra_dns));
109 for(i = 0; i< 10; i++)
123 strcpy(
t.
str,
"hello world");
125 sprintf(aux,
"%s/TEST_SWAP",argv[1]);
129 sprintf(aux,
"%s/TEST_CMD",argv[1]);
154 printf(
"client %s\n",name);
void cmnd_rout(int *tag, TT *buf, int *size)
dim_long dis_add_dns(char *node_name, int port_number)
dim_get_env_var("EXTRA_DNS_NODE", extra_dns, sizeof(extra_dns))
void exit_cmnd(int *code)
void client_exited(int *tag)
#define dis_start_serving
#define dis_add_exit_handler
#define dis_add_client_exit_handler
sprintf(name1,"NewService%d", i)