int flux_requeue (flux_t *h, const flux_msg_t *msg, int flags);
flux_requeue() requeues a msg in handle h. The message
can be received with
flux_recv() as though it arrived from the broker.
flags must be set to one of the following values:
- msg is placed at the tail of the message queue.
- msg is placed at the head of the message queue.
flux_requeue() return zero on success.
On error, -1 is returned, and errno is set appropriately.
- Some arguments were invalid.
- Out of memory.
flux_open(3), flux_recv(3), flux_send(3)