• Home
  • Raw
  • Download

Lines Matching refs:srv

59 static void		dnssdDeregisterInstance(cupsd_srv_t *srv, int from_callback);
77 static int dnssdRegisterInstance(cupsd_srv_t *srv, cupsd_printer_t *p, char *name, const char *typ…
687 cupsd_srv_t *srv, /* I - Service */ in dnssdDeregisterInstance() argument
690 if (!srv || !*srv) in dnssdDeregisterInstance()
696 DNSServiceRefDeallocate(*srv); in dnssdDeregisterInstance()
698 *srv = NULL; in dnssdDeregisterInstance()
704 if (*srv) in dnssdDeregisterInstance()
706 avahi_entry_group_free(*srv); in dnssdDeregisterInstance()
707 *srv = NULL; in dnssdDeregisterInstance()
960 AvahiEntryGroup *srv, /* I - Service */ in dnssdRegisterCallback() argument
969 "for %s (%s)", srv, state, context, in dnssdRegisterCallback()
984 cupsd_srv_t *srv, /* O - Service */ in dnssdRegisterInstance() argument
1005 if (p && !srv) in dnssdRegisterInstance()
1013 srv = &p->printer_srv; /* Target LPD service */ in dnssdRegisterInstance()
1016 srv = &p->ipps_srv; /* Target IPPS service */ in dnssdRegisterInstance()
1019 srv = &p->ipp_srv; /* Target IPP service */ in dnssdRegisterInstance()
1022 srv = &p->ipp_srv; /* Target service group */ in dnssdRegisterInstance()
1033 if (!*srv) in dnssdRegisterInstance()
1034 *srv = avahi_entry_group_new(DNSSDClient, dnssdRegisterCallback, NULL); in dnssdRegisterInstance()
1035 if (!*srv) in dnssdRegisterInstance()
1074 *srv = DNSSDMaster; in dnssdRegisterInstance()
1075 error = DNSServiceRegister(srv, kDNSServiceFlagsShareConnection, in dnssdRegisterInstance()
1089 error = avahi_entry_group_add_service_strlst(*srv, AVAHI_IF_UNSPEC, in dnssdRegisterInstance()
1135 error = avahi_entry_group_add_service_subtype(*srv, AVAHI_IF_UNSPEC, in dnssdRegisterInstance()
1150 if ((error = avahi_entry_group_commit(*srv)) != 0) in dnssdRegisterInstance()