mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 11:43:11 +02:00
Get rid of INCLUDE_NOTLOADED and INCLUDE_USED which AFAICT are
unnecessary. Get rid of load_includes() which did the marking and unload_notloaded_includes() and unload_loaded_includes() accordingly. There's now one single free_all_includes().
This commit is contained in:
+2
-16
@@ -1889,22 +1889,8 @@ struct ConfigItem_alias_format {
|
||||
Match *expr;
|
||||
};
|
||||
|
||||
/**
|
||||
* In a rehash scenario, conf_include will contain all of the included
|
||||
* configs that are actually in use. It also will contain includes
|
||||
* that are being processed so that the configuration may be updated.
|
||||
* INCLUDE_NOTLOADED is set on all of the config files that are being
|
||||
* loaded and unset on already-loaded files. See
|
||||
* unload_loaded_includes() and load_includes().
|
||||
*/
|
||||
#define INCLUDE_NOTLOADED 0x1
|
||||
#define INCLUDE_REMOTE 0x2
|
||||
#define INCLUDE_DLQUEUED 0x4
|
||||
/**
|
||||
* Marks that an include was loaded without error. This seems to
|
||||
* overlap with the INCLUDE_NOTLOADED meaning(?). --binki
|
||||
*/
|
||||
#define INCLUDE_USED 0x8
|
||||
#define INCLUDE_REMOTE 0x1
|
||||
#define INCLUDE_DLQUEUED 0x2
|
||||
|
||||
struct ConfigItem_include {
|
||||
ConfigItem_include *prev, *next;
|
||||
|
||||
Reference in New Issue
Block a user