FACT++  1.0
void app_initialize ( int  tag)

Definition at line 903 of file didMarkus.c.

References app_context, check_put_label(), Curr_matrix, dic_info_service(), dim_get_dns_node(), dim_get_dns_port(), display, dtq_create(), get_all_colors(), Matrix_id, MONITORED, no_link, set_icon_title(), set_title(), sprintf(), Timer_q, toplevel_widget, update_servers(), update_servers_new(), and update_show_servers().

Referenced by main().

904 {
905 void check_put_label();
906 
907 void update_servers();
908 void update_servers_new();
909 void update_show_servers();
910 extern void get_all_colors();
911 extern void set_title();
912 extern void set_icon_title();
913 
914  char text[128];
915  int len;
916  if(tag){}
917  sprintf(text,"DID - DIM Information Display on ");
918  len = strlen(text);
919  dim_get_dns_node(text+len);
920  len = strlen(text);
921  sprintf(text+len,":%d",dim_get_dns_port());
925  Timer_q = dtq_create();
926  dic_info_service("DIS_DNS/SERVER_INFO",MONITORED,0,0,0,update_servers,0,
927  &no_link,1);
928  /*
929  dic_info_service("DIS_DNS/SERVER_LIST",MONITORED,0,0,0,
930  update_servers_new,0, &no_link,1);
931  */
932  /*
933  dtq_add_entry(Timer_q, 2, check_put_label, 0);
934  */
935  XtAppAddTimeOut(app_context, 1000, update_show_servers, 0);
936 }
Widget Matrix_id[2]
Definition: did.h:57
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)
Definition: dic.c:601
#define MONITORED
Definition: dim_common.h:9
int dtq_create()
Definition: dtq.c:353
void get_all_colors(Display *display, Widget w)
Definition: dui_util.c:218
void set_icon_title(Widget w, char *title)
Definition: dui_util.c:296
XtAppContext app_context
Definition: did.h:38
void set_title(Widget w, char *title)
Definition: dui_util.c:283
void check_put_label(int tag)
Definition: didMarkus.c:3092
void update_servers_new(int *tag, char *buffer, int *size)
Definition: didMarkus.c:2256
int dim_get_dns_node(char *node)
Definition: open_dns.c:72
Display * display
Definition: did.h:37
int dim_get_dns_port()
Definition: open_dns.c:121
Widget toplevel_widget
Definition: did.h:39
int Curr_matrix
Definition: did.h:58
int Timer_q
Definition: didMarkus.c:34
static char no_link
Definition: didMarkus.c:901
void update_show_servers(void *tag, unsigned long *reason)
Definition: didMarkus.c:2425
sprintf(name1,"NewService%d", i)
void update_servers(int *tag, DNS_DID *buffer, int *size)
Definition: didMarkus.c:2285

+ Here is the call graph for this function:

+ Here is the caller graph for this function: