Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bstr_database_get_scope(3) — BASEstar Open Server 3.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

bstr_database_get_scope(3)  —  Subroutines

Name

bstr_database_get_scope − Gets the current database scope. 

Syntax

bstr_t_status bstr_database_get_scope (
                                   bstr_t_database_scope   ∗scope );

 

Description

  The bstr_database_get_scope procedure returns (in scope) the database (Permanent or Volatile) on which API procedure calls currently execute. 

Arguments

 

scope
access: write
Returns the value indicating the current database scope, as follows:

•
 BSTR_C_PERMANENT. Invoked procedures affect the Permanent Object Database (PODB).

•
 BSTR_C_VOLATILE. Invoked procedures affect the Volatile Object Database (VODB).

Return Values

BSTR_S_COM_PC_SIZE_MISMATCH Number of bytes requested does not match the number of bytes returned
BSTR_S_NORMAL Normal successful completion

See Also

 

bstr_database_set_scope #

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026