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

Definition at line 1161 of file didMarkus.c.

References Content_label_id, Curr_service_name, Curr_service_print_type, get_service_format(), Memory::malloc(), print_service_formatted(), Service_buffer, Service_content_str, Service_size, set_something(), size, and sprintf().

Referenced by cancel_pop_up(), and ok_pop_up().

1162 {
1163 /*
1164  char str[256], *ptr, *ptr1;
1165  int rpc_flag;
1166 */
1167  void print_service_formatted();
1168 
1169  if(tag){}
1170  Service_content_str = malloc(1024 + (*size)*16);
1172  memcpy(Service_buffer, (char *)buffer, *size);
1173  Service_size = *size;
1175  if((*size == 4 ) && (*buffer == -1))
1176  {
1178  "Service %s Not Available\n", Curr_service_name);
1179  }
1180  else
1181  {
1182  switch(Curr_service_print_type)
1183  {
1184  case 0:
1186  break;
1187  /*
1188  case 1:
1189  print_service_float(buffer, ((*size - 1) / 4) + 1);
1190  break;
1191  case 2:
1192  print_service_double(buffer, ((*size - 1) / 4) + 1);
1193  break;
1194  */
1195  }
1196  }
1198  /*
1199  if(Matrix_id[Curr_matrix])
1200  XFlush(XtDisplay(Matrix_id[Curr_matrix]));
1201  */
1202 }
int Service_size
Definition: didMarkus.c:22
Widget Content_label_id
Definition: did.h:60
int Curr_service_print_type
Definition: didMarkus.c:14
void * malloc()
Definition: EventBuilder.cc:99
void print_service_formatted(void *buff, int size)
Definition: didMarkus.c:1204
char * Service_buffer
Definition: didMarkus.c:21
char Curr_service_name[132]
Definition: didMarkus.c:12
void set_something()
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
int size
Definition: db_dim_server.c:17
void get_service_format()
Definition: didMarkus.c:1118
char * Service_content_str
Definition: didMarkus.c:20
sprintf(name1,"NewService%d", i)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: