cupsGetDest

Name

cupsGetDest -- Get the named destination from the list.

Synopsis

#include <cups/cups.h>

cups_dest_t * cupsGetDest(const char * name, const char * instance, int num_dests, cups_dest_t * dests);

Description

Get the named destination from the list.

Use the cupsGetDests() or cupsGetDests2() functions to get a list of supported destinations for the current user.

Return Value

Destination pointer or NULL