Definition at line 791 of file didMarkus.c.
References app_context, app_initialize(), Curr_view_opt, Curr_view_opt_par, dic_disable_padding(), dim_no_threads(), dim_usleep(), dis_disable_padding(), do_got_service_list(), do_show_clients(), gui_initialize(), i, sprintf(), and toplevel_widget.
794 char opt_str[20], *ptr;
806 if(argv[1][0] ==
'-')
808 sprintf(opt_str,
"%s",&argv[1][1]);
809 if((!strncmp(opt_str,
"node",4)) ||
810 (!strncmp(opt_str,
"NODE",4)))
812 else if((!strncmp(opt_str,
"all",3)) ||
813 (!strncmp(opt_str,
"ALL",3)))
815 else if((!strncmp(opt_str,
"service",7)) ||
816 (!strncmp(opt_str,
"SERVICE",7)))
818 else if((!strncmp(opt_str,
"error",5)) ||
819 (!strncmp(opt_str,
"ERROR",5)))
821 else if((!strncmp(opt_str,
"help",4)) ||
822 (!strncmp(opt_str,
"HELP",4)))
824 printf(
"Did - DIM Information Display\n");
825 printf(
"\t-all Show ALL Servers\n");
826 printf(
"\t-service=<str> Show Servers providing Service <str>\n");
827 printf(
"\t-node=<nodename> Show Servers on Node <nodename>\n");
828 printf(
"\t-error Show Servers in Error\n");
829 printf(
"\t-help Show this message\n\n");
836 if(!(ptr = strchr(argv[1],
'=')))
838 if( (ptr = strchr(argv[2],
'=')) )
853 for(i = 0;*ptr; ptr++, i++)
void dis_disable_padding()
char Curr_view_opt_par[80]
void dim_usleep(int usecs)
void do_show_clients(SERVER *servp)
SERVER * Got_Service_List
void dic_disable_padding()
void do_got_service_list(SERVER *servp)
void app_initialize(int tag)
Widget gui_initialize(int argc, char **argv)
sprintf(name1,"NewService%d", i)