Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

veo13.c File Reference


Detailed Description

XUser file and registry API created 2000-09-26 17:38 AuthorR.Roedling.

Author:
J. Mensing (jrg) area XUSER

Definition in file veo13.c.

#include "geo13.h"
#include "geo00_0.h"
#include "heo13.h"
#include "heo00.h"
#include "heo46.h"
#include "geo007_1.h"
#include "geo007_2.h"
#include "hsp100.h"
#include "hsp78_0.h"
#include "hsp02.h"

Go to the source code of this file.

Defines

#define IS_USERDATA_611(_XUserVersion)   (_XUserVersion == 0 )
#define IS_USERDATA_627(_XUserVersion)   (_XUserVersion == 1 )
#define IS_USERDATA_72(_XUserVersion)   (_XUserVersion == 2 )
#define MF__   MOD__"eo13_recryptName"
#define MF__   MOD__"eo13_cryptNameToC20"
#define MF__   MOD__"eo13_checkUserId"
#define MF__   MOD__"eo13_readXuserEntries"
#define MF__   MOD__"eo13_createInfoPage"
#define MF__   MOD__"eo13_findXuserKey"
#define MF__   MOD__"eo13_xuserKeyIsBlank"
#define MF__   MOD__"eo13_putUser"
#define MF__   MOD__"sql13u_getuser"
#define MF__   MOD__"sql13u_init_user_params"
#define MF__   MOD__"sqlclearuser"
#define MF__   MOD__"sqlindexuser"
#define MF__   MOD__"sqlgetuser"
#define MF__   MOD__"sqlputuser"
#define MF__   MOD__"sqlxucloseuser"
#define MF__   MOD__"sqlxuopenuser"
#define MF__   MOD__"UNDEFINED"
#define MOD__   "veo13.c:"

Functions

static void cn90CalculateUncrypt (const tsp00_CryptPw pwCrypted, char *passwd, bool bForDatabase)
static bool eo13_CheckPureAscii (const tsp00_Uint2 *srcUCS2, int srcLenInBytes)
static tsp00_Int4 eo13_checkUserId (SAPDB_Char *accountName, PXUSER_INFO_PAGE pInfoPage, tsp00_ErrText acErrorText)
static void eo13_CopyAsciiToUCS2 (tsp00_Uint2 *destUCS2, const tsp00_Byte *srcAscii, int srcLen)
static void eo13_CopyUCS2ToAscii (tsp00_Byte *destAscii, const tsp00_Uint2 *srcUCS2, int srcLen)
static tsp00_Int4 eo13_createInfoPage (SAPDB_Char *accountName, tsp00_ErrText acErrorText)
static void eo13_cryptNameToC20 (tsp00_CryptName alCryptedName, tsp00_C20 acC20Array[csp_cryptname])
static bool eo13_findXuserKey (tsp4_xuserkey acXUserKey, tsp00_Uint4 *pulPage)
static void eo13_PadSpacesAscii (char *buffer, int len)
static void eo13_PadSpacesUCS2 (unsigned short *buffer, int len)
static void eo13_prepareBlankPasswords (tsp00_CryptPw cryptedPasswordAscii, tsp00_CryptPw cryptedPasswordUCS2)
static tsp00_Int4 eo13_putUser (tsp4_xuser_record *prcUserParams, SAPDB_Char *accountName, tsp00_ErrText acErrorText)
static tsp00_Int4 eo13_readXuserEntries (SAPDB_Char *accountName, tsp00_ErrText acErrorText)
static void eo13_recryptName (tsp00_C20 acReCryptName[csp_cryptname], tsp00_CryptName alCryptedName)
static void eo13_SetupUCS2Entries (tsp00_KnlIdentifier userUCS2, tsp00_CryptPw cryptedPasswordUCS2, tsp00_KnlIdentifier userAscii, tsp00_CryptPw cryptedPasswordAscii)
static bool eo13_xuserKeyIsBlank (tsp4_xuserkey acXUserKey)
tsp00_Int4 sql13u_getuser (tsp4_xuser_record *prcUserParams, SAPDB_Char *accountName, tsp00_ErrText acErrorText)
void sql13u_init_user_params (tsp4_xuser_record *prcUserParams)
int sqlclearuser (SAPDB_Char *accountName)
void sqlgetuser (tsp4_xuser_record *prcUserParams, SAPDB_Char *accountName, tsp00_ErrText acErrorText, bool *pbOk)
void sqlindexuser (tsp00_Int2 kUserIndex, tsp4_xuser_record *prcUserParams, SAPDB_Char *accountName, tsp00_ErrText acErrorText, bool *pbOk)
void sqlputuser (tsp4_xuser_record *prcUserParams, SAPDB_Char *accountName, tsp00_ErrText acErrorText, bool *pbOk)
void sqlxucloseuser (SAPDB_Char *accountName, tsp00_ErrText acErrorText, bool *pbOk)
void sqlxuopenuser (SAPDB_Char *accountName, tsp00_ErrText acErrorText, bool *pbOk)

Variables

struct {
   XUSER_INFO_PAGE   xUserInfoPage
   XUSER_PAGE   xUserPages [MX_XUSER_ENTRIES]
cDataBuffer
static bool fReadDataIsNewer = false
static bool fXuserBufEmpty = true
static PXUSER_INFO_PAGE pXUserInfoPage = &cDataBuffer.xUserInfoPage
static PXUSER_PAGE pXUserPageBuf = &cDataBuffer.xUserPages[0]


Generated by  Doxygen 1.6.0   Back to index