xref: /aosp_15_r20/external/libcups/doc/help/man-notifier.html (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)
1*5e7646d2SAndroid Build Coastguard Worker<!DOCTYPE HTML>
2*5e7646d2SAndroid Build Coastguard Worker<html>
3*5e7646d2SAndroid Build Coastguard Worker<!-- SECTION: Man Pages -->
4*5e7646d2SAndroid Build Coastguard Worker<head>
5*5e7646d2SAndroid Build Coastguard Worker	<link rel="stylesheet" type="text/css" href="../cups-printable.css">
6*5e7646d2SAndroid Build Coastguard Worker	<title>notifier(7)</title>
7*5e7646d2SAndroid Build Coastguard Worker</head>
8*5e7646d2SAndroid Build Coastguard Worker<body>
9*5e7646d2SAndroid Build Coastguard Worker<h1 class="title">notifier(7)</h1>
10*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="NAME">Name</a></h2>
11*5e7646d2SAndroid Build Coastguard Workernotifier - cups notification interface
12*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
13*5e7646d2SAndroid Build Coastguard Worker<b>notifier</b>
14*5e7646d2SAndroid Build Coastguard Worker<i>recipient</i>
15*5e7646d2SAndroid Build Coastguard Worker[
16*5e7646d2SAndroid Build Coastguard Worker<i>user-data</i>
17*5e7646d2SAndroid Build Coastguard Worker]
18*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
19*5e7646d2SAndroid Build Coastguard WorkerThe CUPS notifier interface provides a standard method for adding support for new event notification methods to CUPS.
20*5e7646d2SAndroid Build Coastguard WorkerEach notifier delivers one or more IPP events from the standard input to the specified recipient.
21*5e7646d2SAndroid Build Coastguard Worker<p>Notifiers <b>MUST</b> read IPP messages from the standard input using the
22*5e7646d2SAndroid Build Coastguard Worker<b>ippNew</b>()
23*5e7646d2SAndroid Build Coastguard Workerand
24*5e7646d2SAndroid Build Coastguard Worker<b>ippReadFile</b>()
25*5e7646d2SAndroid Build Coastguard Workerfunctions and exit on error.
26*5e7646d2SAndroid Build Coastguard WorkerNotifiers are encouraged to exit after a suitable period of inactivity, however they may exit after reading the first message or stay running until an error is seen.
27*5e7646d2SAndroid Build Coastguard WorkerNotifiers inherit the environment and can use the logging mechanism documented in
28*5e7646d2SAndroid Build Coastguard Worker<b>filter</b>(7).
29*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
30*5e7646d2SAndroid Build Coastguard Worker<b>cupsd</b>(8),
31*5e7646d2SAndroid Build Coastguard Worker<b>filter</b>(7),
32*5e7646d2SAndroid Build Coastguard WorkerCUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
33*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
34*5e7646d2SAndroid Build Coastguard WorkerCopyright &copy; 2007-2019 by Apple Inc.
35*5e7646d2SAndroid Build Coastguard Worker
36*5e7646d2SAndroid Build Coastguard Worker</body>
37*5e7646d2SAndroid Build Coastguard Worker</html>
38