D | demo_netx_duo_mdns.c | 191 static void register_local_service(UCHAR *instance, UCHAR *type, UCHAR *subtype, UCHAR *txt, UINT t… in register_local_service() argument 196 …status = nx_mdns_service_add(&mdns, instance, type, subtype, txt, ttl, (USHORT)priority, (USHORT)w… in register_local_service() 199 printf("Local Service Added: %s %s ", instance, type); in register_local_service() 208 static void delete_local_service(UCHAR *instance, UCHAR *type, UCHAR *subtype) in delete_local_service() argument 212 if(instance) in delete_local_service() 213 printf("instance: %s ", instance); in delete_local_service() 219 status = nx_mdns_service_delete(&mdns, instance, type, subtype); in delete_local_service() 242 static void perform_oneshot_query(UCHAR *instance, UCHAR *type, UCHAR *subtype, UINT timeout) in perform_oneshot_query() argument 247 if(instance) in perform_oneshot_query() 248 printf("instance: %s ", instance); in perform_oneshot_query() [all …]
|