#include <sq.h>
There is one search queue per node, placed above the message queue. It is only fed by the queries sent by ourselves. Its purpose is to delay queries to avoid flooding a single connection.
Data Fields | |
GList * | searches |
A pointer to the GList. | |
GHashTable * | handles |
Keeps track of search handles in queue. | |
gnutella_node * | node |
Node owning this search queue, or NULL. | |
time_t | last_sent |
Time last msg was sent. | |
guint | count |
Count of number in queue. | |
gint | n_sent |
Number of searches sent. | |
gint | n_dropped |
Number dropped due to flow control. |
|
Count of number in queue.
|
|
Keeps track of search handles in queue.
|
|
Time last msg was sent.
|
|
Number dropped due to flow control.
|
|
Number of searches sent.
|
|
Node owning this search queue, or NULL.
|
|
A pointer to the GList.
|