Lines Matching refs:network
58 # define kLocationNetworkKey CFSTR("Network")
132 CFStringRef network, CFIndex *locindex);
318 CFStringRef network; /* Network location */
339 if ((network = appleCopyNetwork()) == NULL)
342 "network.");
347 * Lookup the network in the preferences...
359 CFRelease(network);
367 if ((locprinter = appleGetPrinter(locations, network, NULL)) != NULL)
370 CFRelease(network);
431 CFStringRef network; /* Current network */
443 if ((network = appleCopyNetwork()) == NULL)
445 DEBUG_puts("1_cupsAppleSetDefaultPrinter: Unable to get current network...");
450 * Lookup the network in the preferences...
454 locprinter = appleGetPrinter(locations, network, &locindex);
489 CFDictionaryAddValue(newlocation, kLocationNetworkKey, network);
523 CFRelease(network);
2533 * 'appleCopyNetwork()' - Get the network ID for the current location.
2536 static CFStringRef /* O - Network ID */
2540 CFStringRef key; /* Current network configuration key */
2541 CFDictionaryRef ip_dict; /* Network configuration data */
2542 CFStringRef network = NULL; /* Current network ID */
2558 if ((network = CFDictionaryGetValue(ip_dict,
2560 CFRetain(network);
2573 if (!network)
2580 if ((network = CFDictionaryGetValue(ip_dict,
2582 CFRetain(network);
2594 return (network);
2635 CFStringRef network, /* I - Network name */
2641 CFStringRef locnetwork, /* Current network */
2652 CFStringCompare(network, locnetwork, 0) == kCFCompareEqualTo &&
2822 AvahiProtocol protocol, /* I - Network protocol (unused) */
2852 * This object is new on the network.
3200 AvahiProtocol protocol, /* I - Network protocol (unused) */