August 2001
Intermediate to advanced
648 pages
11h 18m
English
This appendix describes the functions that are provided in the CUPS API and CUPS Imaging libraries. For a reference on the constants and structures these functions use, please consult Appendices B, C, and D.
cupsAddDest()int cupsAddDest (const char *name, const char *instance, int num_dests, cups_dest_t **dests) ;

The new number of destinations.
The cupsAddDest() function adds a destination to the destinations array. If the destination already exists, then it is not added.
Read now
Unlock full access