Functions

resources.h File Reference

#include "common/common.h"
Include dependency graph for resources.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int getResourceNamespaceCount (void) throw ()
 retrieve the number of resource namespaces
const char * getResourceNamespaceName (IN int index) throw ()
 retrieve the indexed namespace name. Returns NULL on invalid input
int getResourceCount (IN const char *nameSpace) throw ()
 retrieve the number of resources in the specified resource namespace
const char * getResourceName (IN const char *nameSpace, IN int index) throw ()
 retrieve name of the indexed resource within the given resource namespace returns NULL if index is invalid.
int getResourceSize (IN const char *nameSpace, IN const char *name) throw ()
 retrieve information about a named resource in the given namespace returns 0 if name is not found
const byte_t * getResourceData (IN const char *nameSpace, IN const char *name) throw ()
 retrieve resource data by name (returns NULL if not found).
void registerResource (IN const char *nameSpace, IN const char *name, IN const byte_t *value, IN int bytes)
 register a new resource.