MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsArrayNext

Function cupsArrayNext

cups/array.c:812–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

810 */
811
812void * /* O - Next element or @code NULL@ */
813cupsArrayNext(cups_array_t *a) /* I - Array */
814{
815 /*
816 * Range check input...
817 */
818
819 if (!a)
820 return (NULL);
821
822 /*
823 * Return the next element...
824 */
825
826 if (a->current < a->num_elements)
827 a->current ++;
828
829 return (cupsArrayCurrent(a));
830}
831
832
833/*

Callers 15

mainFunction · 0.85
get_serviceFunction · 0.85
do_testFunction · 0.85
clean_jobsFunction · 0.85
create_printerFunction · 0.85
ipp_get_jobsFunction · 0.85
load_legacy_attributesFunction · 0.85
load_ppd_attributesFunction · 0.85
show_statusFunction · 0.85
cupsdAddSubscriptionFunction · 0.85
cupsdExpireSubscriptionsFunction · 0.85

Calls 1

cupsArrayCurrentFunction · 0.85

Tested by 8

mainFunction · 0.68
add_ppd_filtersFunction · 0.68
type_dirFunction · 0.68
list_nodesFunction · 0.68
check_translationsFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68