X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/38e6acddad741b38a475fe3d10dfffb3c6d6c639..af81d5a0b09446188fd6f9c292b51519f2c1cedd:/src/supported.c diff --git a/src/supported.c b/src/supported.c index 3a0b3e2..9dd8395 100644 --- a/src/supported.c +++ b/src/supported.c @@ -89,14 +89,14 @@ #include "s_conf.h" #include "supported.h" -dlink_list isupportlist; +rb_dlink_list isupportlist; struct isupportitem { const char *name; const char *(*func)(const void *); const void *param; - dlink_node node; + rb_dlink_node node; }; void @@ -108,13 +108,13 @@ add_isupport(const char *name, const char *(*func)(const void *), const void *pa item->name = name; item->func = func; item->param = param; - dlinkAddTail(item, &item->node, &isupportlist); + rb_dlinkAddTail(item, &item->node, &isupportlist); } void delete_isupport(const char *name) { - dlink_node *ptr, *next_ptr; + rb_dlink_node *ptr, *next_ptr; struct isupportitem *item; DLINK_FOREACH_SAFE(ptr, next_ptr, isupportlist.head) @@ -123,7 +123,7 @@ delete_isupport(const char *name) if (!strcmp(item->name, name)) { - dlinkDelete(ptr, &isupportlist); + rb_dlinkDelete(ptr, &isupportlist); MyFree(item); } } @@ -133,7 +133,7 @@ delete_isupport(const char *name) void show_isupport(struct Client *client_p) { - dlink_node *ptr; + rb_dlink_node *ptr; struct isupportitem *item; const char *value; char buf[512]; @@ -214,7 +214,7 @@ isupport_chanmodes(const void *ptr) ConfigChannel.use_except ? "e" : "", ConfigChannel.use_invex ? "I" : "", ConfigChannel.use_forward ? "f" : "", - dlink_list_length(&service_list) ? "r" : "", + rb_dlink_list_length(&service_list) ? "r" : "", ConfigChannel.use_forward ? "QF" : ""); return result; }