| 813 | */ |
| 814 | |
| 815 | _ipp_option_t * /* O - Attribute information */ |
| 816 | _ippFindOption(const char *name) /* I - Option/attribute name */ |
| 817 | { |
| 818 | _ipp_option_t key; /* Search key */ |
| 819 | |
| 820 | |
| 821 | /* |
| 822 | * Lookup the proper value and group tags for this option... |
| 823 | */ |
| 824 | |
| 825 | key.name = name; |
| 826 | |
| 827 | return ((_ipp_option_t *)bsearch(&key, ipp_options, |
| 828 | sizeof(ipp_options) / sizeof(ipp_options[0]), |
| 829 | sizeof(ipp_options[0]), |
| 830 | (int (*)(const void *, const void *)) |
| 831 | compare_ipp_options)); |
| 832 | } |
| 833 | |
| 834 | |
| 835 | /* |
no outgoing calls