#include "mq.h"
#include "pmsg.h"
#include "if/core/hosts.h"
Go to the source code of this file.
Functions | |
mqueue_t * | mq_udp_make (gint maxsize, struct gnutella_node *n, struct txdriver *nd) |
Create new message queue capable of holding `maxsize' bytes, and owned by the supplied node. | |
void | mq_udp_putq (mqueue_t *q, pmsg_t *mb, gnet_host_t *to) |
Enqueue message, which becomes owned by the queue. | |
void | mq_udp_node_putq (mqueue_t *q, pmsg_t *mb, struct gnutella_node *n) |
|
Create new message queue capable of holding `maxsize' bytes, and owned by the supplied node.
|
|
|
|
Enqueue message, which becomes owned by the queue. The data held in `to' is copied, so the structure can be reclaimed immediately by the caller. |