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

Function cupsArrayFirst

cups/array.c:531–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529 */
530
531void * /* O - First element or @code NULL@ if the array is empty */
532cupsArrayFirst(cups_array_t *a) /* I - Array */
533{
534 /*
535 * Range check input...
536 */
537
538 if (!a)
539 return (NULL);
540
541 /*
542 * Return the first element...
543 */
544
545 a->current = 0;
546
547 return (cupsArrayCurrent(a));
548}
549
550
551/*

Callers 15

mainFunction · 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
cupsdStopAllNotifiersFunction · 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