1 /* 2 sybbind.h High level Sybase row loading and binding support 3 4 MODULE: sybbind 5 FILES: sybbind.c and sybbind.h (this one). 6 7 This module provides a high-level interface to the Sybase procedures 8 for binding rows to C variables and for loading rows in form the 9 database. These procedures permit a single procedure call to bind 10 many variables in a single call. The SybaseLoad procedure call 11 adds row retrieval as well. This reduce the amounts of coding 12 detail required by lumping the dbbind() and dbnextresults() calls 13 into a single call with only a single return code to check. 14 15 Note: This module was adapted from the module of the same 16 name from the GenInfo Backbone database project. It 17 had to be slightly modified to meet Medline project 18 coding conventions. (module nomenclature) 19 20 Edit History: 21 25 July 1991 - Rand S. Huntzinger, NLM/NCBI 22 Modified to comply with Medline project coding conventions. 23 24 Original version: circa 1989-1990, Rand S. Huntzinger, NLM/NCBI 25 * 26 * 27 * RCS Modification History: 28 * $Log: sybbind.h,v $ 29 * Revision 6.0 1997/08/25 18:37:03 madden 30 * Revision changed to 6.0 31 * 32 * Revision 1.2 1995/05/17 17:56:05 epstein 33 * add RCS log revision history 34 * 35 */ 36 37 #ifndef DEF_MODULE_SYBBIND 38 #define DEF_MODULE_SYBBIND 39 40 /* Define the procedural entry points to the sybbind module */ 41 42 RETCODE VSybaseBind( DBPROCESS *dbproc, void *args ); 43 RETCODE SybaseBind( DBPROCESS *dbproc, ... ); 44 RETCODE SybaseLoad( DBPROCESS *dbproc, ... ); 45 46 #endif /* DEF_MODULE_SYBBIND */ 47