| 972 | */ |
| 973 | |
| 974 | int /* O - 1 on success, 0 on failure */ |
| 975 | cupsArraySave(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 | /* |
no outgoing calls