beautypg.com

Hc_pstmt_create, Synopsis, Description – Sun Microsystems Sun StorageTek 5800 User Manual

Page 100: Parameters, Return codes, See also

background image

hc_pstmt_create

Creates an

“hc_pstmt_t” on page 49

for use with the

“hc_pstmt_query_ez” on page 109

function.

Synopsis

hcerr_t hc_pstmt_create(hc_session_t *session,

hc_string_t query,

hc_pstmt_t **ptr);

Description

This function creates a prepared statement for use with the

“hc_pstmt_query_ez” on page 109

function.

Parameters

session

IN: session that this query will be used with.

query

IN: Query (where clause with ”?’ for values).

ptr

OUT: Updated to point to opaque

“hc_pstmt_t” on page 49

.

Return Codes

HCERR_OK

HCERR_OOM

See Also

“hc_pstmt_query_ez” on page 109

Synchronous C API Functions

Sun StorageTek 5800 System Client API Reference Manual • June 2008

100