diff options
Diffstat (limited to 'src/interfaces/libpgtcl/pgtclId.h')
-rw-r--r-- | src/interfaces/libpgtcl/pgtclId.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/interfaces/libpgtcl/pgtclId.h b/src/interfaces/libpgtcl/pgtclId.h index 046ab39a086..0d74a0b674f 100644 --- a/src/interfaces/libpgtcl/pgtclId.h +++ b/src/interfaces/libpgtcl/pgtclId.h @@ -9,12 +9,12 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pgtclId.h,v 1.11 1999/05/25 16:15:08 momjian Exp $ + * $Id: pgtclId.h,v 1.12 1999/05/25 22:43:47 momjian Exp $ * *------------------------------------------------------------------------- */ -extern void PgSetConnectionId(Tcl_Interp * interp, PGconn *conn); +extern void PgSetConnectionId(Tcl_Interp *interp, PGconn *conn); #if TCL_MAJOR_VERSION == 7 && TCL_MINOR_VERSION == 5 /* Only Tcl 7.5 had drivers with this signature */ @@ -33,19 +33,19 @@ extern void PgSetConnectionId(Tcl_Interp * interp, PGconn *conn); #define DRIVER_DEL_PROTO ClientData cData, Tcl_Interp *interp #endif -extern PGconn *PgGetConnectionId(Tcl_Interp * interp, char *id, +extern PGconn *PgGetConnectionId(Tcl_Interp *interp, char *id, Pg_ConnectionId **); extern PgDelConnectionId(DRIVER_DEL_PROTO); extern int PgOutputProc(DRIVER_OUTPUT_PROTO); extern PgInputProc(DRIVER_INPUT_PROTO); -extern int PgSetResultId(Tcl_Interp * interp, char *connid, PGresult *res); -extern PGresult *PgGetResultId(Tcl_Interp * interp, char *id); -extern void PgDelResultId(Tcl_Interp * interp, char *id); -extern int PgGetConnByResultId(Tcl_Interp * interp, char *resid); -extern void PgStartNotifyEventSource(Pg_ConnectionId * connid); -extern void PgStopNotifyEventSource(Pg_ConnectionId * connid); -extern void PgNotifyTransferEvents(Pg_ConnectionId * connid); -extern void PgNotifyInterpDelete(ClientData clientData, Tcl_Interp * interp); +extern int PgSetResultId(Tcl_Interp *interp, char *connid, PGresult *res); +extern PGresult *PgGetResultId(Tcl_Interp *interp, char *id); +extern void PgDelResultId(Tcl_Interp *interp, char *id); +extern int PgGetConnByResultId(Tcl_Interp *interp, char *resid); +extern void PgStartNotifyEventSource(Pg_ConnectionId *connid); +extern void PgStopNotifyEventSource(Pg_ConnectionId *connid); +extern void PgNotifyTransferEvents(Pg_ConnectionId *connid); +extern void PgNotifyInterpDelete(ClientData clientData, Tcl_Interp *interp); /* GetFileProc is needed in Tcl 7.6 *only* ... it went away again in 8.0 */ #if TCL_MAJOR_VERSION == 7 && TCL_MINOR_VERSION >= 6 |