20 return (entry != NULL);
63 return (entry != NULL);
104 return (entry != NULL);
207 return (entry != NULL);
Legacy shared-memory maps for the page-based allocator: reserved page ids, map entry layouts and the ...
Static algorithms shared by all bitfield-indexed maps in the data-maps segment.
static bool GetEntryName(char *data, ID id, char *name, uint32 maxSize)
Copy the entry name.
static ID GetEntryID(char *data, const char *name, bool force=false)
Case-insensitive reverse lookup: find the id registered under name.
static bool DeleteEntry(char *data, ID id)
Free the entry and its bit.
static bool GetCrankID(const char *name, uint16 &id)
static bool CreateNewTypeLevel(uint16 id, const char *name, uint64 time=0)
static bool GetCrankScript(uint16 id, char *script, uint32 maxSize)
static uint64 GetCrankCreateTime(uint16 id)
static bool CreateNewTopic(uint8 id, const char *name)
static bool DeleteTopic(const char *name)
static uint64 GetTypeLevelCreateTime(uint16 id)
static bool GetTypeLevelID(const char *name, uint16 &id)
static bool GetTopicName(uint32 id, char *name, uint32 maxSize)
static bool CreateNewContextLevel(uint16 id, const char *name, uint64 time=0)
static bool GetCrankFunction(uint16 id, char *function, uint32 maxSize)
static bool DeleteTypeLevel(const char *name)
static bool GetContextLevelID(const char *name, uint16 &id)
static bool GetContextLevelName(uint16 id, char *name, uint32 maxSize)
static bool DeleteCrank(uint16 id)
static bool GetTopicID(const char *name, uint32 &id)
static bool GetCrankLibraryFilename(uint16 id, char *libraryFilename, uint32 maxSize)
static uint64 GetContextLevelCreateTime(uint16 id)
static bool SetCrankScript(uint16 id, const char *script)
static bool DeleteContextLevel(const char *name)
static bool GetTypeLevelName(uint16 id, char *name, uint32 maxSize)
static uint64 GetTopicCreateTime(uint32 id)
static bool GetCrankName(uint16 id, char *name, uint32 maxSize)
static bool CreateNewCrank(uint16 id, const char *name, const char *function, const char *libraryFilename, uint64 time=0)
uint32 strcpyavail(char *dst, const char *src, uint32 maxlen, bool copyAvailable)
Bounded strcpy that always NUL-terminates.
Context-map entry: one registered psychological/system context name/id.
Crank-map entry: one registered crank (user callback/script) with its function, library and inline sc...
char function[MAXKEYNAMELEN+1]
char script[MAXSCRIPTLEN+1]
char libraryFilename[MAXKEYNAMELEN+1]
Type-map entry: one registered message type name/id.