Lines Matching defs:dest

148 	char *dest;
165 dest = printer_name_from_uri_id(name, -1);
167 if (strcmp(dest, "_default") == 0) {
180 dest = _default;
183 if (isprinter(dest) != 0) {
184 pst = lpsched_printer_configuration_to_attributes(svc, p, dest);
189 if (snd_msg(svc, S_INQUIRE_PRINTER_STATUS, dest) < 0)
201 } else if (isclass(dest) != 0) {
202 pst = lpsched_class_configuration_to_attributes(svc, p, dest);
207 if (snd_msg(svc, S_INQUIRE_CLASS, dest) < 0)
217 } else if (strcmp(dest, "PrintService") == 0) {
223 free(dest);
234 char *dest;
239 dest = printer_name_from_uri_id(name, -1);
241 if (isprinter(dest) != 0) {
242 status = lpsched_add_modify_printer(handle, dest,
247 dest);
251 } else if (isclass(dest) != 0) {
252 status = lpsched_add_modify_class(handle, dest, attributes);
256 dest);
263 free(dest);
274 char *dest;
279 dest = printer_name_from_uri_id(name, -1);
281 if (isprinter(dest) != 0) {
282 status = lpsched_add_modify_printer(handle, dest,
287 dest);
290 } else if (isclass(dest) != 0) {
291 status = lpsched_add_modify_class(handle, dest, attributes);
295 dest);
301 free(dest);
310 char *dest;
315 dest = printer_name_from_uri_id(name, -1);
317 if (isprinter(dest) != 0) {
318 result = lpsched_remove_printer(handle, dest);
319 } else if (isclass(dest) != 0) {
320 result = lpsched_remove_class(handle, dest);
324 free(dest);
388 char *dest;
394 dest = printer_name_from_uri_id(name, -1);
395 more = snd_msg(svc, S_CANCEL, dest, "", "");
396 free(dest);
437 char *dest;
444 dest = printer_name_from_uri_id(name, -1);
446 rc = snd_msg(svc, S_INQUIRE_REQUEST_RANK, 0, "", dest, "", "", "");
447 free(dest);
453 char *dest = NULL,
467 &owner, &slabel, &size, &date, &state, &dest,
495 date, state, dest, form, charset, rank, file);