mimir 0.3.5

Rust bindings over the Oracle Database Programming Interface for Drivers and Applications
// Copyright (c) 2017 mimir developers
//
// Licensed under the Apache License, Version 2.0
// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT
// license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. All files in the project carrying such notice may not be copied,
// modified, or distributed except according to those terms.

//! ODPI-C opaque structs
#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents connections to the database and is available by handle to a calling
/// application or driver.
pub struct ODPIConn([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents the context in which all activity in the library takes place.
pub struct ODPIContext([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents the available options for dequeuing messages when using advanced
/// queuing and is available by handle to a calling application or driver.
pub struct ODPIDeqOptions([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents the available options for enqueuing messages when using advanced
/// queuing and is available by handle to a calling application or driver.
pub struct ODPIEnqOptions([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents large objects (CLOB, BLOB, NCLOB and BFILE) and is available by handle
/// to a calling application or driver.
pub struct ODPILob([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents the available properties for messages when using advanced queuing and
/// is available by handle to a calling application or driver.
pub struct ODPIMsgProps([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents instances of the types created by the SQL command CREATE OR REPLACE
/// TYPE and is available by handle to a calling application or driver.
pub struct ODPIObject([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents attributes of the types created by the SQL command CREATE OR REPLACE
/// TYPE and is available by handle to a calling application or driver.
pub struct ODPIObjectAttr([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents types such as those created by the SQL command CREATE OR REPLACE TYPE
/// and is available by handle to a calling application or driver.
pub struct ODPIObjectType([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents session pools and is available by handle to a calling application or
/// driver.
pub struct ODPIPool([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure is used to represent the unique identifier of a row in the database and is
/// available by handle to a calling application or driver.
pub struct ODPIRowid([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents statements of all types (queries, DML, DLL and PL/SQL) and is
/// available by handle to a calling application or driver.
pub struct ODPIStmt([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents subscriptions to events such as continuous query notification and
/// object change notification and is available by handle to a calling application or driver.
pub struct ODPISubscr([u8; 0]);

#[repr(C)]
#[derive(Clone, Copy, Debug)]
/// This structure represents memory areas used for transferring data to and from the database and
/// is available by handle to a calling application or driver.
pub struct ODPIVar([u8; 0]);