home *** CD-ROM | disk | FTP | other *** search
- // :H1 SQLC.H : START OF SPECIFICATIONS
- //----------------------------------------------------------------------
- //
- // Module Name: SQLC.H
- //
- // Description: This module interfaces to the SQL database.
- //
- // Product Classification:
- // Licensed Materials - Property of IBM
- // This product contains "Restricted Materials of IBM"
- // 5696-314 (C) Copyright IBM Corp. 1992
- // All rights reserved.
- // US Government Users Restricted Rights - Use, duplication or
- // disclosure restricted by GSA ADP Schedule Contract with IBM
- // Corp.
- //
- // Status: New
- //
- // Initial Author: George L. Havens
- //
- // Function: This module provides a C interface to the SQL routines
- // required by the SQL object.
- //
- // Notes: None.
- //
- // Dependencies: This module requires that PORTABLE.H be included.
- // This module requires that SQLDA.H
- //
- // Restrictions: List any restrictions that apply to
- // changing, compiling or calling this module
- //
- // Compiler: Zortech C++
- //
- // Change Activity -----------------------------------------------------
- //
- // $MOD(module) COMP(component) PROD(product): Description...
- //
- // FLAG REASON VERS DATE WHO DESCRIPTION
- // ---- -------- ---- ------ --- -----------
- // V100 920224 GLH : Initial level
- //
- // END-OF-SPECIFICATIONS -----------------------------------------------
-
- #define BIND_FILE "SQLC.BND"
-
- SHORT sql_create (CHAR *name, CHAR *comment, CHAR* bind_path, CHAR drive);
- SHORT sql_delete (CHAR *name);
- SHORT sql_start (VOID);
- SHORT sql_stop (VOID);
- SHORT sql_open (CHAR *name, CHAR use);
- SHORT sql_close (VOID);
- SHORT sql_dynamic (CHAR *statement);
- SHORT sql_desc (CHAR *statement, struct sqlda *var);
- SHORT sql_fetch (BOOLEAN beginning, CHAR *statement, struct sqlda *var);
- SHORT sql_close_cur (VOID);
- SHORT sql_delete_row (CHAR *statement);
- SHORT sql_commit (VOID);
- SHORT sql_get_pool_size (CHAR *name, USHORT *size);
- SHORT sql_set_pool_size (CHAR *name, USHORT size);
- SHORT sql_get_log_size (CHAR *name, USHORT *size);
- SHORT sql_set_log_size (CHAR *name, USHORT size);
- SHORT sql_get_log_number (CHAR *name, USHORT *primary, USHORT *secondary);
- SHORT sql_set_log_number (CHAR *name, USHORT primary, USHORT secondary);
- SHORT sql_rollback (VOID);