Lines Matching refs:dsb
123 static int qmgr_deliver_final_reply(VSTREAM *stream, DSN_BUF *dsb)
131 RECV_ATTR_FUNC(dsb_scan, (void *) dsb),
249 static DSN_BUF *dsb;
262 if (dsb == 0)
263 dsb = dsb_create();
277 status = qmgr_deliver_final_reply(entry->stream, dsb);
294 DSN_SIMPLE(&dsb->dsn, "4.3.0", whatsup));
298 DSN_SIMPLE(&dsb->dsn, "4.3.0",
319 qmgr_defer_transport(transport, &dsb->dsn);
338 if (VSTRING_LEN(dsb->status)) {
340 if (!dsn_valid(vstring_str(dsb->status)))
341 vstring_strcpy(dsb->status, "4.0.0");
342 if (VSTRING_LEN(dsb->reason) == 0)
343 vstring_strcpy(dsb->reason, "unknown error");
344 vstring_prepend(dsb->reason, SUSPENDED, sizeof(SUSPENDED) - 1);
346 qmgr_queue_throttle(queue, DSN_FROM_DSN_BUF(dsb));
348 qmgr_defer_todo(queue, &dsb->dsn);
359 if (VSTRING_LEN(dsb->reason) == 0)