-/* send_links_cache()
- *
- * inputs - client to send to
- * outputs - the cached links, us, and RPL_ENDOFLINKS
- * side effects -
- */
-static void
-send_links_cache(struct Client *source_p)
-{
- dlink_node *ptr;
-
- DLINK_FOREACH(ptr, links_cache_list.head)
- {
- sendto_one(source_p, ":%s 364 %s %s",
- me.name, source_p->name, (const char *)ptr->data);
- }
-
- sendto_one_numeric(source_p, RPL_LINKS, form_str(RPL_LINKS),
- me.name, me.name, 0, me.info);
-
- sendto_one_numeric(source_p, RPL_ENDOFLINKS, form_str(RPL_ENDOFLINKS), "*");
-}
-