If non-NULL, the commands in @c chain will be registered in the same context and scope of this registration record. This allows modules to inherit lists commands from other modules.
Related Functions
Found 6 other functions taking a command_registration
argument:
Register one or more commands in the specified context, as children of @c parent (or top-level commends, if NULL). In a registration's record contains a non-NULL @c chain member and name is NULL, the commands on the chain will be registered in the same context. Otherwise, the chained commands are added as children of the command.
Register one or more commands, as register_commands(), plus specify a pointer to command private data that would be accessible through the macro CMD_DATA. The private data will not be freed when command is unregistered.