dbi-dev.h | dbi-dev.h | |||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | |||
* | * | |||
* $Id: dbi-dev.h,v 1.22 2002/10/25 22:16:51 dap Exp $ | * $Id: dbi-dev.h,v 1.23 2002/11/06 00:35:33 dap Exp $ | |||
*/ | */ | |||
#ifndef __DBI_DEV_H__ | #ifndef __DBI_DEV_H__ | |||
#define __DBI_DEV_H__ | #define __DBI_DEV_H__ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#include <dbi/dbi.h> /* for dbi_conn_error_handler_func */ | #include <dbi/dbi.h> /* for dbi_conn_error_handler_func */ | |||
skipping to change at line 163 | skipping to change at line 163 | |||
int error_number; /*XXX*/ | int error_number; /*XXX*/ | |||
char *error_message; /*XXX*/ | char *error_message; /*XXX*/ | |||
dbi_conn_error_handler_func error_handler; | dbi_conn_error_handler_func error_handler; | |||
void *error_handler_argument; | void *error_handler_argument; | |||
dbi_result_t **results; /* for garbage-collector-mandated result dis joins */ | dbi_result_t **results; /* for garbage-collector-mandated result dis joins */ | |||
int results_used; | int results_used; | |||
int results_size; | int results_size; | |||
struct dbi_conn_s *next; /* so libdbi can unload all conns at exit * / | struct dbi_conn_s *next; /* so libdbi can unload all conns at exit * / | |||
} dbi_conn_t; | } dbi_conn_t; | |||
unsigned long _isolate_attrib(unsigned long attribs, unsigned long rangemin , unsigned rangemax); | unsigned long _isolate_attrib(unsigned long attribs, unsigned long rangemin , unsigned long rangemax); | |||
void _error_handler(dbi_conn_t *conn, dbi_error_flag errflag); | void _error_handler(dbi_conn_t *conn, dbi_error_flag errflag); | |||
int _disjoin_from_conn(dbi_result_t *result); | int _disjoin_from_conn(dbi_result_t *result); | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif /* __cplusplus */ | #endif /* __cplusplus */ | |||
#endif /* __DBI_DEV_H__ */ | #endif /* __DBI_DEV_H__ */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||