Lines Matching defs:queue
5 /* queue scanning
19 /* This module implements queue scans. A queue scan always runs
21 /* can request that a queue scan be restarted once it completes.
23 /* qmgr_scan_create() creates a context for scanning the named queue,
24 /* but does not start a queue scan.
26 /* qmgr_scan_next() returns the base name of the next queue file.
28 /* automagically restarts a queue scan when a scan request had
31 /* qmgr_scan_request() records a request for the next queue scan. The
39 /* immediately when a queue scan is in progress, and affects
40 /* the next queue scan.
42 /* Ignore queue file time stamps. This takes effect immediately
43 /* when a queue scan is in progress, and affects the next queue
46 /* Start a queue scan when none is in progress, or restart the
80 /* qmgr_scan_start - start queue scan */
90 msg_panic("%s: %s queue scan in progress",
91 myname, scan_info->queue);
97 msg_info("%s: %sstart %s queue scan",
100 scan_info->queue);
107 scan_info->handle = scan_dir_open(scan_info->queue);
118 * during an already ongoing queue scan, otherwise the throttling will
152 /* qmgr_scan_next - look for next queue file */
159 * Restart the scan if we reach the end and a queue scan request has
165 msg_info("done %s queue scan", scan_info->queue);
174 /* qmgr_scan_create - create queue scan context */
176 QMGR_SCAN *qmgr_scan_create(const char *queue)
181 scan_info->queue = mystrdup(queue);