19 if((*size == 4 ) && (*buffer ==
no_link))
21 printf(
"Service %s Not Available\n",
str);
25 printf(
"Service %s Contents :\n",
str);
42 printf(
"Service Name > ");
64 for( i = 0; i <
size; i++)
68 printf(
" %08X ",buff[i]);
73 for(j = 0; j <16; j++)
85 printf(
"%11d ",last[j]);
88 asc = (
char *)&buff[i+1];
94 for(j = 0; j < 4 - (i%4); j++)
97 for(j = 0; j < (i%4) * 4; j++)
105 for(j = 0; j < (i%4); j++)
109 printf(
"%11d ",last[j]);
int main(int argc, char **argv)
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)
void print_service(int *buff, int size)
sprintf(name1,"NewService%d", i)
void rout(int *tag, int *buffer, int *size)