FACT++  1.0
void rout ( int *  tag,
int *  buffer,
int *  size 
)

Definition at line 12 of file dim_get_service.c.

References no_link, print_service(), received, str, and wake_up.

Referenced by main().

15 {
16 void print_service();
17 
18  if(tag){}
19  if((*size == 4 ) && (*buffer == no_link))
20  {
21  printf("Service %s Not Available\n", str);
22  }
23  else
24  {
25  printf("Service %s Contents :\n", str);
26  print_service(buffer, ((*size - 1)/4) + 1);
27  }
28  fflush(stdout);
29  received = 1;
30 #ifdef WIN32
31  wake_up();
32 #endif
33 }
int received
static int wake_up
Definition: dns.c:81
int no_link
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
int size
Definition: db_dim_server.c:17
void print_service(int *buff, int size)
char str[132]

+ Here is the call graph for this function:

+ Here is the caller graph for this function: