8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 02:03:04 +01:00

Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *)

This commit is contained in:
alexpeshkoff 2002-12-16 17:01:58 +00:00
parent 060af170e6
commit e234f46913
9 changed files with 11 additions and 13 deletions

View File

@ -426,7 +426,7 @@ SOURCE=..\..\..\src\jrd\vio.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\jrd\why.c
SOURCE=..\..\..\src\jrd\why.cpp
# End Source File
# Begin Source File

View File

@ -426,7 +426,7 @@ SOURCE=..\..\..\src\jrd\vio.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\jrd\why.c
SOURCE=..\..\..\src\jrd\why.cpp
# End Source File
# Begin Source File

View File

@ -180,7 +180,7 @@ SOURCE=..\..\..\src\jrd\utl.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\jrd\why.c
SOURCE=..\..\..\src\jrd\why.cpp
# End Source File
# End Group
# Begin Group "DSQL files"

View File

@ -53,7 +53,7 @@
/* For Netware the follow DB handle and isc_status is #defined to be a */
/* local variable on the stack in main. This is to avoid multiple */
/* threading problems with module level statics. */
DATABASE DB = STATIC "/gds/dev_nt/utilities/yachts.lnk";
DATABASE DB = STATIC "yachts.lnk";
#define DB db_handle
#define isc_status status_vector

View File

@ -181,7 +181,7 @@ int UTIL_gsec(
*
**************************************/
STATUS *status;
void *db_handle = NULL; /* user info database handle */
struct why_hndl *db_handle = NULL; /* user info database handle */
TEXT user_info_name[MAXPATHLEN], *u; /* user info database name */
SLONG redir_in, redir_out, redir_err;
int local_argc;

View File

@ -31,7 +31,7 @@
#include "../utilities/rmet_proto.h"
#include "../jrd/gds_proto.h"
DATABASE DB = STATIC FILENAME "rebuild.gdb";
DATABASE DB = STATIC FILENAME "ODS.RDB";
ULONG *RMET_tips(TEXT * db_in)

View File

@ -28,7 +28,7 @@
#include "../utilities/rstor_proto.h"
#include "../jrd/gds_proto.h"
DATABASE DB = STATIC FILENAME "rebuild.gdb";
DATABASE DB = STATIC FILENAME "ODS.RDB";
static void store_headers(RBDB);

View File

@ -28,7 +28,7 @@
extern "C" {
#endif
extern SSHORT SECURITY_exec_line (STATUS *, void *,
extern SSHORT SECURITY_exec_line (STATUS *, struct why_hndl *,
struct user_data *,
void (*)(void *, USER_DATA, BOOLEAN),
void *);

View File

@ -34,16 +34,14 @@
#include "../utilities/gsec.h"
#include "../utilities/secur_proto.h"
/* DATABASE DB = STATIC FILENAME "isc.gdb"; */
DATABASE DB = STATIC FILENAME "isc4.gdb";
DATABASE DB = STATIC FILENAME "isc.gdb";
#define MAX_PASSWORD_LENGTH 31
#define SYSDBA_USER_NAME "SYSDBA"
SSHORT SECURITY_exec_line(STATUS * isc_status,
void *DB,
FRBRD *DB,
USER_DATA user_data,
void (*display_func) (void *, USER_DATA, BOOLEAN),
void *callback_arg)
@ -111,7 +109,7 @@ SSHORT SECURITY_exec_line(STATUS * isc_status,
SCHAR encrypted1[MAX_PASSWORD_LENGTH + 2];
SCHAR encrypted2[MAX_PASSWORD_LENGTH + 2];
STATUS tmp_status[ISC_STATUS_LENGTH];
void *gds__trans;
FRBRD *gds__trans;
BOOLEAN found;
SSHORT ret = 0;