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

Function cupsArrayIndex

cups/array.c:592–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590 */
591
592void * /* O - N-th element or @code NULL@ */
593cupsArrayIndex(cups_array_t *a, /* I - Array */
594 int n) /* I - Index into array, starting at 0 */
595{
596 if (!a)
597 return (NULL);
598
599 a->current = n;
600
601 return (cupsArrayCurrent(a));
602}
603
604
605/*

Callers 14

cupsdAddEventFunction · 0.85
check_rss_recipientFunction · 0.85
get_jobsFunction · 0.85
get_notificationsFunction · 0.85
get_subscriptionsFunction · 0.85
mainFunction · 0.85
show_all_classesFunction · 0.85
show_all_printersFunction · 0.85
httpCredentialsGetTrustFunction · 0.85
ppdFindNextAttrFunction · 0.85
httpCredentialsGetTrustFunction · 0.85

Calls 1

cupsArrayCurrentFunction · 0.85

Tested by

no test coverage detected