mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *)
This commit is contained in:
parent
060af170e6
commit
e234f46913
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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 *);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user