ppd_get_num_conflicts(3)

ppd_get_num_conflicts3

Check a ppd file for conflicts

Usage

#include <ppd.h>

int ppd_get_num_conflicts (PpdFile *ppd);

Overview

The ppd_get_num_conflicts() function is used to determine the number of option conflicts within a given PPD file. The input to ppd_get_num_conflicts is a pointer to a PpdFile structure which is obtained by one of the ppd_file_new(3) functions.

Return value

The integer returned from the functions is the number of option conflicts located in the PPD file. Note that if the input parameter is a NULL pointer, the function will return 0.

Releases

Unchanged in 11 releases since Debian 3.0 (Woody).

  1. 3.0–12

Author

This man page was written by Gerald Carter <[email protected]>. It was updated by Mark Fasheh <[email protected]> to reflect changes in libppd 0.5 Some of the code for these functions was originally part of the Common UNIX Printing System (CUPS).

From libppd-dev 2:0.10-9 in Debian 12 (Bookworm). Parsed by carta from the page's man source.