/*++ /* NAME /* qmgr_peer 3 /* SUMMARY /* per-job peers /* SYNOPSIS /* #include "qmgr.h" /* /* QMGR_PEER *qmgr_peer_create(job, queue) /* QMGR_JOB *job; /* QMGR_QUEUE *queue; /* /* QMGR_PEER *qmgr_peer_find(job, queue) /* QMGR_JOB *job; /* QMGR_QUEUE *queue; /* /* QMGR_PEER *qmgr_peer_obtain(job, queue) /* QMGR_JOB *job; /* QMGR_QUEUE *queue; /* /* void qmgr_peer_free(peer) /* QMGR_PEER *peer; /* /* QMGR_PEER *qmgr_peer_select(job) /* QMGR_JOB *job; /* /* DESCRIPTION /* These routines add/delete/manipulate per-job peers. /* Each peer corresponds to a specific job and destination. /* It is similar to per-transport queue structure, but groups /* only the entries of the given job. /* /* qmgr_peer_create() creates an empty peer structure for the named /* job and destination. It is an error to call this function /* if a peer for given combination already exists. /* /* qmgr_peer_find() looks up the peer for the named destination /* for the named job. A null result means that the peer /* was not found. /* /* qmgr_peer_obtain() looks up the peer for the named destination /* for the named job. If it doesn't exist yet, it creates it. /* /* qmgr_peer_free() disposes of a per-job peer after all /* its entries have been taken care of. It is an error to dispose /* of a peer still in use. /* /* qmgr_peer_select() attempts to find a peer of named job that /* has messages pending delivery. This routine implements /* round-robin search among job's peers. /* DIAGNOSTICS /* Panic: consistency check failure. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Patrik Rak /* patrik@raxoft.cz
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.