prg_graph_create()
Abstract
Creates a graph that is registered with the specified namespace
Syntax
prg_graph_create (namespace_name)
| Argument | Type | Description |
|---|---|---|
namespace_name |
const char * |
The namespace where the graph will be registered |
Return Type
PrgT_Graph *
Returns the graph itself or PRGC_NIL if failure
Header
prg_graph.h
Details
Creates the graph and registers it with the specified namespace. The graph will be able to hold all client states that have handlers registered with the specified namespace. If additional client state handlers are registered with the namespace after the graph is created, the namespace will auto-update the graph. A namespace must exist before the graph is created.