Lines Matching refs:cups

197 	smb_cups_ops_t	*cups;  in smbd_spool_copyfile()  local
227 if ((cups = smbd_cups_ops()) == NULL) in smbd_spool_copyfile()
230 if ((http = cups->httpConnect("localhost", 631)) == NULL) { in smbd_spool_copyfile()
236 if ((request = cups->ippNew()) == NULL) { in smbd_spool_copyfile()
244 language = cups->cupsLangDefault(); in smbd_spool_copyfile()
246 cups->ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_CHARSET, in smbd_spool_copyfile()
247 "attributes-charset", NULL, cups->cupsLangEncoding(language)); in smbd_spool_copyfile()
249 cups->ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, in smbd_spool_copyfile()
268 cups->ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, in smbd_spool_copyfile()
271 cups->ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, in smbd_spool_copyfile()
281 cups->ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, in smbd_spool_copyfile()
286 cups->ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, in smbd_spool_copyfile()
291 response = cups->cupsDoFileRequest(http, request, uri, in smbd_spool_copyfile()
298 cups->ippErrorString(cups->cupsLastError())); in smbd_spool_copyfile()
306 cups->ippErrorString(cups->cupsLastError())); in smbd_spool_copyfile()
314 cups->ippDelete(response); in smbd_spool_copyfile()
317 cups->cupsLangFree(language); in smbd_spool_copyfile()
320 cups->httpClose(http); in smbd_spool_copyfile()
444 smb_cups_ops_t *cups; in smbd_share_printers() local
453 if ((cups = smbd_cups_ops()) == NULL) in smbd_share_printers()
462 num_dests = cups->cupsGetDests(&dests); in smbd_share_printers()
482 cups->cupsFreeDests(num_dests, dests); in smbd_share_printers()