Definition at line 2718 of file didMarkus.c.
References create_str(), Curr_service_list_id, dic_info_service(), got_service_list(), id, kick_it(), MAX_NAME, DNS_SERVER_INFO::n_services, item::name, DNS_SERVER_INFO::node, ONCE_ONLY, DNS_SERVER_INFO::pid, item::pop_widget_id, put_popup(), item::server, set_something(), sprintf(), and str.
Referenced by create_button(), and put_popup().
2739 sel_id =
put_popup(servp, 0,
"Service Info");
2741 id = XmSelectionBoxGetChild(sel_id,XmDIALOG_OK_BUTTON);
2742 XtUnmanageChild(
id);
2744 id = XmSelectionBoxGetChild(sel_id,XmDIALOG_LIST_LABEL);
2745 if (ptr->
pid > 0x1000000)
2746 sprintf(str,
"Server %s (pid = %X) on node %s\n\nprovides %d services :\n",
2749 sprintf(str,
"Server %s (pid = %d) on node %s\n\nprovides %d services :\n",
2753 id = XmSelectionBoxGetChild(sel_id,XmDIALOG_LIST);
2757 "Ordering services alphabeticaly, please be patient..."),1);
unsigned dic_info_service(char *serv_name, int req_type, int req_timeout, void *serv_address, int serv_size, void(*usr_routine)(), dim_long tag, void *fill_addr, int fill_size)
void got_service_list(SERVER **servp_ptr, char *buffer, int *size)
Widget Curr_service_list_id
Widget put_popup(SERVER *servp, int type, char *title)
sprintf(name1,"NewService%d", i)