Definition at line 1546 of file dis_old.c.
References check_client(), COMMAND, req_ent::conn_id, Debug_on, req_ent::delay_delete, serv::delay_delete, DIM_ERROR, dim_print_date_time_millis(), DIMSVCINVAL, dis_remove_service(), dll_empty(), dll_get_next(), error_handler(), execute_service(), find_client(), serv::id, id_get_ptr(), serv::name, Net_conns, NET_CONNECTION::node, release_conn(), release_request(), req_ent::req_id, req_ent::reqpp, serv::request_head, cli_ent::requestp_head, service_id, sprintf(), SRC_DIS, str, NET_CONNECTION::task, TIMED_ONLY, req_ent::to_delete, and serv::to_delete.
Referenced by dis_selective_update_service(), and dis_update_service().
1552 register int found = 0;
1553 int to_delete = 0, more, conn_id;
1560 sprintf(str,
"Update Service - Invalid service id");
1584 printf(
"Updating %s (id = %d, ptr = %08lX) for %s@%s (req_id = %d, req_ptr = %08lX)\n",
1598 if(reqp->delay_delete && ((reqp->type & 0xFFF) !=
COMMAND))
1644 if(reqp->to_delete & 0x1)
1651 else if(reqp->to_delete & 0x2)
1654 reqp->to_delete = 0;
1655 reqpp = reqp->reqpp;
1656 conn_id = reqp->conn_id;
int execute_service(int req_id)
DllExp DIM_NOSHARE NET_CONNECTION * Net_conns
void * id_get_ptr(int id, SRC_TYPES type)
int release_request(REQUEST *reqp, REQUEST_PTR *reqpp, int remove)
REQUEST_PTR * requestp_head
int dis_remove_service(unsigned service_id)
CLIENT * find_client(int conn_id)
static void error_handler(int conn_id, int severity, int errcode, char *reason)
DLL * dll_get_next(DLL *head, DLL *item)
static int release_conn(int conn_id, int print_flg, int dns_flag)
int check_client(REQUEST *reqp, int *client_ids)
sprintf(name1,"NewService%d", i)
void dim_print_date_time_millis()