| 531 | */ |
| 532 | |
| 533 | int /* O - Number of conflicts */ |
| 534 | ppdMarkOption(ppd_file_t *ppd, /* I - PPD file record */ |
| 535 | const char *option, /* I - Keyword */ |
| 536 | const char *choice) /* I - Option name */ |
| 537 | { |
| 538 | DEBUG_printf(("ppdMarkOption(ppd=%p, option=\"%s\", choice=\"%s\")", |
| 539 | ppd, option, choice)); |
| 540 | |
| 541 | /* |
| 542 | * Range check input... |
| 543 | */ |
| 544 | |
| 545 | if (!ppd || !option || !choice) |
| 546 | return (0); |
| 547 | |
| 548 | /* |
| 549 | * Mark the option... |
| 550 | */ |
| 551 | |
| 552 | ppd_mark_option(ppd, option, choice); |
| 553 | |
| 554 | /* |
| 555 | * Return the number of conflicts... |
| 556 | */ |
| 557 | |
| 558 | return (ppdConflicts(ppd)); |
| 559 | } |
| 560 | |
| 561 | |
| 562 | /* |