int hop;
int hlined = 0;
int llined = 0;
- dlink_node *ptr;
+ rb_dlink_node *ptr;
name = parv[1];
hop = atoi(parv[2]);
* leaf. If so, close the link.
*
*/
- DLINK_FOREACH(ptr, hubleaf_conf_list.head)
+ RB_DLINK_FOREACH(ptr, hubleaf_conf_list.head)
{
hub_p = ptr->data;
struct Client *target_p;
struct remote_conf *hub_p;
hook_data_client hdata;
- dlink_node *ptr;
+ rb_dlink_node *ptr;
int hop;
int hlined = 0;
int llined = 0;
* H: allows it to introduce a server matching that mask
* L: disallows it introducing a server matching that mask
*/
- DLINK_FOREACH(ptr, hubleaf_conf_list.head)
+ RB_DLINK_FOREACH(ptr, hubleaf_conf_list.head)
{
hub_p = ptr->data;