Log in | Back to darenet.org

ircd/api/features

Overview

As of u2.10.11 (which what ircd-darenet 1.x is based upon), most of the compile-time configuration options present in previous versions of ircu have been provided via the configuration file as "features." This document is intended not only to give an explanation of how to use the features subsystem in new code, but also how to define new features.

In the ircd_features.h header file is an enum Feature that lists all the features known to the features subsystem. The order of the entries in this list must match precisely the order of the features as listed in the features[] table in ircd_features.c. There are four kinds of features, seven different flags that can be set for features, and seven different call-backs for more complex features.