Definition at line 1824 of file dns.c.
References node::conn_id, Debug, dim_print_date_time(), dis_get_conn_id(), dis_selective_update_service, find_services(), Memory::free(), i, Memory::malloc(), MAX_NAME, Net_conns, Rpc_id, Rpc_info, Rpc_info_size, serv::serv_def, serv::serv_id, serv::serv_name, service_exists(), and node::servp.
Referenced by main().
1827 int i, n, rpc,
id[2], conn_id;
1836 printf(
" Got Browse Request <%s> from conn: %d %s@%s\n",
buffer, conn_id,
1844 printf(
" Browse Request <%s> found %d services\n",
buffer, n);
1859 for(i = 0; i < n; i++)
1866 if( (ptr = strstr(aux,
"/RpcIn")) )
1870 if( (ptr = strstr(Rpc_info, aux)) )
1872 ptr += (int)strlen(aux);
1877 if( (ptr = strstr(aux,
"/RpcOut")) )
1881 if( (ptr = strstr(Rpc_info, aux)) )
1883 ptr += (int)strlen(aux);
1890 strcpy(rpcaux, aux);
1892 strcat(aux,
"/RpcIn");
1895 strcat(rpcaux, aux_servp->
serv_def);
1897 ptr = strstr(aux,
"/RpcIn");
1899 strcat(aux,
"/RpcOut");
1902 strcat(rpcaux,aux_servp->
serv_def);
1903 strcat(rpcaux,
"|RPC\n");
1904 strcpy(rpcptr, rpcaux);
1905 rpcptr += (int)strlen(rpcaux);
1915 if(servp->
serv_id & 0x10000000)
1916 strcat(rpcaux,
"|CMD\n");
1918 strcat(rpcaux,
"|\n");
1919 strcpy(rpcptr, rpcaux);
1920 rpcptr += (int)strlen(rpcaux);
#define dis_selective_update_service
DllExp DIM_NOSHARE NET_CONNECTION * Net_conns
int find_services(char *wild_name)
DNS_SERVICE * service_exists(char *name)
void dim_print_date_time()
static DNS_SERVICE ** Service_info_list