Definition at line 1251 of file dis.c.
References COMMAND, req_ent::conn_id, exit_ent::conn_id, create_client(), Curr_conn_id, Debug_on, req_ent::delay_delete, DIM_DELETE, dim_print_date_time(), dis_dns_ent::dis_client_id, Dis_timer_q, dis_update_service(), dll_get_next(), dll_init(), dll_insert_queue(), cli_ent::dnsp, dtq_add_entry(), execute_command(), execute_service(), find_release_request(), find_service(), req_ent::first_time, req_ent::format, DIC_PACKET::format, Memory::free(), id_free(), id_get(), Last_client, Memory::malloc(), MONIT_FIRST, MONIT_ONLY, Net_conns, NET_CONNECTION::node, ONCE_ONLY, release_conn(), req_ent::req_id, reqp_ent::reqp, req_ent::reqpp, serv::request_head, cli_ent::requestp_head, req_ent::service_id, DIC_PACKET::service_id, DIC_PACKET::service_name, req_ent::service_ptr, SRC_DIS, exit_ent::task, NET_CONNECTION::task, req_ent::timeout, DIC_PACKET::timeout, req_ent::timr_ent, req_ent::to_delete, type, req_ent::type, DIC_PACKET::type, and UPDATE.
1254 register REQUEST *newp, *reqp;
1257 int type, new_client = 0, found = 0;
1275 printf(
"Received Disconnection %d, from %s@%s\n",
1286 printf(
"Received Connection %d, from %s@%s\n",
1297 printf(
"Received Request for %s, from %d %s@%s\n",
1301 dic_packet->
type = vtohl(dic_packet->
type);
1302 type = dic_packet->
type & 0xFFF;
1370 newp->
reqpp = reqpp;
char service_name[MAX_NAME]
DllExp DIM_NOSHARE NET_CONNECTION * Net_conns
void dll_insert_queue(DLL *head, DLL *item)
int execute_service(int req_id)
int find_release_request(int conn_id, int service_id)
SERVICE * find_service(char *name)
static int release_conn(int conn_id, int print_flg, int dns_flag)
void execute_command(SERVICE *servp, DIC_PACKET *packet)
static CLIENT * Client_head
REQUEST_PTR * requestp_head
int dis_update_service(unsigned service_id)
struct serv * service_ptr
void id_free(int id, SRC_TYPES type)
TIMR_ENT * dtq_add_entry(int queue_id, int time, void(*user_routine)(), dim_long tag)
DLL * dll_get_next(DLL *head, DLL *item)
int id_get(void *ptr, SRC_TYPES type)
void dim_print_date_time()
CLIENT * create_client(int conn_id, SERVICE *servp, int *new_client)
unsigned int dis_client_id