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

Function cupsArraySave

cups/array.c:974–987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972 */
973
974int /* O - 1 on success, 0 on failure */
975cupsArraySave(cups_array_t *a) /* I - Array */
976{
977 if (!a)
978 return (0);
979
980 if (a->num_saved >= _CUPS_MAXSAVE)
981 return (0);
982
983 a->saved[a->num_saved] = a->current;
984 a->num_saved ++;
985
986 return (1);
987}
988
989
990/*

Callers 15

mime_find_filtersFunction · 0.85
find_fdFunction · 0.85
apple_init_profileFunction · 0.85
apple_register_profilesFunction · 0.85
cupsdCheckJobsFunction · 0.85
cupsdDeletePrinterFunction · 0.85
update_reasonsFunction · 0.85
mainFunction · 0.85
check_constraintsFunction · 0.85
check_caseFunction · 0.85
check_translationsFunction · 0.85
ppd_mark_optionFunction · 0.85

Calls

no outgoing calls

Tested by 4

check_constraintsFunction · 0.68
check_caseFunction · 0.68
check_translationsFunction · 0.68
mainFunction · 0.68