|
OC Updated for version 2.0
|
Functions | |
| OCerror | oc_fetch (OCobject link, const char *constraint, OCdxd dxdkind, OCflags flags, OCobject *rootp) |
| OCerror | oc_root_free (OCobject link, OCobject ddsroot) |
| const char * | oc_tree_text (OCobject link, OCobject ddsroot) |
| OCerror oc_fetch | ( | OCobject | link, |
| const char * | constraint, | ||
| OCdxd | dxdkind, | ||
| OCflags | flags, | ||
| OCobject * | rootp | ||
| ) |
This procedure is used to send requests to the server to obtain either a DAS, DDS, or DATADDS response and produce a corresponding tree. It fetchs and parses a given class of DXD the server specified at open time, and using a specified set of constraints and flags.
| [in] | link | The link through which the server is accessed. |
| [in] | constraint | The constraint to be applied to the request. |
| [in] | dxdkind | The OCdxd value indicating what to fetch (i.e. DAS, DDS, or DataDDS). |
| [in] | flags | The 'OR' of OCflags to control the fetch: The OCONDISK flag is defined to cause the fetched xdr data to be stored on disk instead of in memory. |
| [out] | rootp | A pointer a location to store the root node of the tree associated with the the request. |
| OC_NOERR | The procedure executed normally. |
| OtherError | One of the arguments (link, etc.) was invalid. |
This procedure reclaims all resources associated with a given tree of objects associated with a given root. If the root is that of a DataDDS, then the associated data tree will be reclaimed as well.
| [in] | link | The link through which the server is accessed. |
| [in] | ddsroot | The root of the tree to be reclaimed. |
| OC_NOERR | The procedure executed normally. |
| OtherError | One of the arguments (link, etc.) was invalid. |
This procedure returns the textual part of a DAS, DDS, or DATADDS request exactly as sent by the server.
| [in] | link | The link through which the server is accessed. |
| [in] | ddsroot | The root of the tree whose text is to be returned. |
| OC_NOERR | The procedure executed normally. |
| OtherError | One of the arguments (link, etc.) was invalid. |
1.7.4