Lines Matching refs:service_path
16 char service_path[SERVREG_NAME_LENGTH + 1]; member
61 void (*status)(int state, char *service_path, void *priv);
134 strscpy(req.service_path, pds->service_path, sizeof(req.service_path)); in pdr_register_listener()
149 pds->service_path, ret); in pdr_register_listener()
155 pds->service_path, resp.resp.error); in pdr_register_listener()
190 pdr->status(pds->state, pds->service_path, pdr->priv); in pdr_notifier_work()
260 strscpy(req.service_path, pds->service_path, sizeof(req.service_path)); in pdr_send_indack_msg()
285 pdr->status(pds->state, pds->service_path, pdr->priv); in pdr_indack_work()
309 if (!ind_msg || !ind_msg->service_path[0] || in pdr_indication_cb()
310 strlen(ind_msg->service_path) > SERVREG_NAME_LENGTH) in pdr_indication_cb()
315 if (strcmp(iter->service_path, ind_msg->service_path)) in pdr_indication_cb()
327 ind_msg->service_path, ind_msg->curr_state, in pdr_indication_cb()
424 if (!strcmp(entry->name, pds->service_path)) { in pdr_locate_service()
459 pdr->status(pds->state, pds->service_path, pdr->priv); in pdr_notify_lookup_failure()
516 const char *service_path) in pdr_add_lookup() argument
525 !service_path || strlen(service_path) > SERVREG_NAME_LENGTH) in pdr_add_lookup()
534 strscpy(pds->service_path, service_path, sizeof(pds->service_path)); in pdr_add_lookup()
539 if (strcmp(tmp->service_path, service_path)) in pdr_add_lookup()
589 strscpy(req.service_path, pds->service_path, sizeof(req.service_path)); in pdr_restart_pd()
595 if (!req.service_path[0]) in pdr_restart_pd()
616 req.service_path, ret); in pdr_restart_pd()
624 req.service_path, resp.resp.error); in pdr_restart_pd()
631 req.service_path, resp.resp.error); in pdr_restart_pd()
649 char *service_path, in pdr_handle_alloc() argument