I was just interested in how the Eggdrop queues for putmode, putserv, and puthelp work. I tried looking through the source code to try and find out, but this is all I could find:
Apparently, many of the source files and modules use the dprintf function to add items into the various queues. So, I looked for the dprintf function and found it in dccutil.c. A switch loops comes down to all the queue types:
case DP_SERVER:
case DP_HELP:
case DP_MODE:
case DP_MODE_NEXT:
case DP_SERVER_NEXT:
case DP_HELP_NEXT:
qserver(idx, buf, len);
break;
Now here's the question: Where is the qserver function? I can't seem to find it. Any ideas? Or does anyone know how all the queues work?