FACT++  1.0
int main ( int  argc,
char **  argv 
)

Definition at line 35 of file dim_get_service.c.

References dic_info_service(), dim_wait(), no_link, ONCE_ONLY, received, rout(), sprintf(), and str.

38 {
39 
40  if(argc < 2)
41  {
42  printf("Service Name > ");
43  fflush(stdout);
44  scanf("%s", str);
45  }
46  else
47  {
48  sprintf(str,"%s",argv[1]);
49  }
51  while(!received)
52  dim_wait();
53  return(1);
54 }
int received
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
int dim_wait(void)
Definition: dim_thr.c:409
int no_link
char str[132]
#define ONCE_ONLY
Definition: dim_common.h:7
sprintf(name1,"NewService%d", i)
void rout(int *tag, int *buffer, int *size)

+ Here is the call graph for this function: