Sun StorageTek 5800 System Client API Reference Guide

hc_session_get_schema

Gets schema object associated with this session.

Synopsis

     hcerr_t hc_session_get_schema (hc_session_t *session,
          hc_schema_t **schemap);

Description

This function returns the current schema object associated with this session.

Parameters

session

IN: The session object.

schemap

OUT: Updated to be the schema associated with the current session. schemap should not be modified by the application and will persist until the next call to hc_session_free, at which time it will be implicitly released.

Return Codes

     HCERR_OK
     HCERR_BAD_REQUEST
     HCERR_OOM
     HCERR_NULL_SESSION
     HCERR_INVALID_SESSION