ObjectStore C++ API Reference

Chapter 6

C Library Interface

Although ObjectStore provides C++ class and function libraries, as well as a C++-based language binding, it is possible for plain C programs to access basic ObjectStore functionality. C functions and macros analogous to many of the functions provided in the C++ class and function libraries are listed in this chapter.

Topics

Overview

ObjectStore includes a C library interface that allows access to many of ObjectStore's features directly from C programs. These features include

For information on the C interface for collections and queries, see ObjectStore Collections C++ API Reference.

To access the C library interface include the following directive in your C programs:

      #include <ostore/ostore.h>
Note that this header file provides access to ObjectStore's exception facility, which provides a stock of predefined errors that can be signaled at run time. For more information, see Appendix A, Exception Facility.

If you are using ObjectStore collections, also include

      #include <ostore/coll.h>
Calling the C interface from a C++ main program requires the following directives in the following order:

      #define _PROTOTYPES
      #include <ostore/ostore.hh>
      extern "C" {
#include <ostore/ostore.h>
}
If you are using collections, follow this with

      #include <ostore/coll.hh>
      extern "C" {
#include <ostore/coll.h>
}
The types os_int32 and os_boolean, used throughout this manual, are each defined as a signed 32-bit integer type. The type os_unsigned_int32 is defined as an unsigned 32-bit integer type.

Getting Started

The building blocks of the C library interface are

Building Blocks

objectstore_initialize()

extern void objectstore_initialize();
Must be executed in a process before any use of ObjectStore functionality is made. After the first execution of objectstore_initialize() in a given process, subsequent executions in that process have no effect.

Persistent Allocation and Type Specifiers

You allocate persistent memory with the following functions:

Each of these functions requires an os_typespec as one of its arguments. Functions for creating and manipulating os_typespecs are also described in this section. Persistent storage can be reclaimed using the function objectstore_delete(), which is described here as well.

extern os_typespec * os_alloc_typespec(char * type_string);
Allocates and constructs an os_typespec in transient memory.

The os_typespec represents the type named by the type_string. The type_string can name a built-in type (like char or int), a struct (leave off the reserved word "struct", as in "part"), a pointer-to-built-in (like char*), or a pointer-to-class (like part*). This means, for example, that "part**" is not allowed - use "void*" instead. No spaces are allowed in the type_string, so, for example, the name should contain no spaces before a "*" character.

Examples
      os_typespec *part_type = os_alloc_typespec("line#"); 
      os_typespec *part_ptr_type = os_alloc_typespec("part*"); 
You must mark each struct that your application uses in a persistent context by performing OS_MARK_SCHEMA_TYPE() on it. Call this macro once for each type of struct your application reads from or writes to persistent memory. The calls should appear inside a dummy function definition. The struct name is the argument, and should appear without quotation marks and without the reserved word "struct". See ObjectStore Building C++ Interface Applications.

extern void* os_database_alloc(
                  os_typespec*, /* what is it */
                  os_int32, /* how many? */
                  os_database *, /* which db */
                  os_boolean make_array /* for count==1 */
Allocates persistent storage of the specified type in the specified database. To allocate an array, specify the number of elements in the array with the os_int32 argument, and pass 1 to the os_boolean argument. To allocate a nonarray, pass 1 to the os_int32 argument and pass 0 to the os_boolean argument. This function cannot be used for transient allocation.

extern void* os_segment_alloc(
                  os_typespec *, /* what is it */
                  os_int32, /* how many? */
                  os_segment * /* which seg */
                  os_boolean make_array /* for count==1 */);
Allocates persistent storage of the specified type in the specified segment. To allocate an array, specify the number of elements in the array with the os_int32 argument, and pass 1 to the os_boolean argument. To allocate a nonarray, pass 1 to the os_int32 argument and pass 0 to the os_boolean argument. This function cannot be used for transient allocation.

extern void* os_object_cluster_alloc(
                  os_typespec *,/* what is it */
                  os_int32,/* how many? * /
                  os_object_cluster */* which cluster */
                  os_boolean make_array /* for count==1 */);
Allocates persistent storage of the specified type in the specified object cluster. To allocate an array, specify the number of elements in the array with the os_int32 argument, and pass 1 to the os_boolean argument. To allocate a nonarray, pass 1 to the os_int32 argument and pass 0 to the os_boolean argument. This function cannot be used for transient allocation.

Note that these allocation functions should not be used for allocating instances of ObjectStore types (such as os_collection). ObjectStore types have class-specific allocation functions that should be used instead.

extern void objectstore_delete(void *);
Deletes the specified value from storage. The argument must point to the beginning of an object's storage. If it points to the middle of an object, the exception err_invalid_deletion is signaled. This might happen, for example, if the argument points to the fifth element of a persistent array.

Reallocating Storage

objectstore_realloc makes it easier to convert C programs to ObjectStore. The C++ library interface version is objectstore::change_array_length().

extern char * objectstore_realloc(
);
Takes one char * pointer argument and a size argument, and returns a char * pointer value. If the pointer argument is a pointer to transient memory, ordinary UNIX realloc is called and the result is returned.

If the argument is a pointer to persistent memory, it must point to the beginning of an array of persistent objects. Furthermore, the size argument must be an exact positive multiple of the size of the type of the objects, in bytes. objectstore_realloc does the semantic equivalent of allocating a new array of objects, copying the old objects to the new objects (bit-wise, that is; no C++ constructors are run), initializing the rest of the new array to zero, and deallocating the original array. It returns a pointer to the new array. The new pointer might or might not equal the old pointer.

The caller should not retain and later dereference any copies of the original pointer (just as if objectstore_delete had been called). The compatibility feature of realloc that allows it to be called on the most recently freed block is not supported for persistent objects.

Transaction Macros

All access to persistent data must take place within a transaction. (Some manipulation of databases themselves, such as opening and closing them, need not take place within a transaction.)

The macros OS_BEGIN_TXN and OS_END_TXN start and end transactions. Note that

Calls to the macros have the following form:

      OS_BEGIN_TXN( unique_tag, excp_ptr, txn_type)
      OS_END_TXN( unique_tag)
unique_tag is a C identifier. The same tag must be used at both ends of a transaction, and no other transaction in the program can use the same tag.

excp_ptr points either to 0 (meaning the transaction committed), or to a tix_exception*, which indicates the nature of the abort.

txn_type is either os_transaction_update (specifying that the transaction is to perform updates to persistent storage), or os_transaction_read_only (specifying no update to persistent storage) or os_transaction_abort_only.

objectstore Functions

The functions in this section correspond to members of the system-supplied ObjectStore class objectstore and to ObjectStore system utilities documented in Managing ObjectStore.

objectstore_acquire_lock

extern os_lock_timeout_exception *objectstore_acquire_lock(
                  void *addr,
                  os_lock_type access,
                  os_int32 milliseconds,
                  os_unsigned_int32 size);
extern os_lock_timeout_exception *acquire_lock(
            os_database *db, 
            os_lock_type access,
            os_int32 milliseconds);
extern os_lock_timeout_exception *acquire_lock(
            os_segment *seg, 
            os_lock_type access,
            os_int32 milliseconds);
See objectstore::acquire_lock().

objectstore_delete

extern void objectstore_delete(void *);
See void ::operator delete().

objectstore_disc_swap_bytes

extern void objectstore_disc_swap_bytes(
                  char *,
                  char *,
                  os_int32);
See objectstore::discriminant_swap_bytes().

objectstore_full_initialize

extern void objectstore_full_initialize();
See objectstore::initialize().

objectstore_get_all_servers

extern void objectstore_get_all_servers(
                  os_int32,
                  os_server**,
                  os_int32*);
See objectstore::get_all_servers().

objectstore_get_application_schema_pathname

extern const char * objectstore_get_application_schema_
pathname();
See objectstore::get_application_schema_pathname().

objectstore_get_application_schema_pathname

extern char *objectstore_get_application_schema_pathname( );
See objectstore::get_application_schema_pathname().

objectstore_get_auto_open_mode

void objectstore_get_auto_open_mode(
      auto_open_mode_enum *mode,
      os_fetch_policy *fp,
      os_int32 *bytes);
See objectstore::get_auto_open_mode().

objectstore_get_auto_open_read_whole_segment_mode

extern os_boolean 
      objectstore_get_auto_open_read_whole_segment_mode();
See objectstore::get_auto_open_mode().

objectstore_get_cache_size

extern os_unsigned_int32 objectstore_get_cache_size();
See objectstore::get_cache_size().

objectstore_get_incremental_schema_installation

extern os_boolean 
      objectstore_get_incremental_schema_installation();
See objectstore::get_incremental_schema_installation().

objectstore_get_lock_status

extern os_lock_type 
      objectstore_get_lock_status(void *address);
See objectstore::get_lock_status().

objectstore_get_n_servers

extern os_int32 objectstore_get_n_servers();
See objectstore::get_n_servers().

objectstore_get_null_illegal_pointers

extern os_boolean objectstore_get_null_illegal_pointers();
See objectstore::get_null_illegal_pointers().

objectstore_get_object_range

extern void objectstore_get_object_range(
                  void const *,/* address */
                  void **,/* base_address */
                  os_unsigned_int32 */* size */);
See objectstore::get_object_range().

objectstore_get_object_total_range

extern void objectstore_get_object_total_range(
                  void const *,/* address */
                  void **,/* base_address */
                  os_unsigned_int32 *,/* size */
                  void **,/* header_address */
                  os_unsigned_int32 */* total_size */);
See objectstore::get_object_range().

objectstore_get_opt_cache_lock_mode

extern os_boolean objectstore_get_opt_cache_lock_mode();
See objectstore::get_opt_cache_lock_mode().

objectstore_get_page_size

extern os_unsigned_int32 objectstore_get_page_size();
See objectstore::get_page_size().

objectstore_get_pointer_numbers

extern void objectstore_get_pointer_numbers(
                  void *,/* address *
                  os_unsigned_int32*,/* number 1 */
                  os_unsigned_int32*,/* number 2 */
                  os_unsigned_int32*/* number 3 */);
See objectstore::get_pointer_numbers().

objectstore_get_readlock_timeout

extern os_int32 objectstore_get_readlock_timeout();
See objectstore::get_readlock_timeout().

objectstore_get_retain_persistent_addresses

extern os_boolean objectstore_get_retain_persistent_addresses();
See objectstore::get_retain_persistent_addresses().

objectstore_get_simple_auth_ui

extern void objectstore_get_simple_auth_ui(
                  os_simple_auth_ui_t*,
                  void**);
See objectstore::get_simple_auth_ui().

objectstore_delete_function

extern objectstore_delete_function

      objectstore_get_transient_delete_function();
See objectstore::get_transient_delete_function().

objectstore_get_writelock_timeout

extern os_int32 objectstore_get_writelock_timeout();
See objectstore::get_writelock_timeout().

objectstore_hidden_write

extern void objectstore_hidden_write(
      char *,
      char *,
      os_unsigned_int32);
See objectstore::hidden_write().

objectstore_is_lock_contention

extern os_boolean objectstore_is_lock_contention();
See objectstore::is_lock_contention().

objectstore_is_persistent

extern os_boolean objectstore_is_persistent(
      void */* addr */);
See objectstore::is_persistent().

objectstore_realloc

extern char*objectstore_realloc(
      char *,
      os_unsigned_int32);
See objectstore::change_array_length().

objectstore_retain_persistent_addresses

extern void objectstore_retain_persistent_addresses();
See objectstore::retain_persistent_addresses().

objectstore_return_all_pages

extern os_unsigned_int32 objectstore_return_all_pages();
See objectstore::return_all_pages().

objectstore_return_memory

extern os_unsigned_int32 objectstore_return_memory(
      void *address,
      os_unsigned_int32 length,
      os_boolean evict_now);
See objectstore::return_memory().

objectstore_set_aid

extern void objectstore_set_aid(
      os_int32 aid);
See objectstore::set_aid().

objectstore_set_always_ignore_illegal_pointers

void objectstore_set_always_ignore_illegal_pointers(
                  os_boolean new_val);
See objectstore::set_always_ignore_illegal_pointers().

objectstore_set_always_null_illegal_pointers

void objectstore_set_always_null_illegal_pointers(
      os_boolean new_val);
See objectstore::set_always_null_illegal_pointers().

objectstore_set_application_schema_pathname

extern void objectstore_set_application_schema_pathname(
      const char * path);
See objectstore::set_application_schema_pathname().

objectstore_set_auto_open_mode

void objectstore_set_auto_open_mode(
      auto_open_mode_enum mode,
      os_fetch_policy fp,
      os_int32 bytes);
See objectstore::set_auto_open_mode().

objectstore_set_auto_open_read_whole_segment_mode

extern void 
      objectstore_set_auto_open_read_whole_segment_mode(
      os_boolean val);
See objectstore::set_auto_open_mode().

objectstore_set_cache_size

extern void objectstore_set_cache_size(
                  os_unsigned_int32 size);
See objectstore::set_cache_size().

objectstore_set_client_name

extern void objectstore_set_client_name(
                  char */* name */);
See objectstore::set_client_name().

objectstore_set_commseg_size

extern void objectstore_set_commseg_size(
                  os_unsigned_int32 size);
See objectstore::set_commseg_size().

objectstore_set_current_schema_key

extern void objectstore_set_current_schema_key(
                  os_unsigned_int32 key_low,
                  os_unsigned_int32 key_high);
See objectstore::set_current_schema_key().

objectstore_set_eviction_batch_size

extern void objectstore_set_eviction_batch_size(
                  os_unsigned_int32/* size, in bytes */);
See objectstore::set_eviction_batch_size().

objectstore_set_eviction_pool_size

extern void objectstore_set_eviction_pool_size(
                  os_unsigned_int32/* size, in bytes */);
See objectstore::set_eviction_pool_size().

objectstore_set_handle_transient_faults

extern void objectstore_set_handle_transient_faults(
                   os_boolean);
See objectstore::set_handle_transient_faults().

objectstore_set_incremental_schema_installation

extern void objectstore_set_incremental_schema_installation(
                  os_boolean);
See objectstore::set_incremental_schema_installation().

objectstore_set_mapped_communications

extern void objectstore_set_mapped_communications(
                  os_boolean);
See objectstore::set_mapped_communications().

objectstore_set_null_illegal_pointers

extern void objectstore_set_null_illegal_pointers(
os_boolean new_val);
See objectstore::set_null_illegal_pointers().

objectstore_set_opt_cache_lock_mode

extern void objectstore_set_opt_cache_lock_mode(
                  os_boolean);
See objectstore::set_opt_cache_lock_mode().

objectstore_set_readlock_timeout

extern void objectstore_set_readlock_timeout(
                  os_int32 milliseconds);
See objectstore::set_readlock_timeout().

objectstore_set_reserve_as_mode

extern void objectstore_set_reserve_as_mode(
                  os_boolean/* new mode */);
See objectstore::set_reserve_as_mode().

objectstore_set_simple_auth_ui

extern void objectstore_set_simple_auth_ui(
                  os_simple_auth_ui_t,
                  void*);
See objectstore::set_simple_auth_ui().

objectstore_set_transient_delete_function

extern void objectstore_set_transient_delete_function(
                  objectstore_delete_function f);
See objectstore::set_transient_delete_function().

objectstore_set_writelock_timeout

extern void objectstore_set_writelock_timeout(
                  os_int32 milliseconds);
See objectstore::set_writelock_timeout().

os_database Functions

The functions in this section correspond to members of the system-supplied ObjectStore class os_database.

Persistent data can be accessed only if the database in which it resides is open. Databases are created, destroyed, opened, and closed with database functions. These functions can be called either within or outside a transaction.

Each database retrieved by a given process has an associated open count for that process. The function database_open() increments the open count by 1, and the function database_close() decrements the open count by 1. When the open count for a process increases from 0 to 1, the database becomes open for that process. A database becomes closed for a process when its open count becomes 0.

When a process terminates, any databases left open are automatically closed.

In the functions below, the argument database * corresponds to the implicit this pointer found in members of class os_database.

The types os_int32 and os_boolean, used throughout this manual, are each defined as a signed 32-bit integer type. The type os_unsigned_int32 is defined as an unsigned 32-bit integer type.

os_database_alloc

extern void *
os_database_alloc(
                  os_typecode *,/* what is it */
                  os_int32,/* how many? */
                  os_database *,/* which db */
                  os_boolean make_array /* for count==1 */);
See page 395.

os_database_allow_external_pointers

extern void 
os_database_allow_external_pointers(
                  os_database *,
                  os_boolean);
See os_database::allow_external_pointers().

os_database_change_database_reference

extern void os_database_change_database_reference(
                  os_database *,
                  os_database_reference *,
                  os_database_reference *);
See os_database::change_database_reference().

os_database_change_schema_key

extern void os_database_change_sc9hema_key(
      os_database *db,
                  os_unsigned_int32 old_key_low,
                  os_unsigned_int32 old_key_high,
                  os_unsigned_int32 new_key_low,
                  os_unsigned_int32 new_key_high);
See os_database::change_schema_key().

os_database_close

extern void os_database_close(
                  os_database *);
See os_database::close().

os_database_create

extern os_database *os_database_create(
                  char *,/* pathname */
                  os_int32,/* mode */
                  os_boolean/* if_exists_overwrite */);
See os_database::create().

os_database_create_root

extern os_database_root *os_database_create_root(
                  os_database * db,
                  char *name);
See os_database::create_root().

os_database_create_segment

extern os_segment *os_database_create_segment(
                  os_database *);
See os_database::create_segment().

os_database_destroy

extern void os_database_destroy(
                  os_database *);
See os_database::destroy().

os_database_find_root

extern os_database_root *os_database_find_root(
                   os_database *db,
                   char *name                  );
See os_database::find_root().

os_database_freeze_schema_key

extern void os_database_freeze_schema_key(
      os_database *db,
                  os_unsigned_int32 key_low,
                  os_unsigned_int32 key_high);
See os_database::freeze_schema_key().

os_database_get_all_databases

extern void os_database_get_all_databases(
                  os_int32,/* max db's to return */
                  os_database **,/* where to return them */
                  os_int32 */* how many returned */);
See os_database::get_all_databases().

os_database_get_all_roots

extern void os_database_get_all_roots(
                  os_database *,
                  os_int32,/* max to return */
                  os_database_root **,/* where to return them */
                  os_int32 */* n returned */);
See os_database::get_all_roots().

os_database_get_all_segments

extern void os_database_get_all_segments(
                  os_database *,
                  os_int32,/* max segs to return */
                  os_segment **,/* where to return them */
                  os_int32 */* how many returned */);
See os_database::get_all_segments().

os_database_get_all_segments_and_permissions

extern void os_database_get_all_segments_and_permissions(
                  os_database *,
                  os_int32,/* max segs to return */
                  os_segment **,/* where to return them */
                  os_segment_access **,/* access controls */
                  os_int32 */* how many returned */);
See os_database::get_all_segments_and_permissions().

os_database_get_application_info

extern void *os_database_get_application_info(
                  os_database *);
See os_database::get_application_info().

os_database_get_database_references

extern void os_database_get_database_references(
                  os_database *,
                  os_int32 *,
                  os_database_reference ***);
See os_database::get_database_references().

os_database_get_default_check_illegal_pointers

extern os_boolean os_database_get_default_check_illegal_
pointers(
                  os_database *);
See os_database::get_default_check_illegal_pointers().

os_database_get_default_lock_whole_segment

extern objectstore_lock_option      os_database_get_default_lock_
whole_segment(
                  os_database *);
See os_database::get_default_lock_whole_segment().

os_database_get_default_null_illegal_pointers

extern os_boolean os_database_get_default_null_illegal_pointers(
                  os_database *);
See os_database::get_default_null_illegal_pointers().

os_database_get_default_read_whole_segment

extern os_boolean os_database_get_default_read_whole_segment(
                  os_database *);
See os_database::get_default_read_whole_segment().

os_database_get_default_segment

extern os_segment *os_database_get_default_segment(
                  os_database *);
See os_database::get_default_segment().

os_database_get_default_segment_size

extern os_unsigned_int32 os_database_get_default_segment_size(
                  os_database *);
See os_database::get_default_segment_size().

os_database_get_fetch_policy

extern void os_database_get_fetch_policy(
                  os_database *,
                  os_fetch_policy *,
                  os_int32 *);
See os_database::get_fetch_policy().

os_database_get_host_name

extern char* os_database_get_host_name(
                  os_database *);
See os_database::get_host_name().

os_database_get_id

extern os_database_id* os_database_get_id(
                  os_database *);
See os_database::get_id().

os_database_get_incremental_schema_installation

extern os_boolean       os_database_get_incremental_schema_
installation(
                  os_database *);
See os_database::get_incremental_schema_installation().

os_database_get_lock_whole_segment

extern objectstore_lock_option os_database_get_lock_whole_
segment(
                  os_database *);
See os_database::get_lock_whole_segment().

os_database_get_n_databases

extern os_int32 os_database_get_n_databases();
See os_database::get_n_databases().

os_database_get_n_roots

extern os_int32 os_database_get_n_roots(
                  os_database */* db */);
See os_database::get_n_roots().

os_database_get_n_segments

extern os_int32 os_database_get_n_segments(
                  os_database */* db */);
See os_database::get_n_segments().

os_database_get_null_illegal_pointers

extern os_boolean os_database_get_null_illegal_pointers(
      os_database *);

os_database_get_opt_cache_lock_mode

extern os_boolean os_database_get_opt_cache_lock_mode(
      os_database *);
See os_database::get_opt_cache_lock_mode().

os_database_get_pathname

extern char*os_database_get_pathname(
                  os_database *);
See os_database::get_pathname().

os_database_get_readlock_timeout

extern os_int32 os_database_get_readlock_timeout(
                  os_database *db);
See os_database::get_readlock_timeout().

os_database_get_relative_directory

extern char *os_database_get_relative_directory(
                  os_database *);
See os_database::get_relative_directory().

os_database_get_sector_size

extern os_int32 os_database_get_sector_size(
                  os_database *);
See os_database::get_sector_size().

os_database_get_segment

extern os_segment *os_database_get_segment(
                  os_database *,
                  os_unsigned_int32 segment_number);
See os_database::get_segment().

os_database_get_transient_database

extern os_database *os_database_get_transient_database();
See os_database::get_transient_database().

os_database_get_writelock_timeout

extern os_int32 os_database_get_writelock_timeout(
      os_database *db);
See os_database::get_writelock_timeout().

os_database_is_open

extern os_boolean os_database_is_open(
      os_database *);
See os_database::is_open().

os_database_is_open_mvcc

extern os_boolean os_database_is_open_mvcc(
      os_database *);
See os_database::open_mvcc().

os_database_is_open_read_only

extern os_boolean os_database_is_open_read_only(
      os_database *);
See os_database::is_open_read_only().

os_database_is_writable

extern os_boolean os_database_is_writable(
      os_database */* db */);
See os_database::is_writable().

os_database_lookup

extern os_database *os_database_lookup(
      char *,/* pathname */
      os_int32/* mode */);
See os_database::lookup().

os_database_lookup_open

extern os_database *os_database_lookup_open(
      char *,/* pathname */
      os_boolean,/* read_only */
      os_boolean/* create_mode */);
See os_database::open().

os_database_lookup_open_mvcc

extern os_database *os_database_lookup_open_mvcc(
      char */* pathname */);
See os_database::open_mvcc().

os_database_of

extern os_database *os_database_of(
      void */* location */);
See os_database::of().

os_database_open

extern void os_database_open(
                  os_database *,
                  os_boolean/* read_only */);
See os_database::open().

os_database_open_mvcc

extern void os_database_open_mvcc(
                  os_database *);
See os_database::open_mvcc().

os_database_set_access_hooks

extern void os_database_set_access_hooks(
                  os_database *,
                  const char *,
                  os_access_hook,
                  os_access_hook,
                  void *,
                  os_access_hook *,
                  os_access_hook *,
                  void **);
See os_database::set_access_hooks().

os_database_set_application_info

extern void os_database_set_application_info(
                  os_database *,
                  void *);
See os_database::set_application_info().

os_database_set_check_illegal_pointers

extern void os_database_set_check_illegal_pointers(
                  os_database *,
                  os_boolean);
See os_database::set_check_illegal_pointers().

os_database_set_default_check_illegal_pointers

extern void os_database_set_default_check_illegal_pointers(
                  os_database *,
                  os_boolean);
See os_database::set_default_check_illegal_pointers().

os_database_set_default_lock_whole_segment

extern void os_database_set_default_lock_whole_segment(
                  os_database *,
                  objectstore_lock_option);
See os_database::set_default_lock_whole_segment().

os_database_set_default_null_illegal_pointers

extern void os_database_set_default_null_illegal_pointers(
                  os_database *,
                  os_boolean);
See os_database::set_default_null_illegal_pointers().

os_database_set_default_segment

extern void os_database_set_default_segment(
                  os_database *,
                  os_segment *);
See os_database::set_default_segment().

os_database_set_default_segment_size

extern void os_database_set_default_segment_size(
                  os_database *,
                  os_unsigned_int32);
See os_database::set_default_segment_size().

os_database_set_fetch_policy

extern void os_database_set_fetch_policy(
                  os_database *,
                  os_fetch_policy,
                  os_int32);
See os_database::set_fetch_policy().

os_database_set_incremental_schema_installation

extern void os_database_set_incremental_schema_installation(
                  os_database *,
                  os_boolean);
See os_database::set_incremental_schema_installation().

os_database_set_lock_whole_segment

extern void os_database_set_lock_whole_segment(
                  os_database *,
                  objectstore_lock_option);
See os_database::set_lock_whole_segment().

os_database_set_new_id

extern os_boolean os_database_set_new_id(
                  os_database *);
See os_database::set_new_id().

os_database_set_null_illegal_pointers

extern void os_database_set_null_illegal_pointers(
                  os_database *,
                  os_boolean);
See os_database::set_null_illegal_pointers().

os_database_set_opt_cache_lock_mode

extern void os_database_set_opt_cache_lock_mode(
                  os_database *,
                  os_boolean);
See os_database::set_opt_cache_lock_mode().

os_database_set_readlock_timeout

extern void os_database_set_readlock_timeout(
                  os_database *db,
                  os_int32 milliseconds);
See os_database::set_readlock_timeout().

os_database_set_relative_directory

extern void os_database_set_relative_directory(
                  os_database *,
                  char *);
See os_database::set_relative_directory().

os_database_set_writelock_timeout

extern void os_database_set_writelock_timeout(
                  os_database *db,
                  os_int32 milliseconds);
See os_database::set_writelock_timeout().

os_database_size

extern os_unsigned_int32 os_database_size(
                  os_database *);
See os_database::size().

os_database_size_in_sectors

extern os_unsigned_int32 os_database_size_in_sectors(
                  os_database *);
See os_database::size_in_sectors().

os_database_time_created

extern os_unixtime_t os_database_time_created(
                  os_database *);
See os_database::time_created().

os_database_reference Functions

os_database_reference_delete_array

extern void os_database_reference_delete_array(
                  os_int32,
                  os_database_reference **);
Deletes the specified database reference array.

os_database_reference_equal

extern os_boolean os_database_reference_equal(
                  os_database_reference *,
                  os_database_reference *);
See os_database_reference::operator ==().

os_database_reference_free

extern void os_database_reference_free(
                  os_database_reference *);
Deletes the specified database reference.

os_database_reference_get_name

extern char * os_database_reference_get_name(
                  os_database_reference *);
See os_database_reference::get_name().

os_new_database_reference_name

extern database_reference * os_new_database_reference_name(
      char *);
Allocates a new database reference.

os_database_root Functions

Each database records the association between its entry points and their persistent names with the database_root functions.

os_database_root_find

extern database_root * os_database_root_find(
      char *,/* name */
      database *);
See os_database_root::find().

os_database_root_free

extern void os_database_root_free(
      database_root *);
See os_database_root::~os_database_root().

os_database_root_get_name

extern char * os_database_root_get_name(
      database_root *);
See os_database_root::get_name().

os_database_root_get_typespec

extern os_typespec * os_database_root_get_typespec(
      database_root *);
See os_database_root::get_typespec().

os_database_root_get_value

extern void * os_database_root_get_value(
      database_root *,
      os_typespec *);
See os_database_root::get_value().

os_database_root_set_value

extern void os_database_root_set_value(
      database_root *,
      void *,/* new_value */
      os_typespec */* new_typespec_arg */);
See os_database_root::set_value().

os_dbutil Functions

The C library interface contains functions analogous to those of the class os_dbutil in the ObjectStore Class Library.

os_dbutil_chgrp

extern void os_dbutil_chgrp(
                  const char* /* pathname */,
                  const char* /* gname */);
See os_dbutil::chgrp().

os_dbutil_chmod

extern void os_dbutil_chmod(
                  const char* /* pathname */,
                  os_unsigned_int32 /* mode */);
See os_dbutil::chmod().

os_dbutil_chown

extern void os_dbutil_chown(
                  const char* /* pathname */,
                  const char* /* uname */
                  );
See os_dbutil::chown().

os_dbutil_close_all_connections

extern void os_dbutil_close_all_connections();
See os_dbutil::close_all_server_connections().

os_dbutil_close_all_server_connections

extern void os_dbutil_close_all_server_connections();
See os_dbutil::close_all_server_connections().

os_dbutil_close_server_connection

extern void os_dbutil_close_server_connection(
                  const char* /* hostname */
                  );
See os_dbutil::close_server_connection().

os_dbutil_cmgr_log

extern char *os_dbutil_cmgr_log(
                  const char * /* hostname */,
                  os_int32 /* cm_version_number */
                  );

os_dbutil_cmgr_remove_file

extern char *os_dbutil_cmgr_remove_file(
                  const char* /* hostname */,
                  os_int32 /* cm_version_number */
                  );
See os_dbutil::cmgr_remove_file().

os_dbutil_cmgr_shutdown

extern char *os_dbutil_cmgr_shutdown(
                  const char* /* hostname */,
                  os_int32 /* cm_version_number */
                  );
See os_dbutil::cmgr_shutdown().

os_dbutil_cmgr_stat

extern void os_dbutil_cmgr_stat(
                  const char* /* hostname */,
                  os_int32 /* cm_version_number */,
                  os_cmgr_stat* /* cmstat_data */
                  );
See os_dbutil::cmgr_stat().

os_dbutil_compare_schemas

extern os_boolean os_dbutil_compare_schemas(
                  const os_database* /* db1 */,
                  const os_database* /* db2 */,
                  os_boolean /* verbose */
                  );
See os_dbutil::compare_schemas().

os_dbutil_copy_database

extern os_boolean os_dbutil_copy_database(
                  const char* /* src_database_name */,
                  const char* /* dest_database_name */
                  );
See os_dbutil::copy_database().

os_dbutil_delete_os_rawfs_entries

extern void os_dbutil_delete_os_rawfs_entries(
                  os_rawfs_entry *stat_entry,
                  os_boolean is_array
);

os_dbutil_disk_free

extern void os_dbutil_disk_free(
                  const char* /* hostname */,
                  os_free_blocks * /* free_blocks */
                  );
See os_dbutil::disk_free().

os_dbutil_expand_global

extern char **os_dbutil_expand_global(
                  const char *, /* glob */
                  os_unsigned_int32 * /* n_entries */
                  );
See os_dbutil::expand_global().

os_dbutil_get_client_name

extern char *os_dbutil_get_client_name();
See os_dbutil::get_client_name().

os_dbutil_get_sector_size

extern os_unsigned_int32 os_dbutil_get_sector_size();
See os_dbutil::get_sector_size().

os_dbutil_initialize

extern void os_dbutil_initialize();
See os_dbutil::initialize().

os_dbutil_list_directory

os_rawfs_entry **os_dbutil_list_directory(
                  const char* /* path */,
                  os_unsigned_int32 * /* n_entries */
                  );
See os_dbutil::list_directory().

os_dbutil_make_link

extern void os_dbutil_make_link(
                  const char* /* target_name */,
                  const char* /* link_name */
                  );
See os_dbutil::make_link().

os_dbutil_mkdir

extern void os_dbutil_mkdir(
                  const char* /* path */,
                  const os_unsigned_int32 /* mode */,
                  os_boolean /* create_missing_dirs */
                  );
See os_dbutil::mkdir().

os_dbutil_ossize

extern os_int32 os_dbutil_ossize(
                  const char* /* pathname */,
                  const os_size_options * /* options */
                  );
See os_dbutil::ossize().

os_dbutil_osverifydb

extern os_unsigned_int32 os_dbutil_osverifydb(
                  const char* /* pathname */,
                  os_verifydb_options* /* options */
                  );
See os_dbutil::osverifydb().

os_dbutil_osverifydb_one_segment

extern os_unsigned_int32 os_dbutil_osverifydb_one_segment(
                  const char* /* pathname */,
                  os_unsigned_int32 /* seg num */,
                  os_unsigned_int32 /* starting offset*/,
                  os_unsigned_int32 /* ending offset*/,
                  os_verifydb_options* /* options */
                  );
See os_dbutil::osverifydb_one_segment().

os_dbutil_rehost_all_links

extern void os_dbutil_rehost_all_links(
             const char* /* server_host */,
             const char* /* old_host */,
             const char* /* new_host */
             );
See os_dbutil::rehost_all_links().

os_dbutil_rehost_link

extern void os_dbutil_rehost_link(
             const char* /* pathname */,
             const char* /* new_host */
            );
See os_dbutil::rehost_link().

os_dbutil_remove

extern void os_dbutil_remove(
                  const char* /* path */
                  );
See os_dbutil::remove().

os_dbutil_rename

extern void os_dbutil_rename(
                  const char* /* source */,
                  const char* /* target */
                  );
See os_dbutil::rename().

os_dbutil_rmdir

extern void os_dbutil_rmdir(
                  const char* /* path */
                  );
See os_dbutil::rmdir().

os_dbutil_set_application_schema_path

extern char *os_dbutil_set_application_schema_path(
                  const char* /* exe_path */,
                  const char* /* db_path */
                  );
See os_dbutil::set_application_schema_path().

os_dbutil_set_client_name

extern void os_dbutil_set_client_name(
                  const char * /* name */
                  );
See os_dbutil::set_client_name().

os_dbutil_stat

os_rawfs_entry *os_dbutil_stat(
                  const char* /* path */,
                  const os_boolean /* b_chase_links */
                  );
See os_dbutil::stat().

os_dbutil_svr_checkpoint

extern os_boolean os_dbutil_svr_checkpoint(
                  const char* /* server_host */
                  );
See os_dbutil::svr_checkpoint().

os_dbutil_svr_client_kill

extern os_boolean os_dbutil_svr_client_kill(
                  const char* /* server_host */,
                  os_int32 /* client_pid */,
                  const char* /* client_name */,
                  const char* /* client_hostname */,
                  os_boolean /* all */,
                  os_int32* /* status */
                  );
See os_dbutil::svr_client_kill().

os_dbutil_svr_ping

extern char *os_dbutil_svr_ping(
                  const char* /* server_host */,
                  os_svr_ping_state* /* state */
                  );
See os_dbutil::svr_ping().

os_dbutil_svr_shutdown

extern os_boolean os_dbutil_svr_shutdown(
                  const char* /* server_host */
                  );
See os_dbutil::svr_shutdown().

os_dbutil_svr_stat

extern void os_dbutil_svr_stat(
                  const char* /* server_host */,
                  os_int32 /* requests */,
                  os_svr_stat * /* svr_stat_data */
                  );
See os_dbutil::svr_stat().

os_size_options_allocate

os_size_options* os_size_options_allocate
Allocates an appropriately initialized os_size_options struct.
See
os_dbutil::ossize().

os_size_options_delete

void os_size_options_delete(
                  os_size_options* /* options */,
                  os_boolean /* is_array */
);
Deletes an os_size_options struct.

os_svr_stat_client_info_delete

void os_svr_stat_client_info_delete(
                  os_svr_stat_client_info* /* client_info */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_client_info struct.

os_svr_stat_client_meters_delete

void os_svr_stat_client_meters_delete(
                  os_svr_stat_client_meters* /* client_meter */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_client_meters struct.

os_svr_stat_client_process_delete

void os_svr_stat_client_process_delete(
                  os_svr_stat_client_process* /* client_process */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_client_process struct.

os_svr_stat_client_state_delete

void os_svr_stat_client_state_delete(
                  os_svr_stat_client_state* /* client_state */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_client_state struct.

os_svr_stat_delete

      os_svr_stat* svr_stat
      os_boolean is_array
);
Deletes an os_svr_stat_svr_header struct.

os_svr_stat_svr_header_delete

void os_svr_stat_svr_header_delete(
                  os_svr_stat_svr_header* /* svr_header */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_svr_header struct.

os_svr_stat_svr_meters_delete

void os_svr_stat_svr_meters_delete(
                  os_svr_stat_svr_meters* /* svr_meter */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_svr_meters struct.

os_svr_stat_svr_parameters_delete

void os_svr_stat_svr_parameters_delete(
                  os_svr_stat_svr_parameters* /* svr_param */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_svr_parameters struct.

os_svr_stat_svr_rusage_delete

void os_svr_stat_svr_rusage_delete(
                  os_svr_stat_svr_rusage* /* svr_resources */,
                  os_boolean /* is_array */
);
Deletes an os_svr_stat_svr_rusage struct.

os_verifydb_options_allocate

os_verifydb_options* os_verifydb_options_allocate
Allocates an appropriately initialized os_verifydb_options struct. See os_dbutil::osverifydb().

os_verifydb_options_delete

void os_verifydb_options_delete(
                  os_verifydb_options* opts
);
Deletes an os_verifydb_options struct.

os_keyword_arg Functions

The C library interface contains functions analogous to those of the class os_keyword_arg in the ObjectStore class library.

os_keyword_arg_char_create

extern os_keyword_arg* os_keyword_arg_char_create(
      char *,                         /* the name of the keyword argument */
      char                        /* the value */
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_uchar_create

extern os_keyword_arg* os_keyword_arg_uchar_create(
      char *,                        /* the name of the keyword argument */
      unsigned char                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_short_create

extern os_keyword_arg* os_keyword_arg_short_create(
      char *,                        /* the name of the keyword argument */
      short                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_ushort_create

extern os_keyword_arg* os_keyword_arg_ushort_create(
      char *,                        /* the name of the keyword argument */
      unsigned short                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_int_create

extern os_keyword_arg* os_keyword_arg_int_create(
      char *,                        /* the name of the keyword argument */
      int                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_uint_create

extern os_keyword_arg* os_keyword_arg_uint_create(
      char *,                        /* the name of the keyword argument */
      unsigned int                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_long_create

extern os_keyword_arg* os_keyword_arg_long_create(
      char *,                        /* the name of the keyword argument */
      long                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_ulong_create

extern os_keyword_arg* os_keyword_arg_ulong_create(
      char *,                        /* the name of the keyword argument */
      unsigned long                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_float_create

extern os_keyword_arg* os_keyword_arg_float_create(
      char *,                        /* the name of the keyword argument */
      float                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_double_create

extern os_keyword_arg* os_keyword_arg_double_create(
      char *,                        /* the name of the keyword argument */
      double                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_long_double_create

extern os_keyword_arg* os_keyword_arg_long_double_create(
      char *,                        /* the name of the keyword argument */
      long double                           /* the value */                       
); 
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_pointer_create

extern os_keyword_arg* os_keyword_arg_pointer_create(
      char *,                        /* the name of the keyword argument */
      void *                        /* the value */                       
);
Creates a keyword argument. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_list Functions

The C library interface contains functions analogous to those of the class os_keyword_arg_list in the ObjectStore Class Library.

os_keyword_arg_list_create

extern os_keyword_arg_list* os_keyword_arg_list_create(
      os_keyword_arg*,                               /* arg to put at head of list */
      os_keyword_arg_list*            /* tail (or 0) */
);
Creates a keyword argument list. See os_keyword_arg::operator ,() and os_keyword_arg::os_keyword_arg() in ObjectStore Collections C++ API Reference.

os_keyword_arg_list_delete

extern void os_keyword_arg_list_delete(
      os_keyword_arg_list*
);
Deletes a keyword argument list.

os_lock_timeout_exception Functions

The C library interface contains functions analogous to those of the class os_lock_timeout_exception in the ObjectStore Class Library.

os_lock_timeout_exception_get_application_names

extern char ** os_lock_timeout_exception_get_application_names(
      os_lock_timeout_exception *
);
See os_lock_timeout_exception::get_application_names().

os_lock_timeout_exception_get_fault_addr

extern void * os_lock_timeout_exception_get_fault_addr(
      os_lock_timeout_exception *
);
See os_lock_timeout_exception::get_fault_addr().

os_lock_timeout_exception_get_hostnames

extern char ** os_lock_timeout_exception_get_hostnames(
      os_lock_timeout_exception *
);
See os_lock_timeout_exception::get_hostnames().

os_lock_timeout_exception_get_lock_type

enum os_lock_type os_lock_timeout_exception_get_lock_type(
      os_lock_timeout_exception *
);
See os_lock_timeout_exception::get_lock_type().

os_lock_timeout_exception_get_pids

extern os_pid * os_lock_timeout_exception_get_pids(
      os_lock_timeout_exception *
);
See os_lock_timeout_exception::get_pids().

os_lock_timeout_exception_number_of_blockers

extern int os_lock_timeout_exception_number_of_blockers(
      os_lock_timeout_exception *
);
See os_lock_timeout_exception::number_of_blockers().

Metaobject Protocol Functions

The C library interface contains functions analogous to those of the ObjectStore metaobject protocol.

os_fetch_address_os_base_class

extern void* os_fetch_address_os_base_class(
      void *,
      const os_base_class *
);
See ::os_fetch_address().

os_fetch_address_os_member_variable

extern void* os_fetch_address_os_member_variable(
      void *,
      const os_member_variable *
);
See ::os_fetch_address().

char_os_fetch

extern char char_os_fetch(
      const void *,
      const os_member_variable *,
      char *      /* char value being fetched */
);
See ::os_fetch().

char_os_store

extern void char_os_store(
      void *,
      const os_member_variable *,
      const char      /* const char value to be stored */
);
See ::os_store().

double_os_fetch

extern double double_os_fetch(
      const void *,
      const os_member_variable *,
      double *      /* double value being fetched */
);
See ::os_store().

double_os_store

extern void double_os_store(
      void *,
      const os_member_variable *,
      const double      /* double value to be stored */
);
See ::os_store().

float_os_fetch

extern float float_os_fetch(
      const void *,
      const os_member_variable *,
      float *      /* float value being fetched */
);
See ::os_fetch().

float_os_store

extern void float_os_store(
      void *,
      const os_member_variable *,
      const float      /* float value to be stored */
);
See ::os_store().

int_os_fetch

extern int int_os_fetch(
      const void *,
      const os_member_variable *,
      int *      /* int value being fetched */
);
See ::os_fetch().

int_os_store

extern void int_os_store(
      void *,
      const os_member_variable *,
      const int      /*      const int value to be stored */
);
See ::os_store().

long_double_os_fetch

extern long double long_double_os_fetch(
      const void *,
      const os_member_variable *,
      long double *      /* double value being fetched */
);
See ::os_fetch().

long_double_os_store

extern void long_double_os_store(
      void *,
      const os_member_variable *,
      const long double      /* double value to be stored */
);
See ::os_store().

long_os_fetch

extern long long_os_fetch(
      const void *,
      const os_member_variable *,
      long *      /* long value being fetched */
);
See ::os_fetch().

long_os_store

extern void long_os_store(
      void *,
      const os_member_variable *,
      const long      /* long value to be stored */
);
See ::os_store().

pointer_to_void_os_fetch

extern void*       pointer_to_void_os_fetch(
      const void *,
      const os_member_variable *,
      os_void_p*      /* value being fetched */
);
See ::os_fetch().

pointer_to_void_os_store

extern void       pointer_to_void_os_store(
      void *,
      const os_member_variable *,
      const void *      /* value to be stored */
);
See ::os_store().

short_os_fetch

extern short       short_os_fetch(
      const void *,
      const os_member_variable *,
      short *      /* short value being fetched */
);
See ::os_fetch().

short_os_store

extern void       short_os_store(
      void *,
      os_member_variable *,
      const short      /* const short value to be stored */
);
See ::os_store().

signed_char_os_fetch

extern signed char       signed_char_os_fetch(
      const void *,
      const os_member_variable *,
      signed char *      /* signed char value being fetched */
);
See ::os_fetch().

signed_char_os_store

extern void       signed_char_os_store(
      void *,
      const os_member_variable *,
      const signed char      /* signed char value to be stored */
);
See ::os_store().

unsigned_char_os_fetch

extern unsigned char unsigned_char_os_fetch(
      const void *,
      const os_member_variable *,
      unsigned char *      /* unsigned char value being fetched */
);
See ::os_fetch().

unsigned_char_os_store

extern void unsigned_char_os_store(
      void *,
      const os_member_variable *,
      const unsigned char      /* unsigned char value to be stored */
);
See ::os_store().

unsigned_int_os_fetch

extern unsigned int unsigned_int_os_fetch(
      const void *,
      const os_member_variable *,
      unsigned int *      /* unsigned int value being fetched */
);
See ::os_fetch().

unsigned_int_os_store

extern void unsigned_int_os_store(
      void *,
      const os_member_variable *,
      const unsigned int      /* const unsigned int value to be stored */
);
See ::os_store().

unsigned_long_os_fetch

extern unsigned long unsigned_long_os_fetch(
      const void *,
      const os_member_variable *,
      unsigned long *      /* unsigned long value being fetched */
);
See ::os_fetch().

unsigned_long_os_store

extern void unsigned_long_os_store(
      void *,
      const os_member_variable *,
      const unsigned long      /* unsigned long value to be stored */
);
See ::os_store().

unsigned_short_os_fetch

short unsigned_short_os_fetch
extern unsigned short unsigned_short_os_fetch(
      const void *,
      const os_member_variable *,
      unsigned short *      /* unsigned short value being fetched */
);
See ::os_fetch().

unsigned_short_os_store

extern void unsigned_short_os_store(
      void *,
      const os_member_variable *,
      const unsigned short      /* const unsigned short value to be stored */
);
See ::os_store().

wchar_t_os_fetch

extern wchar_t wchar_t_os_fetch(
      const void *,
      const os_member_variable *,
      wchar_t *      /* wchar_t value being fetched */
);
See ::os_fetch().

wchar_t_os_store

extern void wchar_t_os_store(
      void *,
      const os_member_variable *,
      const wchar_t      /* const wchar_t value to be stored */
);
See ::os_store().

os_access_modifier_cast_to_os_member

extern os_member* os_access_modifier_cast_to_os_member(
      os_access_modifier *
);
Cast to os_member.

os_access_modifier_create

extern os_access_modifier* os_access_modifier_create(
      os_member* /*member*/
);
See os_access_modifier::create().

os_access_modifier_get_base_member

extern os_member* os_access_modifier_get_base_member(
      os_access_modifier *
);
See os_access_modifier::get_base_member().

os_access_modifier_set_base_member

extern void os_access_modifier_set_base_member(
      os_access_modifier* /*modifier*/,
      os_member* /*member*/
);
See os_access_modifier::set_base_member().

os_anon_indir_type_cast_to_os_indirect_type

extern os_indirect_type*
os_anon_indir_type_cast_to_os_indirect_type(
      os_anonymous_indirect_type *
);
Cast to supertype.

os_anon_indir_type_cast_to_os_type

extern os_type* os_anon_indir_type_cast_to_os_type(
      os_anonymous_indirect_type *
);
Cast to supertype.

os_anon_indir_type_create

extern os_anonymous_indirect_type* os_anon_indir_type_create(
      os_type* /*target_type*/
);
See os_anonymous_indirect_type::create().

os_anon_indir_type_get_target_type

extern os_type* os_anon_indir_type_get_target_type(
      os_anonymous_indirect_type *
);
See os_anonymous_indirect_type::get_target_type().

os_anon_indir_type_is_const

extern os_boolean os_anon_indir_type_is_const(
      os_anonymous_indirect_type*
);
See os_anonymous_indirect_type::is_const().

os_anon_indir_type_is_volatile

extern os_boolean os_anon_indir_type_is_volatile(
      os_anonymous_indirect_type*
);
See os_anonymous_indirect_type::is_volatile().

os_anon_indir_type_set_is_const

extern void os_anon_indir_type_set_is_const(
      os_anonymous_indirect_type*,
      os_boolean
);
See os_anonymous_indirect_type::set_is_const().

os_anon_indir_type_set_is_volatile

extern void os_anon_indir_type_set_is_volatile(
      os_anonymous_indirect_type*,
      os_boolean
);
See os_anonymous_indirect_type::set_is_volatile().

os_app_schema_cast_to_os_schema

extern os_schema* os_app_schema_cast_to_os_schema(
      os_app_schema *
);
Cast to supertype.

os_app_schema_get

extern os_app_schema* os_app_schema_get(
      os_database *
      /* return the application schema stored in this database */
);
See os_app_schema::get().

os_app_schema_get_default

extern os_app_schema* os_app_schema_get_default();
See os_app_schema::get().

os_array_type_cast_to_os_type

extern os_type* os_array_type_cast_to_os_type(
      os_array_type *
);
Cast to supertype.

os_array_type_create

extern os_array_type* os_array_type_create(
      os_unsigned_int32 /*number_of_elements*/,
      os_type* /*element_type*/
);
See os_array_type::create().

os_array_type_get_element_type

extern os_type* os_array_type_get_element_type(
      os_array_type *
);
See os_array_type::get_element_type().

os_array_type_number_of_elements

extern os_unsigned_int32 os_array_type_number_of_elements(
      os_array_type *
);
See os_array_type::get_number_of_elements().

os_array_type_set_element_type

extern void os_array_type_set_element_type(
      os_array_type* /*array_type*/,
      os_type* /*element_type*/
);
See os_array_type::set_element_type().

os_array_type_set_number_of_elements

extern void os_array_type_set_number_of_elements(
      os_array_type* /*array_type*/,
      os_unsigned_int32 /*number_of_elements*/
);
See os_array_type::set_number_of_elements().

os_base_class_create

extern os_base_class* os_base_class_create(
      os_unsigned_int32 /*access*/,
      os_boolean /*is_virtual*/,
      os_class_type* /*class_type*/
);
See os_base_class::create().

os_base_class_get_access

extern os_base_class_access os_base_class_get_access(
      os_base_class *
);
See os_base_class::get_access().

os_base_class_get_class

extern os_class_type* os_base_class_get_class(
      os_base_class *
);
See os_base_class::get_class().

os_base_class_get_offset

extern os_unsigned_int32 os_base_class_get_offset(
      os_base_class *
);
See os_base_class::get_offset().

os_base_class_get_offset_in

extern os_unsigned_int32 os_base_class_get_offset_in(
      os_base_class* /*virtual_base*/,
      os_class_type* /*most_derived_class*/
);
See os_base_class::get_offset().

os_base_class_get_size

extern os_unsigned_int32 os_base_class_get_size(
      os_base_class *
);
See os_base_class::get_size().

os_base_class_get_virtual_base_class_pointer_offset

extern os_unsigned_int32
os_base_class_get_virtual_base_class_pointer_offset(
      os_base_class* /*base*/
      ) /*throw (err_mop)*/
);
See os_base_class::get_virtual_base_class_pointer_offset().

os_base_class_is_virtual

extern os_boolean os_base_class_is_virtual(
      os_base_class *      /* return true if this is a virtual */
                   /* base class definition*/
);
See os_base_class::is_virtual().

os_base_class_set_access

extern void os_base_class_set_access(
      os_base_class* /*base*/,
      os_unsigned_int32 /*os_base_access*/
);
See os_base_class::set_access().

os_base_class_set_class

extern void os_base_class_set_class(
      os_base_class* /*base*/,
      os_class_type* /*class_type*/
);
See os_base_class::set_class().

os_base_class_set_is_virtual

extern void os_base_class_set_is_virtual(
      os_base_class* /*base*/,
      os_boolean /*is_virtual*/
);
See os_base_class::is_virtual().

os_base_class_set_offset

extern void os_base_class_set_offset(
      os_base_class* /*base*/,
      os_unsigned_int32 /*offset*/
);
See os_base_class::set_offset().

os_base_class_set_virtual_base_class_no_pointer

extern void os_base_class_set_virtual_base_class_no_pointer(
      os_base_class* /*base*/
      ) /*throw (err_mop)*/;
See os_base_class::set_virtual_base_class_no_pointer().

os_base_class_set_virtual_base_class_pointer_offset

extern void os_base_class_set_virtual_base_class_pointer_offset(
      os_base_class* /*base*/,
      os_unsigned_int32 offset
      ) /*throw (err_mop)*/;
See os_base_class::set_virtual_base_class_pointer_offset().

os_base_class_set_virtuals_redefined

extern void os_base_class_set_virtuals_redefined(
      os_base_class* /*base*/,
      os_boolean /*virtuals_redefined*/
);
See os_base_class::set_virtuals_redefined().

os_base_class_virtual_base_class_has_pointer

extern os_boolean os_base_class_virtual_base_class_has_
pointer(
      os_base_class* /*base*/
      ) /*throw (err_mop)*/;
See os_base_class::virtual_base_class_has_pointer().

os_base_class_virtuals_redefined

extern os_boolean os_base_class_virtuals_redefined(
      os_base_class*
);
See os_base_class::virtuals_redefined().

os_class_type_cast_to_os_instantiated_class_type

extern os_instantiated_class_type*
os_class_type_cast_to_os_instantiated_class_type(
      os_class_type *
);
See os_class_type::operator os_instantiated_class_type&().

os_class_type_cast_to_os_type

extern os_type* os_class_type_cast_to_os_type(
      os_class_type *
);
Cast to supertype.

os_class_type_create

extern os_class_type* os_class_type_create(
      char* /*name*/,
      os_collection* /*base_classes*/,
      os_collection* /*members*/,
      os_boolean /*defines_virtual_functions*/
);
See os_class_type::create().

os_class_type_create_forward_definition

extern os_class_type* os_class_type_create_forward_definition(
      char* /*name*/
);
See os_class_type::create().

os_class_type_declares_get_os_typespec_function

extern os_boolean
os_class_type_declares_get_os_typespec_function(
      os_class_type* /*class_type*/
);
See os_class_type::declares_get_os_typespec_function().

os_class_type_defines_virtual_functions

extern os_boolean os_class_type_defines_virtual_functions(
      os_class_type* /*class_type*/
);
See os_class_type::defines_virtual_functions().

os_class_type_find_base_class

extern os_base_class* os_class_type_find_base_class(
      os_class_type *,
      const char *      /* name of potential direct base class */
);
See os_class_type::find_base_class().

os_class_type_find_member

extern os_member* os_class_type_find_member(
      os_class_type *,
      const char *
);
See os_class_type::find_member_variable().

os_class_type_get_access_of_get_os_typespec_function

extern os_mop_member_access      
os_class_type_get_access_of_get_os_typespec_function(
      os_class_type* /*class_type*/
);
See os_class_type::get_access_of_get_os_typespec_function().

os_class_type_get_allocated_virtual_base_classes

extern os_collection*      os_class_type_get_allocated_virtual_base_
classes(
      os_class_type *
);
See os_class_type::get_allocated_virtual_base_classes().

os_class_type_get_base_classes

extern os_collection* os_class_type_get_base_classes(
      os_class_type *
);
See os_class_type::get_base_classes().

os_class_type_get_class_kind

extern os_class_type_kind os_class_type_get_class_kind(
      os_class_type*
);
See os_class_type::get_class_kind().

os_class_type_get_dispatch_table_pointer_offset

extern os_int32 os_class_type_get_dispatch_table_pointer_offset(
      os_class_type* /*class_type*/
      ) /*throw(err_mop_forward_definition)*/;
See os_class_type::get_dispatch_table_pointer_offset().

os_class_type_get_indirect_virtual_base_classes

extern os_collection*
os_class_type_get_indirect_virtual_base_classes(
      os_class_type* /*class_type*/
      ) /*throw(err_mop_forward_definition)*/;
See os_class_type::get_indirect_virtual_base_classes().

os_class_type_get_members

extern os_collection* os_class_type_get_members(
      os_class_type *
);
See os_class_type::get_members().

os_class_type_get_most_derived_class

extern os_class_type* os_class_type_get_most_derived_class(
      /*const*/ void* /*object*/,
      /*const*/ os_void_p* /*most_derived_object*/
);
See os_class_type::get_most_derived_class().

os_class_type_get_name

extern char*       os_class_type_get_name(
      os_class_type *
);
See os_class_type::get_name().

os_class_type_get_pragmas

extern os_collection*       os_class_type_get_pragmas(
      os_class_type *
);
See os_class_type::get_pragmas().

os_class_type_get_size_as_base

extern os_unsigned_int32       os_class_type_get_size_as_base(
      os_class_type *
);
See os_class_type::get_size_as_base().

os_class_type_get_source_position

extern void os_class_type_get_source_position(
      os_class_type* /*class_type*/,
      os_char_p* /*file*/,
      os_unsigned_int32* /*line*/
);
See os_class_type::get_source_position().

os_class_type_has_constructor

extern os_boolean       os_class_type_has_constructor(os_class_
type*);
See os_class_type::has_constructor().

os_class_type_has_destructor

extern os_boolean       os_class_type_has_destructor(os_class_type*);
See os_class_type::has_destructor().

os_class_type_has_dispatch_table

extern os_boolean       os_class_type_has_dispatch_table(
      os_class_type* /*class_type*/
      ) /*throw (err_mop_forward_definition)*/;
See os_class_type::has_dispatch_table().

os_class_type_introduces_virtual_functions

extern os_boolean       os_class_type_introduces_virtual_functions(
      os_class_type* /*class_type*/
);
See os_class_type::introduces_virtual_functions().

os_class_type_is_abstract

extern os_boolean       os_class_type_is_abstract(
      os_class_type *
);
See os_class_type::is_abstract().

os_class_type_is_forward_definition

extern os_boolean       os_class_type_is_forward_definition(
      os_class_type *
);
See os_class_type::is_forward_definition().

os_class_type_is_persistent

extern os_boolean       os_class_type_is_persistent(
      os_class_type *
);
See os_class_type::is_persistent().

os_class_type_is_template_class

extern os_boolean       os_class_type_is_template_class(
      os_class_type *
);
See os_class_type::is_template_class().

os_class_type_set_access_of_get_os_typespec_function

extern void      
os_class_type_set_access_of_get_os_typespec_function(
      os_class_type* /*class_type*/,
      os_unsigned_int32 /*access*/
);
See os_class_type::set_access_of_get_os_typespec_function().

os_class_type_set_base_classes

extern void       os_class_type_set_base_classes(
      os_class_type* /*class_type*/,
      os_collection* /*base_classes*/
);
See os_class_type::set_base_classes().

os_class_type_set_class_kind

extern void       os_class_type_set_class_kind(
      os_class_type* /*class_type*/,
      os_unsigned_int32 /*class_kind*/
);
See os_class_type::set_class_kind().

os_class_type_set_defines_virtual_functions

extern void       os_class_type_set_defines_virtual_functions(
      os_class_type* /*class_type*/,
      os_boolean /*defines_virtual_functions*/
);
See os_class_type::set_defines_virtual_functions().

os_class_type_set_dispatch_table_pointer_offset

extern void       os_class_type_set_dispatch_table_pointer_offset(
      os_class_type* /*class_type*/,
      os_int32 /*offset*/
);
See os_class_type::set_dispatch_table_pointer_offset().

os_class_type_set_has_constructor

extern os_boolean       
  os_class_type_set_has_constructor(os_class_type*, os_boolean);
See os_class_type::set_has_constructor().

os_class_type_set_has_destructor

extern os_boolean
        os_class_type_set_has_destructor(os_class_type*, os_boolean);
See os_class_type::set_has_destructor().

os_class_type_set_declares_get_os_typespec_function

extern void       os_class_type_set_declares_get_os_typespec_
function(
      os_class_type* /*class_type*/,
      os_boolean /*declares_get_os_typespec_function*/
);
See os_class_type::set_declares_get_os_typespec_function().

os_class_type_set_indirect_virtual_base_classes

extern void       os_class_type_set_indirect_virtual_base_classes(
      os_class_type* /*class_type*/,
      os_collection* /*base_classes*/
);
See os_class_type::set_indirect_virtual_base_classes().

os_class_type_set_introduces_virtual_functions

extern void       os_class_type_set_introduces_virtual_functions(
      os_class_type* /*class_type*/,
      os_boolean /*defines_new_virtual_functions*/
);
See os_class_type::set_introduces_virtual_functions().

os_class_type_set_is_abstract

extern void       os_class_type_set_is_abstract(
      os_class_type* /*class_type*/,
      os_boolean /*is_abstract*/
);
See os_class_type::set_is_abstract().

os_class_type_set_is_forward_definition

extern void       os_class_type_set_is_forward_definition(
      os_class_type* /*class_type*/,
      os_boolean /*is_forward*/
);
See os_class_type::set_is_forward_definition().

os_class_type_set_is_persistent

extern void       os_class_type_set_is_persistent(
      os_class_type* /*class_type*/,
      os_boolean /*is_persistent*/
);
See os_class_type::set_is_persistent().

os_class_type_set_members

extern void       os_class_type_set_members(
      os_class_type* /*class_type*/,
      os_collection* /*members*/
);
See os_class_type::set_members().

os_class_type_set_name

extern void       os_class_type_set_name(
      os_class_type* /*class_type*/,
      char* /*name*/
);
See os_class_type::set_name().

os_class_type_set_pragmas

extern void       os_class_type_set_pragmas(
      os_class_type* /*class_type*/,
      os_collection* /*pragmas*/
);
See os_class_type::set_pragmas().

os_class_type_set_source_position

extern void       os_class_type_set_source_position(
      os_class_type* /*class_type*/,
      /*const*/ char* /*file*/,
      /*const*/ os_unsigned_int32 /*line*/
);
See os_class_type::set_source_position().

os_comp_schema_cast_to_os_schema

extern os_schema*       os_comp_schema_cast_to_os_schema(
      os_comp_schema *
);
Cast to supertype.

os_comp_schema_get

extern os_comp_schema*       os_comp_schema_get(
      os_database *
      /* return the compilation schema stored in this database */
);
See os_comp_schema::get().

os_database_schema_cast_to_os_schema

extern os_schema* os_database_schema_cast_to_os_schema(
      os_database_schema *
);
Cast to supertype.

os_database_schema_get

extern os_database_schema*       os_database_schema_get(
      os_database *
      /* return the schema associated with this database */
);
See os_database_schema::get().

os_database_schema_get_for_update

extern os_database_schema* os_database_schema* 
os_database_schema_get_for_update(
      /*const*/ os_database*
      ) /*throw(err_no_schema)*/;
See os_database_schema::get_for_update().

os_database_schema_install

extern void os_database_schema_install(
      os_database_schema* /*target_schema*/,
      os_schema* /*new_schema*/
      ) /*throw (err_schema_validation_error)*/;
See os_database_schema::install().

os_database_schema_install_with_options

extern void os_database_schema_install_with_options(
      os_database_schema*,
            os_schema*,
            os_schema_install_options*
);
See os_database_schema::install().

os_enum_type_cast_to_os_type

extern os_type*       os_enum_type_cast_to_os_type(
      os_enum_type *
);
Cast to supertype.

os_enum_type_create

extern os_enum_type*       os_enum_type_create(
      char* /*name*/,
      os_collection* /*literals*/
);
See os_enum_type::create().

os_enum_type_get_enumerator

extern os_enumerator_literal*       os_enum_type_get_enumerator(
      os_enum_type *,
      os_int32
);
See os_enum_type::get_enumerator().

os_enum_type_get_enumerators

extern os_collection*       os_enum_type_get_enumerators(
      os_enum_type *
);
See os_enum_type::get_enumerators().

os_enum_type_get_name

extern char*       os_enum_type_get_name(
      os_enum_type *
);
See os_enum_type::get_name().

os_enum_type_get_pragmas

extern os_collection*       os_enum_type_get_pragmas(
      os_enum_type *
);
See os_enum_type::get_pragmas().

os_enum_type_get_source_position

extern void       os_enum_type_get_source_position(
      os_enum_type*,
      os_char_p* /*file*/,
      os_unsigned_int32* /*line*/
);
See os_enum_type::get_source_position().

os_enum_type_set_enumerators

extern void       os_enum_type_set_enumerators(
      os_enum_type*,
      os_collection* /*literals*/
      ) /*throw (err_mop)*/;
See os_enum_type::set_enumerators().

os_enum_type_set_name

extern void       os_enum_type_set_name(
      os_enum_type*,
      char* /*name*/
);
See os_enum_type::set_name().

os_enum_type_set_pragmas

extern void       os_enum_type_set_pragmas(
      os_enum_type* /*enum_type*/,
      os_collection* /*pragmas*/
);
See os_enum_type::set_pragmas().

os_enum_type_set_source_position

extern void       os_enum_type_set_source_position(
      os_enum_type*,
      /*const*/ char* /*file*/,
      /*const*/ os_unsigned_int32 /*line*/
);
See os_enum_type::set_source_position().

os_enumerator_literal_create

extern os_enumerator_literal*       os_enumerator_literal_create(
      char* /*name*/,
      os_int32 /*value*/
);
See os_enumerator_literal::create().

os_enumerator_literal_get_name

extern char*       os_enumerator_literal_get_name(
      os_enumerator_literal *
);
See os_enumerator_literal::get_name().

os_enumerator_literal_get_value

extern os_int32       os_enumerator_literal_get_value(
      os_enumerator_literal *
);
See os_enumerator_literal::get_value().

os_enumerator_literal_set_name

extern void os_enumerator_literal_set_name(
      os_enumerator_literal* /*literal*/,
      char* /*name*/
);
See os_enumerator_literal::set name().

os_enumerator_literal_set_value

extern void os_enumerator_literal_set_value(
      os_enumerator_literal* /*literal*/,
      os_int32 /*value*/
);
See os_enumerator_literal::set_value().

os_field_member_variable_create

extern os_field_member_variable* 
os_field_member_variable_create(
      char* /*name*/,
      os_integral_type* /*type*/,
      os_unsigned_int8 /*size_in_bits*/
);
See os_field_member_variable::create().

os_field_member_variable_get_offset

extern void       os_field_member_variable_get_offset(
      os_field_member_variable *,
      os_unsigned_int32 *,      /* byte offset part */
      os_unsigned_int8 *      /* bit offset part      */
);
See os_field_member_variable::get_offset().

os_field_member_variable_get_size

extern os_unsigned_int8       os_field_member_variable_get_size(
      os_field_member_variable *      /* return the size in bits */
                              /* occupied by this member */
);
See os_field_member_variable::get_size().

os_field_member_variable_set_offset

extern void       os_field_member_variable_set_offset(
      os_field_member_variable* /*field*/,
      os_unsigned_int32 /*bytes*/,
      os_unsigned_int8 /*bits*/
);
See os_field_member_variable::set_offset().

os_field_member_variable_set_size

extern void       os_field_member_variable_set_size(
      os_field_member_variable* /*field*/,
      os_unsigned_int8 /*size_in_bits*/
);
See os_field_member_variable::set_size().

os_fld_mem_var_cast_to_os_mem_variable

extern os_member_variable*      
os_fld_mem_var_cast_to_os_mem_variable(
      os_field_member_variable *
);
Cast to supertype.

os_fld_mem_var_cast_to_os_member

extern os_member*       os_fld_mem_var_cast_to_os_member(
      os_field_member_variable *
);
Cast to supertype.

os_function_type_cast_to_os_type

extern os_type*       os_function_type_cast_to_os_type(
      os_function_type *
);
Cast to supertype.

os_function_type_create

extern os_function_type*       os_function_type_create(
      os_unsigned_int32 /*os_arg_list_kind*/,
      os_collection* /*args*/,
      os_type* /*return_type*/
);
See os_function_type::create().

os_function_type_equal_signature

extern os_boolean       os_function_type_equal_signature(
      os_function_type* /*function_type*/,
      os_function_type* /*other_function_type*/,
      os_boolean /*check_return_type*/
);
See os_function_type::equal_signature().

os_function_type_get_arg_list

extern os_collection*       os_function_type_get_arg_list(
      os_function_type *
);
See os_function_type::get_arg_list().

os_function_type_get_arg_list_kind

extern os_function_arg_list_kind      os_function_type_get_arg_list_
kind(
      os_function_type *
);
See os_function_type::get_arg_list_kind().

os_function_type_get_return_type

extern os_type*       os_function_type_get_return_type(
      os_function_type *
);
See os_function_type::get_return_type().

os_function_type_set_arg_list

extern void       os_function_type_set_arg_list(
      os_function_type* /*function_type*/,
      os_collection* /*args*/
);
See os_function_type::set_arg_list().

os_function_type_set_arg_list_kind

extern void       os_function_type_set_arg_list_kind(
      os_function_type* /*function_type*/,
      os_unsigned_int32 /*os_arg_list_kind*/
);
See os_function_type::set_arg_list_kind().

os_function_type_set_return_type

extern void       os_function_type_set_return_type(
      os_function_type* /*function_type*/,
      os_type* /*return_type*/
);
See os_function_type::set_return_type().

os_indir_type_cast_to_os_anon_indir_type

extern os_anonymous_indirect_type*
os_indir_type_cast_to_os_anon_indir_type(
      os_indirect_type *
);
See os_indirect_type conversion operators.

os_indir_type_cast_to_os_named_indir_type

extern os_named_indirect_type*
os_indir_type_cast_to_os_named_indir_type(
      os_indirect_type *
);
See os_indirect_type conversion operators.

os_indir_type_get_target_type

extern os_type*       os_indir_type_get_target_type(
      os_indirect_type *
);
See os_indirect_type::get_target_type().

os_indir_type_set_target_type

extern void       os_indir_type_set_target_type(
      os_indirect_type*,
      os_type* /*target_type*/
);
See os_indirect_type::set_target_type().

os_indirect_type_cast_to_os_type

extern os_type*       os_indirect_type_cast_to_os_type(
      os_indirect_type *
);
Cast to supertype.

os_inst_class_type_cast_to_os_class_type

extern os_class_type*       os_inst_class_type_cast_to_os_class_type(
      os_instantiated_class_type *
);
Cast to supertype.

os_inst_class_type_cast_to_os_type

extern os_type*       os_inst_class_type_cast_to_os_type(
      os_instantiated_class_type *
);
Cast to supertype.

os_instantiated_class_type_create_forward_definition

extern os_instantiated_class_type*      
os_instantiate_class_type_create_forward_definition(
      char* /*name*/
);
See os_instantiated_class_type::create().

os_instantiated_class_type_create

extern os_instantiated_class_type*      
os_instantiated_class_type_create(
      char* /*name*/,
      os_collection* /*base_classes*/,
      os_collection* /*members*/,
      os_template_instantiation* /*instantiation*/,
      os_boolean /*defines_virtual_functions*/
);
See os_instantiated_class_type::create().

os_instantiated_class_type_get_instantiation

os_template_instantiation
extern os_template_instantiation*
os_instantiated_class_type_get_instantiation(
      os_instantiated_class_type *
);
See os_instantiated_class_type::get_instantiation().

os_instantiated_class_type_set_instantiation

extern void      
os_instantiated_class_type_set_instantiation(
      os_instantiated_class_type* /*class_type*/,
      os_template_instantiation* /*instantiation*/
);
See os_instantiated_class_type::set_instantiation().

os_integral_type_cast_to_os_type

extern os_type*       os_integral_type_cast_to_os_type(
      os_integral_type *
);
Cast to supertype.

os_integral_type_create

extern os_integral_type*       os_integral_type_create(
      const char*
);
See os_integral_type::create().

os_integral_type_create_defaulted_char

extern os_integral_type*       os_integral_type_create_defaulted_char(
      os_boolean /*sign*/
);
See os_integral_type::create_defaulted_char().

os_integral_type_create_int

extern os_integral_type*       os_integral_type_create_int(
      os_boolean /*sign*/
);
See os_integral_type::create_int().

os_integral_type_create_long

extern os_integral_type*       os_integral_type_create_long(
      os_boolean /*sign*/
);
See os_integral_type::create_long().

os_integral_type_create_short

extern os_integral_type*       os_integral_type_create_short(
      os_boolean /*sign*/
);
See os_integral_type::create_short().

os_integral_type_create_signed_char

extern os_integral_type*       os_integral_type_create_signed_char();
See os_integral_type::create_signed_char().

os_integral_type_create_unsigned_char

extern os_integral_type*       os_integral_type_create_unsigned_char();
See os_integral_type::create_unsigned_char().

os_integral_type_create_wchar_t

extern os_integral_type*       os_integral_type_create_wchar_t();
See os_integral_type::create_wchar_t().

os_integral_type_is_signed

extern os_boolean       os_integral_type_is_signed(
      os_integral_type *
);
See os_integral_type::is_signed().

os_literal_create_char

extern os_literal*       os_literal_create_char(
      char /*c*/
);
See os_literal::create_char().

os_literal_create_enum_literal

extern os_literal*       os_literal_create_enum_literal(
      os_enumerator_literal*
);
See os_literal::create_enum_literal().

os_literal_create_pointer_literal

extern os_literal*       os_literal_create_pointer_literal(
      os_pointer_literal*
);
See os_literal::create_pointer_literal().

os_literal_create_signed_char

extern os_literal*       os_literal_create_signed_char(
      signed char
);
See os_literal::create_signed_char().

os_literal_create_signed_int

extern os_literal*       os_literal_create_signed_int(
      signed int
);
See os_literal::create_signed_int().

os_literal_create_signed_long

extern os_literal*       os_literal_create_signed_long(
      signed long
);
See os_literal::create_signed_long().

os_literal_create_signed_int

extern os_literal*       os_literal_create_signed_short(
      signed short
);
See os_literal::create_signed_short().

os_literal_create_unsigned_char

extern os_literal*       os_literal_create_unsigned_char(
      unsigned char
);
See os_literal::create_unsigned_char().

os_literal_create_unsigned_int

extern os_literal*       os_literal_create_unsigned_int(
      unsigned int
);
See os_literal::create_unsigned_int().

os_literal_create_unsigned_long

extern os_literal*       os_literal_create_unsigned_long(
      unsigned long
);
See os_literal::create_unsigned_long().

os_literal_create_unsigned_short

extern os_literal*       os_literal_create_unsigned_short(
      unsigned short
);
See os_literal::create_unsigned_short().

os_literal_create_wchar_t

extern os_literal*       os_literal_create_wchar_t(
      wchar_t /*c*/
);
See os_literal::create_wchar_t().

os_literal_get_char_value

extern char       os_literal_get_char_value(
      os_literal* /*literal*/
);
See os_literal::get_char_value().

os_literal_get_enum_literal

extern os_enumerator_literal*       os_literal_get_enum_literal(
      os_literal* /*literal*/
);
See os_literal::get_enum_literal().

os_literal_get_kind

extern os_mop_literal_kind os_literal_get_kind(
      os_literal* /*literal*/
);
See os_literal::get_kind().

os_literal_get_pointer_literal

extern os_pointer_literal*       os_literal_get_pointer_literal(
      os_literal* /*literal*/
);
See os_literal::get_pointer_literal().

os_literal_get_signed_integral_value

extern long       os_literal_get_signed_integral_value(
      os_literal* /*literal*/
);
See os_literal::get_signed_integral_value().

os_literal_get_type

extern os_type*       os_literal_get_type(
      os_literal* /*literal*/
);
See os_literal::get_type().

os_literal_get_unsigned_integral_value

extern unsigned long       os_literal_get_unsigned_integral_value(
      os_literal* /*literal*/
);
See os_literal::get_unsigned_integral_value().

os_literal_get_wchar_t_value

extern wchar_t       os_literal_get_wchar_t_value(
      os_literal* /*literal*/
);
See os_literal::get_wchar_t_value().

os_literal_is_unspecified

extern os_boolean       os_literal_is_unspecified(
      os_literal* /*literal*/
);
See os_literal::is_unspecified().

os_literal_template_actual_arg

extern os_literal_template_actual_arg*      
os_literal_template_actual_arg_create(
      os_literal* /*literal*/
);
See os_literal_template_actual_arg::create().

os_literal_template_actual_arg_get_literal

extern os_literal*       os_literal_template_actual_arg_get_literal(
      os_literal_template_actual_arg* /*arg*/
);
See os_literal_template_actual_arg::get_literal().

os_literal_template_actual_arg_set_literal

extern void       os_literal_template_actual_arg_set_literal(
      os_literal_template_actual_arg* /*arg*/,
      os_literal* /*literal*/
);
See os_literal_template_actual_arg::set_literal().

os_mem_function_cast_to_os_member

extern os_member*       os_mem_function_cast_to_os_member(
      os_member_function *
);
Cast to supertype.

os_mem_var_cast_to_os_field_member_variable

extern os_field_member_variable*
os_mem_var_cast_to_os_field_member_variable(
      os_member_variable *
);
See os_member_variable::operator os_field_member_variable&().

os_mem_var_cast_to_os_member

extern os_member*       os_mem_var_cast_to_os_member(
      os_member_variable *
);
Cast to supertype.

os_mem_var_cast_to_os_relationship_member_variable

extern os_relationship_member_variable*
os_mem_var_cast_to_os_relationship_member_variable(
      os_member_variable *
);
See os_member_variable::operator os_relationship_member_variable&().

os_member_cast_to_os_access_modifier

extern os_access_modifier*            
os_member_cast_to_os_access_modifier(
      os_member *
);
See os_member::operator os_access_modifier&().

os_member_cast_to_os_field_member_variable

extern os_field_member_variable*      
os_member_cast_to_os_field_member_variable(
      os_member *
);
See os_member::operator os_field_member_variable&().

os_member_cast_to_os_member_function

extern os_member_function*      os_member_cast_to_os_member_
function(
      os_member *
);
See os_member::operator os_member_function&().

os_member_cast_to_os_member_type

extern os_member_type*       os_member_cast_to_os_member_type(
      os_member *
);
See os_member::operator os_member_type&().

os_member_cast_to_os_member_variable

extern os_member_variable*      
os_member_cast_to_os_member_variable(
      os_member *
);
See os_member::operator os_member_variable&().

os_member_cast_to_os_relationship_member_variable

extern os_relationship_member_variable*
os_member_cast_to_os_relationship_member_variable(
      os_member *
);
See os_member::operator os_relationship_member_variable&().

os_member_defining_class

extern os_class_type*       os_member_defining_class(
      os_member *      /* returns the class defining this member */
);
See os_member::defining_class().

os_member_function_create

extern os_member_function*       os_member_function_create(
      char* /*name*/,
      os_function_type* /*function_type*/
);
See os_member_function::create().

os_member_function_get_call_linkage

extern os_mop_call_linkage
os_member_function_get_call_linkage(
      os_member_function* /*function*/
);
See os_member_function::get_call_linkage().

os_member _function_get_function_kind

extern os_function_kind_os_mop_function_kind
os_member_function_get_function_kind(
      os_member_function* /*function*/
);
See os_member_function::get_function_kind().

os_member_function_get_name

extern char*       os_member_function_get_name(
      os_member_function *
);
See os_member_function::get_name().

os_member_function_get_source_position

extern void       os_member_function_get_source_position(
      os_member_function* /*function*/,
      os_char_p* /*file*/,
      os_unsigned_int32* /*line*/
);
See os_member_function::get_source_position().

os_member_function_get_type

extern os_function_type*       os_member_function_get_type(
      os_member_function *
);
See os_member_function::get_type().

os_member_function_is_const

extern os_boolean       os_member_function_is_const(
      os_member_function *
);
See os_member_function::is_const().

os_member_function_is_inline

extern os_boolean       os_member_function_is_inline(
      os_member_function* /*function*/
);
See os_member_function::is_inline().

os_member_function_is_overloaded

extern os_boolean       os_member_function_is_overloaded(
      os_member_function* /*function*/
);
See os_member_function::is_overloaded().

os_member_function_is_pure_virtual

extern os_boolean       os_member_function_is_pure_virtual(
      os_member_function *
);
See os_member_function::is_pure_virtual().

os_member_function_is_static

extern os_boolean       os_member_function_is_static(
      os_member_function *
);
See os_member_function::is_static().

os_member_function_is_virtual

extern os_boolean       os_member_function_is_virtual(
      os_member_function *
);
See os_member_function::is_virtual().

os_member_function_is_volatile

extern os_boolean       os_member_function_is_volatile(
      os_member_function *
);
See os_member_function::is_volatile().

os_member_function_set_call_linkage

extern void       os_member_function_set_call_linkage(
      os_member_function* /*function*/,
      os_mop_call_linkage /*call_linkage*/
);
See os_member_function::set_call_linkage().

os_member_function_set_function_kind

extern void       os_member_function_set_function_kind(
      os_member_function* /*function*/,
      os_function_kind_os_mop_function_kind /*function_kind*/
);
See os_member_function::set_function_kind().

os_member_function_set_is_const

extern void       os_member_function_set_is_const(
      os_member_function* /*function*/,
      os_boolean /*is_const*/
);
See os_member_function::set_is_const().

os_member_function_set_is_inline

extern void       os_member_function_set_is_inline(
      os_member_function* /*function*/,
      os_boolean /*is_inline*/
);
See os_member_function::set_is_inline().

os_member_function_set_is_overloaded

extern void       os_member_function_set_is_overloaded(
      os_member_function* /*function*/,
      os_boolean /*is_overloaded*/
);
See os_member_function::set_is_overloaded().

os_member_function_set_is_pure_virtual

extern void       os_member_function_set_is_pure_virtual(
      os_member_function* /*function*/,
      os_boolean /*is_pure_virtual*/
);
See os_member_function::set_is_pure_virtual().

os_member_function_set_is_static

extern void       os_member_function_set_is_static(
      os_member_function* /*function*/,
      os_boolean /*is_static*/
);
See os_member_function::set_is_static().

os_member_function_set_is_virtual

extern void       os_member_function_set_is_virtual(
      os_member_function* /*function*/,
      os_boolean /*is_virtual*/
);
See os_member_function::set_is_virtual().

os_member_function_set_is_volatile

extern void       os_member_function_set_is_volatile(
      os_member_function* /*function*/,
      os_boolean /*is_volatile*/
);
See os_member_function::set_is_volatile().

os_member_function_set_name

extern void       os_member_function_set_name(
      os_member_function* /*function*/,
      char* /*name*/
);
See os_member_function::set_name().

os_member_function_set_source_position

extern void       os_member_function_set_source_position(
      os_member_function* /*function*/,
      /*const*/ char* /*file*/,
      /*const*/ os_unsigned_int32 /*line*/
);
See os_member_function::set_source_position().

os_member_function_set_type

extern void       os_member_function_set_type(
      os_member_function* /*function*/,
      os_function_type* /*function_type*/
);
See os_member_function::set_type().

os_member_get_access

extern os_mop_member_access       os_member_get_access(
      os_member *
);
See os_member::get_access().

os_member_get_kind

extern os_mop_member_kind       os_member_get_kind(
      os_member *
);
See os_member::get_kind().

os_member_get_storage_class

extern os_mop_storage_class       os_member_get_storage_class(
      os_member_variable* /*member_variable*/
);
See os_member::get_storage_class().

os_member_is_unspecified

extern os_boolean       os_member_is_unspecified(
      os_member* /*member*/
);
See os_member::is_unspecified().

os_member_set_access

extern void       os_member_set_access(
      os_member* /*member*/,
      os_unsigned_int32 /*access*/
      ) /*throw (err_mop)*/;
See os_member::set_access().

os_member_type_cast_to_os_member

extern os_member*       os_member_type_cast_to_os_member(
      os_member_type *
);
Cast to supertype.

os_member_type_create

extern os_member_type*       os_member_type_create(
      os_type* /*nested_type*/
);
See os_member_type::create().

os_member_type_get_type

extern os_type*       os_member_type_get_type(
      os_member_type *      /* Return the type of this member */
);
See os_member_type::get_type().

os_member_type_set_type

extern void       os_member_type_set_type(
      os_member_type* /*member_type*/,
      os_type* /*nested_type*/
);
See os_member_type::set_type().

os_member_variable_create

extern os_member_variable*       os_member_variable_create(
      char* /*name*/,
      os_type* /*type*/
);
See os_member_variable::create().

os_member_variable_get_name

extern char*       os_member_variable_get_name(
      os_member_variable *      /* the name associated with this member */
);
See os_member_variable::get_name().

os_member_variable_get_offset

extern os_unsigned_int32       os_member_variable_get_offset(
      os_member_variable *      /* the offset of this data member */
                        /* relative to the defining class */
);
See os_member_variable::get_offset().

os_member_variable_get_size

extern os_unsigned_int32       os_member_variable_get_size(
      os_member_variable *      /* the size in bytes of this */
                        /* os_member_variable      */
);
See os_member_variable::get_size().

os_member_variable_get_source_position

extern void       os_member_variable_get_source_position(
      os_member_variable* /*member_variable*/,
      os_char_p* /*file*/,
      os_unsigned_int32* /*line*/
);
See os_member_variable::get_source_position().

os_member_variable_get_type

extern os_type*       os_member_variable_get_type(
      os_member_variable *      /* the type associated with this member */
);
See os_member_variable::get_type().

os_member_variable_is_field

extern os_boolean       os_member_variable_is_field(
      os_member_variable *      /* return true iff this member is */
                        /* a bit field      */
);
See os_member_variable::is_field().

os_member_variable_is_persistent

extern os_boolean       os_member_variable_is_persistent(
      os_member_variable *      /* return true iff this is a */
                        /* persistent data member      */
);
See os_member_variable::is_persistent().

os_member_variable_is_static

extern os_boolean       os_member_variable_is_static(
      os_member_variable *      /* return true iff this is a static */
                        /* data member      */
);
See os_member_variable::is_static().

os_member_variable_set_name

extern void       os_member_variable_set_name(
      os_member_variable* /*member_variable*/,
      char* /*name*/
);
See os_member_variable::set_name().

os_member_variable_set_offset

extern void       os_member_variable_set_offset(
      os_member_variable* /*member_variable*/,
      os_unsigned_int32 /*offset*/
);
See os_member_variable::set_offset().

os_member_variable_set_source_position

extern void       os_member_variable_set_source_position(
      os_member_variable* /*member_variable*/,
      /*const*/ char* /*file*/,
      /*const*/ os_unsigned_int32 /*line*/
);
See os_member_variable::set_source_position().

os_member_variable_set_storage_class

extern void       os_member_variable_set_storage_class(
      os_member_variable* /*member_variable*/,
      os_unsigned_int32 /*storage_class*/
);
See os_member_variable::set_storage_class().

os_member_variable_set_type

extern void       os_member_variable_set_type(
      os_member_variable* /*member_variable*/,
      os_type* /*type*/
);
See os_member_variable::set_type().

os_mop_copy_classes

extern void       os_mop_copy_classes(
      /*const*/ os_schema* /*schema*/,
      os_collection* /*os_const_classes* classes*/
      ) /*throw (err_mop)*/;
See os_mop::copy_classes().

os_mop_find_type

extern os_type*       os_mop_find_type(
      /*const*/ char* /*name*/
);
See os_mop::find_type().

os_mop_get_transient_schema

extern os_schema*       os_mop_get_transient_schema();
See os_mop::get_transient_schema().

os_mop_initialize

extern void       os_mop_initialize();
See os_mop::initialize().

os_mop_initialize_object_metadata

extern void os_mop_initialize_object_metadata(
      void */*object*/, 
      const char */*type_name*/
);
See os_mop::initialize_object_metadata().

os_named_indir_type_cast_to_is_indir_type

extern os_indirect_type*
os_named_indir_type_cast_to_os_indir_type(
      os_named_indirect_type *
);
Cast to supertype.

os_named_indir_type_cast_to_os_type

extern os_type*       os_named_indir_type_cast_to_os_type(
      os_named_indirect_type *
);
Cast to supertype.

os_named_indir_type_get_target_type

extern os_type*       os_named_indir_type_get_target_type(
      os_named_indirect_type *
);
See os_indirect_type::get_target_type().

os_named_indirect_type_create

extern os_named_indirect_type* os_named_indirect_type_create(
      os_type* /*target_type*/,
      char* /*name*/
);
See os_named_indirect_type::create().

os_named_indirect_type_get_name

extern char* os_named_indirect_type_get_name(
      os_named_indirect_type *
);
See os_named_indirect_type::get_name().

os_named_indirect_type_get_source_position

extern void os_named_indirect_type_get_source_position(
      os_named_indirect_type*,
      os_char_p* /*file*/,
      os_unsigned_int32* /*line*/
);
See os_named_indirect_type::get_source_position().

os_named_indirect_type_set_name

extern void os_named_indirect_type_set_name(
      os_named_indirect_type* /*indirect_type*/,
      char* /*name*/
);
See os_named_indirect_type::set_name().

os_named_indirect_type_set_source_position

extern void os_named_indirect_type_set_source_position(
      os_named_indirect_type* /*indirect_type*/,
      /*const*/ char* /*file*/,
      /*const*/ os_unsigned_int32 /*line*/
);
See os_named_indirect_type::set_source_position().

os_pointer_literal_create

extern os_pointer_literal* os_pointer_literal_create(
      char* /*name*/,
      os_pointer_type* /*ptr_type*/
);
See os_pointer_literal::create().

os_pointer_literal_get_name

extern char* os_pointer_literal_get_name(
      os_pointer_literal *
);
See os_pointer_literal::get_name().

os_pointer_literal_get_type

extern os_pointer_type* os_pointer_literal_get_type(
      os_pointer_literal *
);
See os_pointer_literal::get_type().

os_pointer_literal_set_name

extern void os_pointer_literal_set_name(
      os_pointer_literal* /*literal*/,
      char* /*name*/
);
See os_pointer_literal::set name().

os_pointer_literal_set_type

extern void       os_pointer_literal_set_type(
      os_pointer_literal* /*literal*/,
      os_pointer_type* /*ptr_type*/
);
See os_pointer_literal::set_type().

os_pointer_to_member_type_create

extern os_pointer_to_member_type*      
os_pointer_to_member_type_create(
      os_type* /*target_type*/,
      os_class_type* /*class_type*/
);
See os_pointer_to_member-type::create().

os_pointer_to_member_type_get_target_class

extern os_class_type*       
os_pointer_to_member_type_get_target_class(
      os_pointer_to_member_type *
);
See os_pointer_to_member_type::get_target_class().

os_pointer_to_member_type_set_target_class

extern void       os_pointer_to_member_type_set_target_class(
      os_pointer_to_member_type* /*pointer_type*/,
      os_class_type* /*class_type*/
);
See os_pointer_to_member_type::set_target_class().

os_pointer_type_cast_to_os_reference_type

extern os_reference_type*
os_pointer_type_cast_to_os_reference_type(
      os_pointer_type *
);
See os_pointer_type conversion operators.

os_pointer_type_cast_to_os_type

extern os_type*       os_pointer_type_cast_to_os_type(
      os_pointer_type *
);
Cast to supertype.

os_pointer_type_create

extern os_pointer_type*       os_pointer_type_create(
      os_type* /*target_type*/
);
See os_pointer_type::create().

os_pointer_type_get_target_type

extern os_type*       os_pointer_type_get_target_type(
      os_pointer_type *
);
See os_pointer_type::get_target_type().

os_pointer_type_set_target_type

extern void       os_pointer_type_set_target_type(
      os_pointer_type* /*pointer_type*/,
      os_type* /*target_type*/
);
See os_pointer_type::set_target_type().

os_pragma_create_pragma

extern os_pragma*       os_pragma_create_pragma(
      const char*
);
See os_pragma::create().

os_pragma_get_string

extern char*       os_pragma_get_string(
      os_pragma*
);
See os_pragma::get_string().

os_pragma_is_recognized

extern os_boolean       os_pragma_is_recognized(
      os_pragma*
);
See os_pragma::is_recognized().

os_ptr_to_mem_type_cast_to_os_ptr_type

extern os_pointer_type*       os_ptr_to_mem_type_cast_to_os_ptr_
type(
      os_pointer_to_member_type *
);
Cast to supertype.

os_ptr_to_mem_type_cast_to_os_type

extern os_type*       os_ptr_to_mem_type_cast_to_os_type(
      os_pointer_to_member_type *
);
Cast to supertype.

os_ptr_type_cast_to_os_ptr_to_mem_type

extern os_pointer_to_member_type*
os_ptr_type_cast_to_os_ptr_to_mem_type(
      os_pointer_type *
);
See os_pointer_to_member_type conversion operators.

os_real_type_cast_to_os_type

extern os_type*       os_real_type_cast_to_os_type(
      os_real_type *
);
Cast to supertype.

os_real_type_create

extern os_real_type*       os_real_type_create(
      const char*
);
See os_real_type::create().

os_real_type_create_double

extern os_real_type*       os_real_type_create_double();
See os_real_type::create_double().

os_real_type_create_float

extern os_real_type*       os_real_type_create_float();
See os_real_type::create_float().

os_real_type_create_long_double

extern os_real_type*       os_real_type_create_long_double();
See os_real_type::create_long_double().

os_ref_type_cast_to_os_ptr_type

extern os_pointer_type*       os_ref_type_cast_to_os_ptr_type(
      os_reference_type *
);
Cast to supertype.

os_ref_type_cast_to_os_type

extern os_type*       os_ref_type_cast_to_os_type(
      os_reference_type *
);
Cast to supertype.

os_reference_type_create

extern os_reference_type*       os_reference_type_create(
      os_type* /*target_type*/
);
See os_reference_type::create().

os_rel_mem_var_cast_to_os_mem_variable

extern os_member_variable*
os_rel_mem_var_cast_to_os_mem_variable(
      os_relationship_member_variable *
);
Cast to os_member_variable.

os_rel_mem_var_cast_to_os_member

extern os_member*       os_rel_mem_var_cast_to_os_member(
      os_relationship_member_variable *
);
Cast to os_member.

os_rel_mem_var_get_related_class

extern os_class_type* os_rel_mem_var_get_related_class(
      os_relationship_member_variable *
);
See os_relationship_member_variable::get_related_class().

os_rel_mem_var_get_related_member

extern os_relationship_member_variable*
os_rel_mem_var_get_related_member(
      os_relationship_member_variable *
);
See os_relationship_member_variable::get_related_member().

os_schema_cast_to_os_app_schema

extern os_app_schema*       os_schema_cast_to_os_app_schema(
      os_schema *
);
See os_schema::operator os_app_schema&() and os_schema::operator const os_app_schema&().

os_schema_cast_to_os_comp_schema

extern os_comp_schema*       os_schema_cast_to_os_comp_schema(
      os_schema *
);
See os_schema::operator os_comp_schema&() and os_schema::operator const os_comp_schema&().

os_schema_cast_to_os_database_schema

extern os_database_schema*      os_schema_cast_to_os_database_
schema(
      os_schema *
);
See os_schema::operator os_database_schema&() and os_schema::operator const os_database_schema&().

os_schema_find_type

extern os_type*       os_schema_find_type(
      os_schema *,
      const char *      /* name of thing whose type we want */
);
See os_schema::find_type().

os_schema_get_classes

extern os_collection*       os_schema_get_classes(
      os_schema *
);
See os_schema::get_classes().

os_schema_get_kind

extern os_mop_schema_kind       os_schema_get_kind(
      os_schema* /*schema*/
);
See os_schema::get_kind().

os_schema_install_options_create

                              extern void os_schema_install_options* os_schema_install_options_create();
Allocate an os_schema_install_options object. Caller must free the object with os_schema_install_options_destroy. See os_schema_install_options::os_schema_install_options().

os_schema_install_options_destroy

extern void os_schema_install_options_destroy os_schema_
install_options_destroy
(os_schema_install_options*);

os_schema_install_options_get_copy_member_functions

extern void os_boolean 
os_schema_install_options_get_copy_member_functions (os_
schema_install_options*);
See os_schema_install_options::get_copy_member_functions ().

os_schema_install_options_set_copy_member_functions

extern void os_schema_install_options_set_copy_member_
functions (os_schema_install_options*, os_boolean);
See os_schema_install_options::set_copy_member_functions ().

os_template_actual_arg_get_kind

extern os_mop_template_actual_arg_kind
os_template_actual_arg_get_kind(
      os_template_actual_arg* /*arg*/
);
See os_template_actual_arg::get_kind().

os_template_formal_arg_get_kind

extern os_mop_template_formal_arg_kind      
os_template_formal_arg_get_kind(
      os_template_formal_arg* /*arg*/
);
See os_template_formal_arg::get_kind().

os_template_formal_arg_get_name

extern char*       os_template_formal_arg_get_name(
      os_template_formal_arg* /*arg*/
);
See os_template_formal_arg::get_name().

os_template_formal_arg_set_name

extern void       os_template_formal_arg_set_name(
      os_template_formal_arg* /*arg*/,
      char* /*name*/
);
See os_template_formal_arg::set_name().

os_template_formal_create

extern os_template_type_formal*       os_template_formal_create(
      char* /*name*/
);
See os_template_type_formal::create().

os_template_get_args

extern os_collection*       os_template_get_args(
      os_template *
);
See os_template::get_args().

os_template_get_kind

extern os_mop_template_kind       os_template_get_kind(
      os_template *      /* Return the kind of this template */
);
See os_template::get_kind().

os_template_instantiation_create

extern os_template_instantiation*      
os_template_instantiation_create(
      os_template* /*a_template*/,
      os_collection* /*template_actual_args*/
);
See os_template_instantiation::create().

os_template_instantiation_set_args

extern void       os_template_instantiation_set_args(
      os_template_instantiation* /*instantiation*/,
      os_collection* /*template_actual_args*/
);
See os_template_instantiation::set_args().

os_template_instantiation_set_template

extern void       os_template_instantiation_set_template(
      os_template_instantiation* /*instantiation*/,
      os_template* /*a_template*/
);
See os_template_instantiation::set_template().

os_template_is_unspecified

extern os_boolean       os_template_is_unspecified(
      os_template* /*a_template*/
);
See os_template::is_unspecified().

os_template_set_args

extern void       os_template_set_args(
      os_template* /*a_template*/,
      os_collection* /*template_formal_args*/
);
See os_template::set_args().

os_template_value_formal_create

extern os_template_value_formal*      os_template_value_formal_
create(
      char* /*name*/,
      os_type* /*type*/
);
See os_template_value_formal::create().

os_template_value_formal_get_type

extern os_type*       os_template_value_formal_get_type(
      os_template_value_formal* /*formal*/
);
See os_template_value_formal::get_type().

os_template_value_formal_set_type

extern void       os_template_value_formal_set_type(
      os_template_value_formal* /*formal*/,
      os_type* /*type*/
);
See os_template_value_formal::set_type().

os_tmplt_cast_to_os_type_tmplt

extern os_type_template*       os_tmplt_cast_to_os_type_tmplt(
      os_template *
);
See os_template::operator os_type_template&() and os_template::operator const os_type_template&().

os_type_cast_to_os_anonymous_indirect_type

extern os_anonymous_indirect_type*
      os_type_cast_to_os_anonymous_indirect_type(
      os_type *
);
See os_type::operator os_anonymous_indirect_type&() and os_type::operator const os_anonymous_indirect_type&().

os_type_cast_to_os_array_type

extern os_array_type*       os_type_cast_to_os_array_type(
      os_type *
);
See os_type::operator os_array_type&() and os_type::operator const os_array_type&().

os_type_cast_to_os_class_type

extern os_class_type*       os_type_cast_to_os_class_type(
      os_type *
);
See os_type::operator os_class_type&() and os_type::operator const os_class_type&().

os_type_cast_to_os_enum_type

extern os_enum_type*       os_type_cast_to_os_enum_type(
      os_type *
);
See os_type::operator os_enum_type&() and os_type::operator const os_enum_type&().

os_type_cast_to_os_function_type

extern os_function_type*       os_type_cast_to_os_function_type(
      os_type *
);
See os_type::operator os_function_type&() and os_type::operator const os_function_type&().

os_type_cast_to_os_instantiated_class_type

extern os_instantiated_class_type*
      os_type_cast_to_os_instantiated_class_type(
      os_type *
);
See os_type::operator os_instantiated_class_type&() and os_type::operator const os_instantiated_class_type&().

os_type_cast_to_os_integral_type

extern os_integral_type*       os_type_cast_to_os_integral_type(
      os_type *
);
See os_type::operator os_integral_type&() and os_type::operator const os_integral_type&().

os_type_cast_to_os_named_indirect_type

extern os_named_indirect_type*      
os_type_cast_to_os_named_indirect_type(
      os_type *
);
See os_type::operator os_named_indirect_type&() and os_type::operator const os_named_indirect_type&().

os_type_cast_to_os_pointer_to_member_type

extern os_pointer_to_member_type*      os_pointer_to_member_type*
      os_type_cast_to_os_pointer_to_member_type(
      os_type *
);
See os_type::operator os_pointer_to_member_type&() and os_type::operator const os_pointer_to_member_type&().

os_type_cast_to_os_pointer_type

extern os_pointer_type*       os_type_cast_to_os_pointer_type(
      os_type *
);
See os_type::operator os_pointer_type&() and os_type::operator const os_pointer_type&().

os_type_cast_to_os_real_type

extern os_real_type*       os_type_cast_to_os_real_type(
      os_type *
);
See os_type::operator os_real_type&() and os_type::operator const os_real_type&().

os_type_cast_to_os_reference_type

extern os_reference_type*       os_type_cast_to_os_reference_type(
      os_type *
);
See os_type::operator os_reference_type&() and os_type::operator const os_reference_type&().

os_type_cast_to_os_type_type

extern os_type_type*       os_type_cast_to_os_type_type(
      os_type *
);
See os_type::operator os_type_type&() and os_type::operator const os_type_type&().

os_type_cast_to_os_void_type

extern os_void_type*       os_type_cast_to_os_void_type(
      os_type *
);
See os_type::operator os_void_type&() and os_type::operator const os_void_type&().

os_type_get_alignment

extern os_unsigned_int32       os_type_get_alignment(
      os_type *      /* return the alignment associated with this type */
);
See os_type::get_alignment().

os_type_get_enclosing_class

extern os_class_type*       os_type_get_enclosing_class(
      os_type* /*type*/
);
See os_type::get_enclosing_class().

os_type_get_kind

extern os_mop_type_kind       os_type_get_kind(
      os_type *
);
See os_type::get_kind().

os_type_get_kind_string

extern char*       os_type_get_kind_string(
      os_mop_type_kind      /* the os_mop_type_kind enumerator */
);
See os_type::get_kind_string().

os_type_get_size

extern os_unsigned_int32       os_type_get_size(
      os_type *      /* return the size (in bytes) of this type */
);
See os_type::get_size().

os_type_get_string

extern char*       os_type_get_string(
      os_type *
);
See os_type::get_string().

os_type_is_const

extern os_boolean       os_type_is_const(
      os_type *
);
See os_type::is_const().

os_type_is_integral_type

extern os_boolean       os_type_is_integral_type(
      os_type *
);
See os_type::is_integral_type().

os_type_is_real_type

extern os_boolean       os_type_is_real_type(
      os_type *p
);
See os_type::is_real_type().

os_type_is_unspecified

extern os_boolean       os_type_is_unspecified(
      os_type* /*type*/
);
See os_type::is_unspecified().

os_type_is_volatile

os_boolean       os_type_is_volatile
extern os_boolean       os_type_is_volatile(
      os_type *
);
See os_type::is_volatile().

os_type_set_alignment

extern void       os_type_set_alignment(
      os_type* /*type*/,
      os_unsigned_int32 /*alignment*/
      ) /*throw (err_mop)*/;
See os_type::set_alignment().

os_type_set_size

extern void       os_type_set_size(
      os_type* /*type*/,
      os_unsigned_int32 /*size*/
      ) /*throw (err_mop)*/;
See os_type::set_size().

os_type_strip_indirect_types

extern os_type*       os_type_strip_indirect_types(
      os_type *
);
See os_type::strip_indirect_types().

os_type_template_actual_arg

extern os_type_template_actual_arg*
os_type_template_actual_arg_create(
      os_type* /*type*/
);
See os_type_template_actual_arg::create().

os_type_template_actual_arg_get_type

extern os_type*       os_type_template_actual_arg_get_type(
      os_type_template_actual_arg* /*arg*/
);
See os_type_template_actual_arg::get_type().

os_type_template_actual_arg_set_type

extern void       os_type_template_actual_arg_set_type(
      os_type_template_actual_arg* /*arg*/,
      os_type* /*type*/
);
See os_type_template_actual_arg::set_type().

os_type_template_create

extern os_type_template* os_type_template_create(
      os_type* /*type*/,
      os_collection* /*template_formal_args*/
);
See os_type_template::create().

os_type_template_get_type

extern os_type* os_type_template_get_type(
      os_type_template *
);
See os_type_template::get_type().

os_type_template_set_type

extern void os_type_template_set_type(
      os_type_template* /*type_template*/,
      os_type* /*type*/
);
See os_type_template::set_type().

os_type_tmplt_cast_to_os_tmplt

extern os_template* os_type_tmplt_cast_to_os_tmplt(
      os_type_template *
);
Cast to supertype.

os_type_type_at

extern os_type* os_type_type_at(
      const void *      /* address of item whose type is to be identified */
);
See os_type::type_at().

os_type_type_cast_to_os_type

extern os_type* os_type_type_cast_to_os_type(
      os_type_type *
);
Casts an os_type_type to an os_type().

os_type_type_containing

extern os_type* os_type_type_containing(
      const void *,      /* address of object (input) */
      os_void_const_p*,      /* address (returned) of outermost object */
                        /* containing inputted object      */
      os_unsigned_int32 *      /* address of the number of elements in */
                        /* array if inputted object is an array */
);
See os_type::type_containing().

os_type_type_create

extern os_type_type* os_type_type_create();
See os_type_type::create().

os_void_type_cast_to_os_type

extern os_type* os_void_type_cast_to_os_type(
      os_void_type *
);
Cast to supertype.

os_void_type_create

extern os_void_type* os_void_type_create();
See os_void_type::create().

os_notification Functions

The class definitions of os_notification and os_subscription are not visible in C. This presents particular difficulty for array operations, where sizeof() information is not available. To work around this problem, sizeof() functions are provided so that C callers can manipulate arrays of notifications and subscriptions.

To delete ObjectStore references use objectstore_delete().

The text below lists each of the C API functions and its C++ equivalent.

os_notification_new

os_notification * os_notification_new(void);
Creates a new uninitialized notification. See os_notification::os_notification().

os_notification_free

void os_notification_free(os_notification *);
Deletes a notification. This is equivalent to operator delete.

os_notification_new_array

os_notification * os_notification_new_array(os_int32);
Creates a new array of uninitialized notifications. See os_notification::os_notification().

os_notification_free_array

void os_notification_free_array(os_notification*);
Deletes an array of notifications. It is equivalent to operator delete [].

os_notification_sizeof

os_int32 os_notification_sizeof(void);
Returns the size of an os_notification object, for use in array manipulation in C. It is equivalent to sizeof(os_notification).

os_notification_assign

void os_notification_assign(
      os_notification*, 
      os_reference*, 
      os_int32, 
      char *
);
Note that this takes a pointer to an os_reference, not a reference. In C, this means that the reference must be allocated on the heap before calling this function. See os_notification::assign().

os_notification_get_database

os_database * os_notification_get_database(os_notification*);
See os_notification::get_database().

os_notification_get_reference

os_reference * os_notification_get_reference(os_notification*);
Unlike the C++ version, this allocates a reference on the transient heap that must later be deleted using objectstore_delete(). See os_notification::get_reference().

os_notification_get_kind

os_int32 os_notification_get_kind(os_notification*);
See os_notification::get_kind().

os_notification_get_string

char * os_notification_get_string(os_notification*);
See os_notification::get_string().

os_notification_subscribe

void os_notification_subscribe(os_subscription *, os_int32);
See os_notification::subscribe().

os_notification_unsubscribe

void os_notification_unsubscribe(os_subscription *, os_int32);
See os_notification::unsubscribe().

os_notification_notify_immediate

void os_notification_notify_immediate(
      os_int32, 
      os_notification *, 
      os_int32 *
);
See os_notification::notify_immediate().

os_notification_notify_on_commit

void os_notification_notify_on_commit(os_notification *);
Note that in the C interface, you must first create an os_notification object to pass to notify_on_commit. See os_notification::notify_on_commit().

os_notification_set_queue_size

void os_notification_set_queue_size(os_unsigned_int32);
See os_notification::set_queue_size().

os_notification_queue_status

void os_notification_queue_status(
            os_unsigned_int32 *queue_size,
            os_unsigned_int32 *count_pending_notifications, 
            os_unsigned_int32 *count_queue_overflows);
See os_notification::queue_status().

os_notification_receive

os_boolean os_notification_receive(
      os_notification **notification, 
      os_int32 timeout
);
See os_notification::receive().

os_notification__get_fd

os_int32 os_notification__get_fd(void);
See os_notification::_get_fd();.

os_subscription_new

os_subscription * os_subscription_new(void);
Creates a new uninitialized os_subscription. See os_subscription::assign().

os_subscription_free

void os_subscription_free(os_subscription *);
Deletes an os_subscription. It is equivalent to operator delete.

os_subscription_new_array

os_subscription * os_subscription_new_array(os_int32);
Creates a new array of uninitialized os_subscriptions. See os_subscription::assign().

os_subscription_free_array

void os_subscription_free_array(os_subscription*);
Deletes an array of os_subscriptions. It is equivalent to operator delete [].

os_subscription_sizeof

os_int32 os_subscription_sizeof(void);
Returns the size of an os_subscription object, for use in array manipulation in C. It is equivalent to sizeof(os_subscription).

os_subscription_assign_database

void os_subscription_assign_database(os_subscription *, os_
database *);
See os_subscription::assign().

os_subscription_assign_segment

void os_subscription_assign_segment(os_subscription *, os_
segment *);
See os_subscription::assign().

os_subscription_assign_object_cluster

void os_subscription_assign_object_cluster(os_subscription *, os_
object_cluster *);
See os_subscription::assign().

os_subscription_assign_reference

void os_subscription_assign_reference(os_subscription *, os_
reference *, os_int32);
Note that this takes a pointer to an os_reference, not a reference. In C, this means that the reference must be allocated on the heap before calling this function. See os_subscription::assign().

os_subscription_get_database

os_database * os_subscription_get_database(os_subscription *);
See os_subscription::get_database().

os_object_cluster Functions

The C library interface contains functions analogous to those of the class os_object_cluster in the ObjectStore Class Library.

os_object_cluster_destroy

extern void os_object_cluster_destroy(
                  os_object_cluster* cluster,
                  os_forced_destroy option
);
See os_object_cluster::destroy().

os_object_cluster_free

extern void os_object_cluster_free(
                  os_object_cluster* cluster
);
See os_object_cluster::destroy().

os_object_cluster_get_info

extern void os_object_cluster_get_info(
                  os_object_cluster* cluster,
                  os_int32 *cluster_size,
                  os_int32 *free,      
                  os_int32 *contig_free
);
See os_object_cluster::get_info().

os_object_cluster_is_empty

extern os_boolean os_object_cluster_is_empty(
                  os_object_cluster* cluster
);
See os_object_cluster::is_empty().

os_object_cluster_of

extern os_object_cluster* os_object_cluster_of(
                  os_object_cluster* cluster,
                  void const* obj
);
See os_object_cluster::of().

os_object_cluster_segment_of

extern os_segment* os_object_cluster_segment_of(
                  os_object_cluster* cluster
);
See os_object_cluster::segment_of().

os_object_cursor Functions

The C library interface contains functions analogous to those of the class os_object_cursor in the ObjectStore Class Library.

os_object_cursor_create

extern os_object_cursor* os_object_cursor_create(
      const os_segment *seg
);
See os_object_cursor::os_object_cursor().

os_object_cursor_current

extern os_boolean os_object_cursor_current(
      os_object_cursor *cursor,
      void **pointer,
      const os_type **type,
      os_int32 *count
);
See os_object_cursor::current().

os_object_cursor_delete

extern void os_object_cursor_delete(
      os_object_cursor *cursor
);
See os_object_cursor::~os_object_cursor().

os_object_cursor_first

extern void os_object_cursor_first(
      os_object_cursor *cursor
);
See os_object_cursor::first().

os_object_cursor_more

extern os_boolean os_object_cursor_more(
      os_object_cursor *cursor
);
See os_object_cursor::more().

os_object_cursor_next

extern void os_object_cursor_next(
      os_object_cursor *cursor
);
See os_object_cursor::next().

os_object_cursor_set

extern void os_object_cursor_set(
      os_object_cursor *cursor,
      void *pointer
);
See os_object_cursor::set().

os_pvar Functions

The C library interface contains functions analogous to those of the class os_pvar in the ObjectStore Class Library.

os_pvar_define

extern void os_pvar_define(
      database *,
      void **,
      char *,
      os_typespec *,
      os_pvar_init_function
);
See os_pvar::os_pvar().

os_pvar_init_int

extern void * os_pvar_init_int(
      database *
);
See os_pvar::init_int().

os_pvar_init_long

extern void * os_pvar_init_long(
      database *
);
See os_pvar::init_long().

os_pvar_init_pointer

extern void * os_pvar_init_pointer(
      database *
);
See os_pvar::init_pointer().

os_pvar_undefine

extern void os_pvar_undefine(
                  void **
);
See os_pvar::undefine().

os_rawfs_entry Functions

The C library interface contains functions analogous to those of the class os_rawfs_entry in the ObjectStore Class Library.

os_rawfs_entry_delete

void os_rawfs_entry_delete(
                  os_rawfs_entry *stat_entry,
                  os_boolean is_array);
Deletes an os_rawfs_entry struct and frees storage. See os_rawfs_entry::~os_rawfs_entry().

os_rawfs_entry_get_creation_time

os_unixtime_t os_rawfs_entry_get_creation_time(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_creation_time().

os_rawfs_entry_get_group_name

const char* os_rawfs_entry_get_group_name(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_group_name().

os_rawfs_entry_get_link_host

const char* os_rawfs_entry_get_link_host(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_link_host().

os_rawfs_entry_get_link_path

const char* os_rawfs_entry_get_link_path(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_link_path().

os_rawfs_entry_get_n_sectors

extern os_unsigned_int32 os_rawfs_entry_get_n_sectors(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_n_sectors().

os_rawfs_entry_get_name

const char* os_rawfs_entry_get_name(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_name().

os_rawfs_entry_get_permission

extern os_unsigned_int32 os_rawfs_entry_get_permission(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_permission().

os_rawfs_entry_get_server_host

const char* os_rawfs_entry_get_server_host(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_server_host().

os_rawfs_entry_get_type

extern os_int32 os_rawfs_entry_get_type(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_type().

os_rawfs_entry_get_user_name

const char* os_rawfs_entry_get_user_name(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::get_user_name().

os_rawfs_entry_is_db

extern os_boolean os_rawfs_entry_is_db(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::is_db().

os_rawfs_entry_is_dir

extern os_boolean os_rawfs_entry_is_dir(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::is_dir().

os_rawfs_entry_is_link

extern os_boolean os_rawfs_entry_is_link(
                  const os_rawfs_entry* entry
                  );
See os_rawfs_entry::is_link().

os_segment Functions

ObjectStore databases are divided into segments. Each segment can be used as a unit of transfer to and from persistent storage. Every database is created with one initial segment. Additional segments are created by the user, if desired.

os_segment_allow_external_pointers

extern void os_segment_allow_external_pointers(
                  os_segment *
);
See os_segment::allow_external_pointers().

os_segment_count_objects

extern void os_segment_count_objects(
                  os_segment *,
                  os_int32 *, /* length */
                  objectstore_object_count **
);
See os_segment::count_objects().

os_segment_create_object_cluster

extern os_object_cluster* os_segment_create_object_cluster(
                  os_segment *seg, os_unsigned_int32 size
);
See os_segment::create_object_cluster().

os_segment_database_of

extern os_database * os_segment_database_of(
                  os_segment *
);
See os_segment::database_of().

os_segment_destroy

extern void os_segment_destroy(
                  os_segment *
);
See os_segment::destroy().

os_segment_external_pointer_status

extern void os_segment_external_pointer_status(
                  os_segment *,
                  os_boolean *,
                  os_boolean *
);
See os_segment::external_pointer_status().

os_segment_get_access_control

extern os_segment_access* os_segment_get_access_control(
      os_segment *segment
);
See os_segment::get_access_control().

os_segment_get_all_object_clusters

extern void os_segment_get_all_object_clusters(
                  os_segment *seg, os_int32 max_clusters,
                  os_object_cluster** cluster_array,
                  os_int32* n_clusters
);
See os_segment::get_all_object_clusters().

os_segment_get_application_info

extern void * os_segment_get_application_info(
                  os_segment *
);
See os_segment::get_application_info().

os_segment_get_check_illegal_pointers

extern os_boolean       os_segment_get_check_illegal_pointers(
                  os_segment *
);
See os_segment::get_check_illegal_pointers().

os_segment_get_comment

extern char * os_segment_get_comment(
                  os_segment *seg
);
See os_segment::get_comment().

os_segment_get_database_references

extern void os_segment_get_database_references(
                  os_segment *,
                  os_int32 *,
                  os_database_reference ***
);
See os_segment::get_database_references().

os_segment_get_fetch_policy

extern void os_segment_get_fetch_policy(
                  os_segment *,
                  os_fetch_policy *,
                  os_int32 *
);
See os_segment::get_fetch_policy().

extern objectstore_lock_option objectstore_lock_option
os_segment_get_lock_whole_segment(
                  os_segment *
);
See os_segment::get_lock_whole_segment().

os_segment_get_n_object_clusters

extern os_int32 os_segment_get_n_object_clusters(
                  os_segment *seg
);
See os_segment::get_n_object_clusters().

os_segment_get_null_illegal_pointers

extern os_boolean os_segment_get_null_illegal_pointers(
                  os_segment *
);
See os_segment::get_null_illegal_pointers().

os_segment_get_number

extern os_unsigned_int32 os_segment_get_number(
                  os_segment *
);
See os_segment::get_number().

os_segment_get_readlock_timeout

extern os_int32 os_segment_get_readlock_timeout(
                  os_segment *seg
);
See os_segment::get_readlock_timeout().

os_segment_get_size

extern os_unsigned_int32 os_segment_get_size(
                  os_segment *
);
See os_segment::get_size().

os_segment_get_transient_segment

os_segment * os_segment_get_transient_segment();
See os_segment::get_transient_segment().

os_segment_get_writelock_timeout

extern os_int32 os_segment_get_writelock_timeout(
                  os_segment *seg
);
See os_segment::get_writelock_timeout().

os_segment_is_empty

extern os_boolean os_segment_is_empty(
                  os_segment *
);
See os_segment::is_empty().

os_segment_lock_into_cache

extern void os_segment_lock_into_cache(
                  os_segment *
);
See os_segment::lock_into_cache().

os_segment_of

extern os_segment * os_segment_of(
                  void *
);
See os_segment::of().

os_segment_return_memory

extern os_unsigned_int32 os_segment_return_memory(
                  os_segment *,
                  os_boolean
);
See os_segment::return_memory().

os_segment_set_access_control

extern void os_segment_set_access_control(
      os_segment *segment,
      const os_segment_access *new_access
);
See os_segment::set_access_control().

os_segment_set_application_info

extern void os_segment_set_application_info(
                  os_segment *,
                  void *
);
See os_segment::set_application_info().

os_segment_set_check_illegal_pointers

extern void os_segment_set_check_illegal_pointers(
                  os_segment *,
                  os_boolean
);
See os_segment::set_check_illegal_pointers().

os_segment_set_comment

extern void os_segment_set_comment(
                  os_segment *seg,
                  char *new_comment
);
See os_segment::set_comment().

os_segment_set_fetch_policy

extern void os_segment_set_fetch_policy(
                  os_segment *,
                  os_fetch_policy,
                  os_int32
);
See os_segment::set_fetch_policy().

os_segment_set_lock_whole_segment

extern void os_segment_set_lock_whole_segment(
                  os_segment *,
                  objectstore_lock_option
);
See os_segment::set_lock_whole_segment().

os_segment_set_null_illegal_pointers

extern void os_segment_set_null_illegal_pointers(
                  os_segment *,
                  os_boolean
);
See os_segment::set_null_illegal_pointers().

os_segment_set_readlock_timeout

extern void os_segment_set_readlock_timeout(
                  os_segment *seg,
                  os_int32 milliseconds
);
See os_segment::set_readlock_timeout().

os_segment_set_size

extern os_unsigned_int32 os_segment_set_size(
                  os_segment *,
                  os_unsigned_int32
);
See os_segment::set_size().

os_segment_set_writelock_timeout

extern void os_segment_set_writelock_timeout(
                  os_segment *seg,
                  os_int32 milliseconds
);
See os_segment::set_writelock_timeout().

os_segment_size

extern os_unsigned_int32 os_segment_size(
                  os_segment *
);
See os_segment::size().

os_segment_unlock_from_cache

extern void os_segment_unlock_from_cache(
                  os_segment *
);
See os_segment::unlock_from_cache().

os_segment_access Functions

The C library interface contains functions analogous to those of the class os_segment_access in the ObjectStore Class Library.

os_segment_access_delete

extern void os_segment_access_delete(
      os_segment_access *control,
      os_boolean is_array
);
See os_segment_access::~os_segment_access().

os_segment_access_get_default

extern os_int32 os_segment_access_get_default(
      os_segment_access *control
);
See os_segment_access::get_default().

os_segment_access_get_primary_group

extern os_int32 os_segment_access_get_primary_group(
      os_segment_access *control,
      const char** group
);
See os_segment_access::get_primary_group().

os_segment_access_set_default

extern void os_segment_access_set_default(
      os_segment_access *control,
      os_int32 type
);
See os_segment_access::set_default().

os_segment_access_set_primary_group

extern void os_segment_access_set_primary_group(
      os_segment_access *control,
      const char* group,
      os_int32 type
);
See os_segment_access::set_primary_group().

os_server Functions

The C library interface contains functions analogous to those of the class os_server in the ObjectStore Class Library.

os_server_connection_is_broken

extern os_boolean os_server_connection_is_broken(
      os_server *
);
See os_server::connection_is_broken().

os_server_disconnect

extern void os_server_disconnect(
      os_server *
);
See os_server::disconnect().

os_server_get_databases

extern void os_server_get_databases(
      os_server *, 
      os_int32,      /* max db's to return */ 
      os_database_p*, /* where to return them */ 
      os_int32 */* how many returned */
);
See os_server::get_databases().

os_server_get_host_name

extern char * os_server_get_host_name(
      os_server *
);
See os_server::get_host_name().

os_server_get_n_databases

extern os_int32 os_server_get_n_databases(
      os_server *
);
See os_server::get_n_databases().

os_server_reconnect

extern void os_server_reconnect(
      os_server *
);
See os_server::reconnect().

os_transaction Functions

The C library interface contains functions analogous to those of the class os_transaction in the ObjectStore Class Library.

os_transaction_abort

extern void os_transaction_abort(
                  os_transaction *
);
See os_transaction::abort().

os_transaction_abort_top_level

extern void os_transaction_abort_top_level();
See os_transaction::abort_top_level().

os_transaction_begin

extern os_transaction * os_transaction_begin(
                  transaction_type
);
See os_transaction::begin().

os_transaction_begin_named

extern os_transaction * os_transaction_begin_named(
char* name, os_transaction_type
);
See os_transaction::begin().

os_transaction_commit

extern void os_transaction_commit(
                  os_transaction *
);
See os_transaction::commit().

os_transaction_get_abort_handle

extern tix_exception * os_transaction_get_abort_handle(
                  os_transaction *
);
See os_transaction::get_abort_handle().

os_transaction_get_current

extern os_transaction * os_transaction_get_current();
See os_transaction::get_current().

os_transaction_get_exception_status

extern tix_exception * os_transaction_get_exception_status(
                  os_transaction *
);
See os_transaction::get_exception_status().

os_transaction_get_max_retries

os_int32 os_transaction_get_max_retries();
See os_transaction::get_max_retries().

os_transaction_get_name

extern char* os_transaction_get_name(
os_transaction*
);
See os_transaction::get_name().

os_transaction_get_parent

extern os_transaction * os_transaction_get_parent(
                  os_transaction *
);
See os_transaction::get_parent().

os_transaction_get_type

extern os_transaction_type os_transaction_get_type(
os_transaction *
);
See os_transaction::get_type().

os_transaction_is_aborted

extern os_boolean os_transaction_is_aborted(
os_transaction *
);
See os_transaction::is_aborted().

os_transaction_is_committed

extern os_boolean os_transaction_is_committed(
os_transaction *
);
See os_transaction::is_committed().

os_transaction_set_max_retries

extern void os_transaction_set_max_retries(
os_int32
);
See os_transaction::set_max_retries().

os_transaction_set_name

extern void os_transaction_set_name(
os_transaction*, const char*
);
See os_transaction::set_name().

os_transaction_top_level

extern os_boolean os_transaction_top_level(
os_transaction *
);
See os_transaction::top_level().

os_typespec Functions

os_typespec_equal

extern long os_typespec_equal(
      os_typespec *,
      os_typespec *
);
Returns nonzero if the specified typespecs designate the same type; 0 otherwise.

os_typespec_get_char

extern os_typespec * os_typespec_get_char(); 
See os_typespec::get_char().

os_typespec_get_double

extern os_typespec * os_typespec_get_double(); 
See os_typespec::get_double().

os_typespec_get_float

extern os_typespec * os_typespec_get_float(); 
See os_typespec::get_float().

os_typespec_get_int

extern os_typespec * os_typespec_get_int(); 
See os_typespec::get_int().

os_typespec_get_long

extern os_typespec * os_typespec_get_long(); 
See os_typespec::get_long().

os_typespec_get_long_double

extern os_typespec * os_typespec_get_long_double(); 
See os_typespec::get_long_double().

os_typespec_get_name

extern char * os_typespec_get_name(
      os_typespec *
);
Returns the name of the type designated by the specified typespec.

os_typespec_get_pointer

extern os_typespec * os_typespec_get_pointer();
See os_typespec::get_pointer().

os_typespec_get_short

extern os_typespec * os_typespec_get_short(); 
See os_typespec::get_short().

os_typespec_get_signed_char

os_typespec_get_signed_char
extern os_typespec * os_typespec_get_signed_char(); 
See os_typespec::get_signed_char().

os_typespec_get_signed_int

extern os_typespec * os_typespec_get_signed_int(); 
See os_typespec::get_signed_int().

os_typespec_get_signed_long

extern os_typespec * os_typespec_get_signed_long();
See os_typespec::get_signed_long().

os_typespec_get_signed_short

extern os_typespec * os_typespec_get_signed_short(); 
See os_typespec::get_signed_short().

os_typespec_get_unsigned_char

extern os_typespec * os_typespec_get_unsigned_char(); 
See os_typespec::get_unsigned_char().

os_typespec_get_unsigned_int

extern os_typespec * os_typespec_get_unsigned_int(); 
See os_typespec::get_unsigned_int().

os_typespec_get_unsigned_long

extern os_typespec * os_typespec_get_unsigned_long();
See os_typespec::get_unsigned_long().

os_typespec_get_unsigned_short

extern os_typespec * os_typespec_get_unsigned_short(); 
See os_typespec::get_unsigned_short().

os_typespec_name_is

extern os_boolean os_typespec_name_is(
                  os_typespec *,
                  char *
);
See os_typespec::name_is().

Reference Functions

The C library interface contains functions analogous to those of the classes os_reference, os_reference_local, os_reference_protected, os_reference_protected_local, os_reference_this_DB, and os_reference_transient in the ObjectStore Class Library.

os_reference_EQ

extern int os_reference_EQ(
      os_reference* ref1,
      os_reference* ref2
);
See os_reference::operator ==().

os_reference_GE

extern int os_reference_GE(
      os_reference* ref1,
      os_reference* ref2
);
See os_reference::operator >=().

os_reference_GT

extern int os_reference_GT(
      os_reference* ref1,
      os_reference* ref2
);
See os_reference::operator >().

os_reference_LE

extern int os_reference_LE(
      os_reference* ref1,
      os_reference* ref2
);
See os_reference::operator <=().

os_reference_LT

extern int os_reference_LT(
      os_reference* ref1,
      os_reference* ref2
);
See os_reference::operator <().

os_reference_NE

extern int os_reference_NE(
      os_reference* ref1,
      os_reference* ref2
);
See os_reference::operator !=().

os_reference_NOT

extern int os_reference_NOT(
      os_reference* ref1
);
Returns nonzero if the reference is null; 0 otherwise.

os_reference_dump

extern char* os_reference_dump(
      os_reference* ref
);
See os_reference::dump().

os_reference_dump2

extern char* os_reference_dump2(
      os_reference* ref, 
      char *db_str
);
See os_reference::dump().

os_reference_get_database_key

extern char* os_reference_get_database_key(
      os_reference* ref, 
      const char* dump_str
);
See os_reference::get_database_key().

os_reference_load2

extern void os_reference_load2(
      os_reference* ref, 
      const char *handle, 
      const os_database *db
);
See os_reference::load().

os_reference_new

extern os_reference* os_reference_new(
      void* ptr, segment* seg
);
See os_reference::os_reference().

os_reference_new_from_string

extern os_reference* os_reference_new_from_string(
      char* string, segment* seg
);
See os_reference::os_reference().

os_reference_resolve

extern void* os_reference_resolve(
      os_reference* ref
);
See os_reference::resolve().

os_reference_local_EQ

extern int os_reference_local_EQ(
      os_reference_local* ref1,
      os_reference_local* ref2
);
See os_reference_local::operator ==().

os_reference_local_GE

extern int os_reference_local_GE(
      os_reference_local* ref1,
      os_reference_local* ref2
);
See os_reference_local::operator >=().

os_reference_local_GT

extern int os_reference_local_GT(
      os_reference_local* ref1,
      os_reference_local* ref2
);
See os_reference_local::operator >().

os_reference_local_LE

extern int os_reference_local_LE(
      os_reference_local* ref1,
      os_reference_local* ref2
);
See os_reference_local::operator <=().

os_reference_local_LT

extern int os_reference_local_LT(
      os_reference_local* ref1,
      os_reference_local* ref2
);
See os_reference_local::operator <().

os_reference_local_NE

extern int os_reference_local_NE(
      os_reference_local* ref1,
      os_reference_local* ref2
);
See os_reference_local::operator !=().

os_reference_local_NOT

extern int os_reference_local_NOT(
      os_reference_local* ref1
);
Returns nonzero if the reference is null; 0 otherwise.

os_reference_local_dump

extern char* os_reference_local_dump(
      os_reference_local* ref, char* database_name
);
See os_reference_local::dump().

os_reference_local_get_database_key

extern char* os_reference_local_get_database_key(
      os_reference_local* ref, 
      char* dump_str
);
See os_reference_local::get_database_key().

os_reference_local_new

extern os_reference_local* os_reference_local_new(
      void* ptr, segment* seg
);
Creates a reference in the specified segment.

os_reference_local_new_from_string

extern os_reference_local* os_reference_local_new_from_string(
      char* string, segment* seg
);
See os_reference_local::os_reference_local().

os_reference_local_resolve

extern void* os_reference_local_resolve(
      os_reference_local* ref, database* database
);
See os_reference_local::resolve().

os_reference_protected_EQ

extern int os_reference_protected_EQ(
      os_reference_protected* ref1,
      os_reference_protected* ref2
);
See os_reference_protected::operator ==().

os_reference_protected_GE

extern int os_reference_protected_GE(
      os_reference_protected* ref1,
      os_reference_protected* ref2
);
See os_reference_protected::operator >=().

os_reference_protected_GT

extern int os_reference_protected_GT(
      os_reference_protected* ref1,
      os_reference_protected* ref2
);
See os_reference_protected::operator >().

os_reference_protected_LE

extern int os_reference_protected_LE(
      os_reference_protected* ref1,
      os_reference_protected* ref2
);
See os_reference_protected::operator <=().

os_reference_protected_LT

extern int os_reference_protected_LT(
      os_reference_protected* ref1,
      os_reference_protected* ref2
);
See os_reference_protected::operator <().

os_reference_protected_NE

extern int os_reference_protected_NE(
      os_reference_protected* ref1,
      os_reference_protected* ref2
);
See os_reference_protected::operator !=().

os_reference_protected_deleted

extern int os_reference_protected_deleted(
      os_reference_protected* ref
);
See os_reference_protected::deleted().

os_reference_protected_dump

extern char* os_reference_protected_dump(
      os_reference_protected* ref
);
See os_reference_protected::dump().

os_reference_protected_dump2

extern char* os_reference_protected_dump2(
      os_reference_protected* ref, 
      const char *db_str
);
See os_reference_protected::dump().

os_reference_protected_forget

extern void os_reference_protected_forget(
      os_reference_protected* ref
);
See os_reference_protected::forget().

os_reference_protected_get_database_key

extern char* os_reference_protected_get_database_key(
      os_reference_protected* ref,
      const char* dump_str 
);
See os_reference_protected::get_database_key();.

os_reference_protected_load2

extern char* os_reference_protected_load2(
      os_reference* ref, 
      const char *handle, 
      const os_database *db
);
See os_reference_protected::load().

os_reference_protected_local_EQ

extern int os_reference_protected_local_EQ(
      os_reference_protected_local* ref1,
      os_reference_protected_local* ref2
);
See os_reference_protected_local::operator ==().

os_reference_protected_local_GE

extern int os_reference_protected_local_GE(
      os_reference_protected_local* ref1,
      os_reference_protected_local* ref2
);
See os_reference_protected_local::operator >=().

os_reference_protected_local_GT

extern int os_reference_protected_local_GT(
      os_reference_protected_local* ref1,
      os_reference_protected_local* ref2
);
See os_reference_protected_local::operator >().

os_reference_protected_local_LE

extern int os_reference_protected_local_LE(
      os_reference_protected_local* ref1,
      os_reference_protected_local* ref2
);
See os_reference_protected_local::operator <=().

os_reference_protected_local_LT

extern int os_reference_protected_local_LT(
      os_reference_protected_local* ref1,
      os_reference_protected_local* ref2
);
See os_reference_protected_local::operator <().

os_reference_protected_local_NE

extern int os_reference_protected_local_NE(
      os_reference_protected_local* ref1,
      os_reference_protected_local* ref2
);
See os_reference_protected_local::operator !=().

os_reference_protected_local_deleted

extern int os_reference_protected_local_deleted(
      os_reference_protected_local* ref,
            database* db
);
See os_reference_protected_local::deleted().

os_reference_protected_local_dump

extern char* os_reference_protected_local_dump(
      os_reference_protected_local* ref,
      char* database_name
);
See os_reference_protected_local::dump().

os_reference_protected_local_forget

extern void os_reference_protected_local_forget(
      os_reference_protected_local* ref,
            database* db
);
See os_reference_protected_local::forget().

os_reference_protected_local_get_database_key

extern char* os_reference_protected_local_get_database_key(
      os_reference_protected_locak* ref, 
      const char* dump_str
);
See os_reference_protected_local::get_database_key().

extern os_reference_protected_local* os_reference_protected_
local*
os_reference_protected_local_new(
      void* ptr, segment* seg
);
Creates a reference in the specified segment.

extern os_reference_protected_local* os_reference_protected_
local*
os_reference_protected_local_new_from_string(
      char* string, segment* seg
);
See os_reference_protected_local::os_reference_protected_local().

os_reference_protected_local_resolve

extern void* os_reference_protected_local_resolve(
      os_reference_protected_local* ref,
      database* database
);
See os_reference_protected_local::resolve().

os_reference_protected_new

extern os_reference_protected* os_reference_protected_new(
void* ptr, segment* seg
);
Creates a reference in the specified segment.

os_reference_protected_new_from_string

extern os_reference_protected* 
os_reference_protected_new_from_string(
      char* string, segment* seg
);
See os_reference_protected::os_reference_protected().

os_reference_protected_resolve

extern void* os_reference_protected_resolve(
      os_reference_protected* ref
);
See os_reference_protected::resolve().

os_reference_this_DB_EQ

extern int os_reference_this_DB_EQ(
      os_reference_this_DB* ref1,
      os_reference_this_DB* ref2
);
See os_reference_this_DB::operator ==().

os_reference_this_DB_GE

extern int os_reference_this_DB_GE(
      os_reference_this_DB* ref1,
      os_reference_this_DB* ref2
);
See os_reference_this_DB::operator >=().

os_reference_this_DB_GT

extern int os_reference_this_DB_GT(
      os_reference_this_DB* ref1,
      os_reference_this_DB* ref2
);
See os_reference_this_DB::operator >().

os_reference_this_DB_LE

extern int os_reference_this_DB_LE(
      os_reference_this_DB* ref1,
      os_reference_this_DB* ref2
);
See os_reference_this_DB::operator <=().

os_reference_this_DB_LT

extern int os_reference_this_DB_LT(
      os_reference_this_DB* ref1,
      os_reference_this_DB* ref2
);
See os_reference_this_DB::operator <().

os_reference_this_DB_NE

extern int os_reference_this_DB_NE(
      os_reference_this_DB* ref1,
      os_reference_this_DB* ref2
);
See os_reference_this_DB::operator !=().

os_reference_this_DB_NOT

extern int os_reference_this_DB_NOT(
      os_reference_this_DB* ref1
);
Returns nonzero if the specified reference is null; 0 otherwise.

os_reference_this_DB_dump

extern char* os_reference_this_DB_dump(
      os_reference_this_DB* ref
);
See os_reference_this_DB::dump().

os_reference_this_DB_new

extern os_reference_this_DB* os_reference_this_DB_new(
      void* ptr, segment* seg
);
Creates a reference in the specified segment.

os_reference_this_DB_new_from_string

extern os_reference_this_DB* 
os_reference_this_DB_new_from_string(
      char* string, segment* seg
);
See os_reference_this_DB::os_reference_this_DB().

os_reference_this_DB_resolve

extern void* os_reference_this_DB_resolve(
      os_reference_this_DB* ref
);
See os_reference_this_DB::resolve().

os_reference_this_DB_dump2

extern char* os_reference_this_DB_dump2(
      os_reference_this_DB* ref, 
      const char* db_str
);
See os_reference_this_DB::dump().

os_reference_transient_EQ

extern int os_reference_transient_EQ(
      os_reference_transient* ref1,
      os_reference_transient* ref2
);
See os_reference_transient::operator ==().

os_reference_this_DB_get_database_key

extern char* os_reference_this_DB_get_database_key(
      os_reference_this_DB* ref, 
      const char* dump_str
);
See os_reference_this_DB::get_database_key().

os_reference_transient_GE

os_reference_transient_GE
extern int os_reference_transient_GE(
      os_reference_transient* ref1,
      os_reference_transient* ref2
);
See os_reference_transient::operator >=().

os_reference_transient_GT

extern int os_reference_transient_GT(
      os_reference_transient* ref1,
      os_reference_transient* ref2
);
See os_reference_transient::operator >().

os_reference_transient_LE

extern int os_reference_transient_LE(
      os_reference_transient* ref1,
      os_reference_transient* ref2
);
See os_reference_transient::operator <=().

os_reference_transient_LT

extern int os_reference_transient_LT(
      os_reference_transient* ref1,
      os_reference_transient* ref2
);
See os_reference_transient::operator <().

os_reference_transient_NE

extern int os_reference_transient_NE(
      os_reference_transient* ref1,
      os_reference_transient* ref2
);
See os_reference_transient::operator !=().

os_reference_transient_NOT

extern int os_reference_transient_NOT(
      os_reference_transient* ref1
);
Returns nonzero if the specified reference is null; 0 otherwise.

os_reference_transient_dump

extern char* os_reference_transient_dump(
      os_reference_transient* ref
);
See os_reference_transient::dump().

os_reference_transient_new

extern os_reference_transient* os_reference_transient_new(
      void* ptr, segment* seg
);
Creates a reference in the specified segment.

os_reference_transient_new_from_string

extern os_reference_transient* 
os_reference_transient_new_from_string(
      char* string, segment* seg
);
See os_reference_transient::os_reference_transient().

os_reference_transient_resolve

extern void* os_reference_transient_resolve(
      os_reference_transient* ref
);
See os_reference_transient::resolve().

os_reference_transient_dump2

extern char* os_reference_transient_dump2(
      os_reference_transient* ref, 
      const char* db_str
);
See os_reference_transient::dump().

os_reference_transient_get_database_key

extern char* os_reference_transient_get_database_key(
      os_reference* ref,
      const char* dump_str);
See os_reference_transient::get_database_key().

os_reference_transient_load2

extern char* os_reference_transient_load2(
      os_reference_transient* ref, 
      const char *handle, 
      const os_database *db
);
See os_reference_transient::load().

Schema Evolution Functions

The following functions provide the C interface to ObjectStore schema evolution. See os_schema_evolution in the ObjectStore Advanced C++ API User Guide.

os_evolve_subtype_fun_binding_create

extern os_evolve_subtype_fun_binding* os_evolve_subtype_fun_
binding_create(
      char* type,
      os_evolve_subtype_fun fcn,
      char* fcn_name
);
See os_evolve_subtype_fun_binding::os_evolve_subtype_fun_binding().

os_evolve_subtype_fun_binding_destroy

extern void os_evolve_subtype_fun_binding_destroy(
      os_evolve_subtype_fun_binding*
);
Deletes the specified os_evolve_subtype_fun_binding.

os_prim_typed_pointer_void_get_pointer

extern void* os_prim_typed_pointer_void_get_pointer(
      os_typed_pointer_void*      /* this */
);
See os_typed_pointer_void::get_pointer().

os_prim_typed_pointer_void_get_type

extern os_type* os_prim_typed_pointer_void_get_type(
      os_typed_pointer_void*      /* this */
);
See os_typed_pointer_void::get_type().

os_schema_evolution_augment_classes_to_be_recycled

extern void os_schema_evolution_augment_classes_to_be_
recycled(
      char* /* name of class to be recycled */
);
See os_schema_evolution::augment_classes_to_be_recycled().

os_schema_evolution_augment_classes_to_be_recycled_multiple

extern void
os_schema_evolution_augment_classes_to_be_recycled_multiple(
      os_collection<char*>*      /* names of classes to be recycled */
);
See os_schema_evolution::augment_classes_to_be_recycled().

os_schema_evolution_augment_classes_to_be_removed

extern void os_schema_evolution_augment_classes_to_be_
removed(
      char*                  /* name of class to be removed */
);
See os_schema_evolution::augment_classes_to_be_removed().

os_schema_evolution_augment_classes_to_be_removed_multiple

extern void os_schema_evolution_augment_classes_to_be_
removed_multiple(
      os_collection<char*>*      /* names of classes to be removed */
);
See os_schema_evolution::augment_classes_to_be_removed().

os_schema_evolution_augment_nonversioned_transformers

extern void os_schema_evolution_augment_nonversioned_
transformers(
os_transformer_binding*
);
See os_schema_evolution::augment_nonversioned_transformers().

os_schema_evolution_augment_nonversioned_transformers_multiple

extern void os_schema_evolution_augment_nonversioned_
transformers_multiple(
os_transformer_bindings*
);
See os_schema_evolution::augment_nonversioned_transformers().

os_schema_evolution_augment_post_evol_transformers

extern void 
os_schema_evolution_augment_post_evol_transformers(
      os_transformer_binding*
);
See os_schema_evolution::augment_post_evol_transformers().

os_schema_evolution_augment_post_evol_transformers_multiple

extern void os_schema_evolution_augment_post_evol_
transformers_multiple(
      os_transformer_bindings*
);
See os_schema_evolution::augment_post_evol_transformers().

os_schema_evolution_augment_pre_evol_transformers

extern void os_schema_evolution_augment_pre_evol_
transformers(
      os_transformer_binding*
);
See os_schema_evolution::augment_pre_evol_transformers().

os_schema_evolution_augment_pre_evol_transformers_multiple

extern void os_schema_evolution_augment_pre_evol_
transformers_multiple(
      os_transformer_bindings*
);
See os_schema_evolution::augment_pre_evol_transformers().

os_schema_evolution_augment_subtype_selectors

extern void os_schema_evolution_augment_subtype_selectors(
      os_evolve_subtype_fun_binding*
);
See os_schema_evolution::augment_subtype_selectors().

os_schema_evolution_augment_subtype_selectors_multiple

extern void os_schema_evolution_augment_subtype_selectors_
multiple(
      os_evolve_subtype_fun_bindings*
);
See os_schema_evolution::augment_subtype_selectors().

os_schema_evolution_evolve

extern void os_schema_evolution_evolve(
      char*,                  /* name of work db */
      char*                  /* name of db to be evolved */
);
See os_schema_evolution::evolve().

os_schema_evolution_evolve_multiple

extern void os_schema_evolution_evolve_multiple(
      char*,                  /* name of work db */
      os_charp_collection*      /* names of dbs to be evolved */
);
See os_schema_evolution::evolve().

os_schema_evolution_get_enclosing_object

extern os_typed_pointer_void 
os_schema_evolution_get_enclosing_object(
      void*
);
See os_schema_evolution::get_enclosing_object().

os_schema_evolution_get_evolved_address

extern os_typed_pointer_void 
os_schema_evolution_get_evolved_address(
      void*                  /* addr-1 */
);
See os_schema_evolution::get_evolved_address().

os_schema_evolution_get_evolved_object

extern os_typed_pointer_void 
os_schema_evolution_get_evolved_object(
      void*                  /* object-1 */
);
See os_schema_evolution::get_evolved_object().

os_schema_evolution_get_ignore_illegal_pointers

extern os_boolean 
os_schema_evolution_get_ignore_illegal_pointers();
See os_schema_evolution::get_ignore_illegal_pointers().

os_schema_evolution_get_obsolete_index_handler

extern os_obsolete_index_handler_fun 
os_schema_evolution_get_obsolete_index_handler();
See os_schema_evolution::get_obsolete_index_handler().

os_schema_evolution_get_obsolete_query_handler

extern os_obsolete_query_handler_fun 
os_schema_evolution_get_obsolete_query_handler();
See os_schema_evolution::get_obsolete_query_handler().

os_schema_evolution_get_path_to_member

extern os_path* os_schema_evolution_get_path_to_member(
                  void*
);
See os_schema_evolution::get_path_to_member().

os_schema_evolution_get_unevolved_address

extern os_typed_pointer_void 
os_schema_evolution_get_unevolved_address(
      void*                  /* addr-2 */
);
See os_schema_evolution::get_unevolved_address().

os_schema_evolution_get_unevolved_object

extern os_typed_pointer_void 
os_schema_evolution_get_unevolved_object(
      void*                  /* object-2 */
);
See os_schema_evolution::get_unevolved_object().

os_schema_evolution_get_work_database

extern os_database * os_schema_evolution_get_work_database(); 
See os_schema_evolution::get_work_database().

os_schema_evolution_set_evolved_schema_db_name

extern void os_schema_evolution_set_evolved_schema_db_name(
      char*                  /* evolved schema db name */
);
See os_schema_evolution::set_evolved_schema_db_name().

os_schema_evolution_set_explanation_level

extern void os_schema_evolution_set_explanation_level(
                  os_unsigned_int32
);
See os_schema_evolution::set_explanation_level().

os_schema_evolution_set_ignore_illegal_pointers

extern void os_schema_evolution_set_ignore_illegal_pointers(
os_boolean
);
See os_schema_evolution::set_ignore_illegal_pointers().

os_schema_evolution_set_illegal_pointer_handler_database_root

extern void 
os_schema_evolution_set_illegal_pointer_handler_database_root(
      os_illegal_database_root_handler_fun
);
See os_schema_evolution::set_illegal_pointer_handler().

os_schema_evolution_set_illegal_pointer_handler_pointer

extern void 
os_schema_evolution_set_illegal_pointer_handler_pointer(
      os_illegal_pointer_handler_fun
);
See os_schema_evolution::set_illegal_pointer_handler().

os_schema_evolution_set_illegal_pointer_handler_pointer_to_member

extern void
os_schema_evolution_set_illegal_pointer_handler_pointer
_to_member(
os_illegal_pointer_to_member_handler_fun );
See os_schema_evolution::set_illegal_pointer_handler().

os_schema_evolution_set_illegal_pointer_handler_reference

extern void 
os_schema_evolution_set_illegal_pointer_handler_reference(
      os_illegal_reference_handler_fun
);
See os_schema_evolution::set_illegal_pointer_handler().

os_schema_evolution_set_illegal_pointer_handler_reference_local

extern void (
      os_illegal_reference_local_handler_fun
);
See os_schema_evolution::set_illegal_pointer_handler().

os_schema_evolution_set_illegal_pointer_handler_reference_version

extern void (
      os_illegal_reference_version_handler_fun
);
See os_schema_evolution::set_illegal_pointer_handler().

os_schema_evolution_set_local_references_are_db_relative

extern void os_schema_evolution_set_local_references_are_db_
relative(
      os_boolean
);
See os_schema_evolution::set_local_references_are_db_relative().

os_schema_evolution_set_obsolete_index_handler

extern void os_schema_evolution_set_obsolete_index_handler(
      os_obsolete_index_handler_fun
);
See os_schema_evolution::set_obsolete_index_handler().

os_schema_evolution_set_obsolete_query_handler

extern void os_schema_evolution_set_obsolete_query_handler(
      os_obsolete_query_handler_fun
);
See os_schema_evolution::set_obsolete_query_handler().

os_schema_evolution_set_pre_evolution_setup_hook

extern void os_schema_evolution_set_pre_evolution_setup_hook(
os_hook_function_void
);
See os_schema_evolution::set_task_list_file_name().

os_schema_evolution_set_recycle_all_classes

extern void os_schema_evolution_set_recycle_all_classes(
      os_boolean
);
See os_schema_evolution::set_recycle_all_classes().

os_schema_evolution_set_resolve_ambiguous_void_pointers

extern void 
os_schema_evolution_set_resolve_ambiguous_void_pointers(
os_boolean
);
See os_schema_evolution::set_resolve_ambiguous_void_pointers().

os_schema_evolution_set_task_list_file_name

extern void os_schema_evolution_set_task_list_file_name(
                  char* file_name
);
See os_schema_evolution::set_task_list_file_name().

os_schema_evolution_task_list

extern void os_schema_evolution_task_list(
      char*,                  /* name of work db */
      char*            /* db to be evolved */
);
See os_schema_evolution::task_list().

os_schema_evolution_task_list_multiple

extern void os_schema_evolution_task_list_multiple(
      char*,                  /* name of work db */
      os_charp_collection*      /* names of dbs to be evolved */
);
See os_schema_evolution::task_list().

os_transformer_binding_create

extern os_transformer_binding* os_transformer_binding_create(
      char* type,
      os_transformer fcn,
      char* fcn_name
);
See os_transformer_binding::os_transformer_binding().

os_transformer_binding_destroy

extern void os_transformer_binding_destroy(
      os_transformer_binding*
);
Deletes the specified os_transformer_binding.

os_prim_typed_pointer_void_assign

extern void os_prim_typed_pointer_void_assign(
      os_typed_pointer_void*,            /* this */
      void*,                  /* thing to point to */
      os_type*            /* type of the thing pointed to */
);
See os_typed_pointer_void::os_typed_pointer_void().

TIX Functions

The C library interface contains functions analogous to those of the classes tix_exception, tix_handler, and basic_undo. See Appendix A, Exception Facility.

os_delete_tix_exception

extern void os_delete_tix_exception(
tix_exception * /* excp */
);
Deletes an exception.

os_new_tix_exception

extern tix_exception * os_new_tix_exception(
char * /* message */,       tix_exception * /* parent */
);
Creates an exception.

tix_exception_message

extern char * tix_exception_message(
      tix_exception *             /* exception */
);
See tix_exception::message().

tix_exception_parent

extern tix_exception * tix_exception_parent(
      tix_exception *             /* exception */
);
See tix_exception::parent().

tix_exception_signal

extern void tix_exception_signal(
      tix_exception *             /* excp */,
      char *            /* format */,
      ...
);
See tix_exception::signal().

tix_exception_signal_val

extern void tix_exception_signal_val(
      tix_exception *             /* excp */,
      int             /* value */,
      char *            /* format */,
      ...
);
See tix_exception::signal().

tix_exception_vsignal

extern void tix_exception_vsignal(
      tix_exception *             /* excp */,
      int /* value */,
      char *             /* format */,
      va_list             /* args */
);
See tix_exception::vsignal().

tix_handler_get_current

extern tix_handler *tix_handler_get_current();
See tix_handler::get_current().

tix_handler_get_exception

extern tix_exception *tix_handler_get_exception();
See tix_handler::get_exception().

tix_handler_get_report

extern char *tix_handler_get_report();
See tix_handler::get_report().

tix_handler_get_value

extern int tix_handler_get_value();
See tix_handler::get_value().



[previous] [next]

Copyright © 1997 Object Design, Inc. All rights reserved.

Updated: 03/31/98 17:33:06