#include "kernel/root.h"
Functions | |
| static void | s_GetParent (void *o, Cmd *cmd) |
| static void | s_GetFront (void *o, Cmd *cmd) |
| static void | s_GetBack (void *o, Cmd *cmd) |
| static void | s_GetNext (void *o, Cmd *cmd) |
| static void | s_GetPrev (void *o, Cmd *cmd) |
| static void | s_GetChildren (void *o, Cmd *cmd) |
| static void | s_SetID (void *o, Cmd *cmd) |
| static void | s_GetID (void *o, Cmd *cmd) |
| static void | s_GetFullPath (void *o, Cmd *cmd) |
| static void | s_Find (void *o, Cmd *cmd) |
| static void | s_Sort (void *o, Cmd *) |
| static void | s_GetTreeSize (void *o, Cmd *cmd) |
| void | s_InitRoot_cmds (Class *cl) |
| static void s_Find | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Finds a child object with a given name, NULL if not found.
| static void s_GetBack | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns last child object, or NULL if no child objects exist.
| static void s_GetChildren | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns a list of all children.
| static void s_GetFront | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns first child object, or NULL if no child objects exist.
| static void s_GetFullPath | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns the full pathname of the object.
| static void s_GetID | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns the object's name without path.
| static void s_GetNext | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns next object in the same hierarchy level, NULL if no next object exists.
| static void s_GetParent | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns the parent object. If the object doesn't have a parent object (this is only valid for the root object '/'), NULL will be returned.
| static void s_GetPrev | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns previous object in the same hierarchy level, NULL if no previous object exists.
| static void s_GetTreeSize | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Recursive version of GetInstanceSize(). Returns the summed the size of all children.
| void s_InitRoot_cmds | ( | Class * | cl | ) |
| static void s_SetID | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Gives the object a new name. Name may not contain any path components!
| static void s_Sort | ( | void * | o, | |
| Cmd * | ||||
| ) | [static] |
Sort all child objects alphabetically.
1.5.3