Lines Matching full:service
138 "%s: Service name is too long (must be 63 characters or less)\n",
145 fprintf(stderr, "%s: Service name can't be empty\n", gProgramName);
153 // Checks that serviceType is a reasonable service type
163 "%s: Service type is too long (must be 63 characters or less)\n",
171 "%s: Service type can't be empty\n",
220 fprintf(stderr, " -n uses 'name' as the service name (required)\n");
221 fprintf(stderr, " -t uses 'type' as the service type (default is '%s')\n", kDefaultServiceType);
222 fprintf(stderr, " -d uses 'domain' as the service domain (default is '%s')\n", kDefaultServiceDomain);
224 fprintf(stderr, " -f reads a service list from 'file'\n");
339 fprintf(stderr, "%s: You must specify a service name to register (-n) or a service file (-f).\n", gProgramName);
376 // pick a new unique name for the service. For a device such as a
380 // the service.
456 "%s: Registered service %d, name \"%s\", type \"%s\", domain \"%s\", port %ld\n",
525 // Read the service name, type, port, and optional text record fields.
526 // Skip blank lines while looking for the next service name.
530 // Special case that allows service name to begin with a '#'
533 // registering the service.
538 fprintf(stderr, "Service name: \"%s\"\n", name);
541 // service name since the next blank line indicates the end
542 // of this service record.
558 fprintf(stderr, "Service type: \"%s\"\n", type);
559 fprintf(stderr, "Service domain: \"%s\"\n", dom);
565 fprintf(stderr, "Service port: %s\n", port);
595 fprintf(stderr, "%s: Failed to register service, name \"%s\", type \"%s\", domain \"%s\", port %s\n",
602 fprintf(stderr, "%s: Error reading service file %s\n", gProgramName, filePath);
644 "%s: Deregistered service %d\n",