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

geo13.h File Reference


Detailed Description

XUser file and registry API created 000-10-10 9:12.

Author:
JoergM area XUSER
See also:
example.html ...
Internal used typedefinitions and constants

Definition in file geo13.h.

#include "vsp004.h"
#include "gsp100.h"

Go to the source code of this file.

Classes

struct  rel611_effective_user_id_record
struct  rel611_xuser_page
union  REL611_XUSER_PAGE_UNION
struct  rel611_xuser_params_record
struct  xuser_info_page

Defines

#define DEFAULT_USER   "DEFAULT "
#define EOF_XUSER_PAGE   -99
#define ERRMSG_BLANK_USERKEY   "blank user key not allowed"
#define ERRMSG_DATA_NEWER_THAN_COMPONENT   "USER data newer than component"
#define ERRMSG_DIFFERENT_SIDS   "incorrect USER data owner"
#define ERRMSG_ILLEGAL_USER_INDEX   "illegal USER index"
#define ERRMSG_NO_SPACE_LEFT   "space for USER entries exhausted"
#define ERRMSG_NO_XUSER_ENTRY_FOUND   "the USERKEY is unknown"
#define ERRMSG_READ_XUSER_REG_DATA   "could not read USER data"
#define ERRMSG_WRONG_XUSER_REG_DATA_LEN   "wrong USER data length"
#define ERROR_ACCESS_DENIED   -2
#define ERROR_FILE_NOT_FOUND   -2
#define GET_DBLANG   sql13c_get_dblang
#define GET_SERVERDB   sql13c_get_serverdb
#define INFO_OK   0
#define MX_XUSER_ENTRIES   32
#define MX_XUSER_ENTRIES   32
#define REL611_MX_XUSER_ENTRIES   32
#define REL611_REG_VN_XUSER   "XUData"
#define REL611_XUSER_PAGE_BUFFER_SIZE   ( sizeof(REL611_XUSER_PAGE_UNION) * (REL611_MX_XUSER_ENTRIES + 1))
#define XUSER_DATA_SIZE
#define XUSER_DATA_SIZE
#define XUSER_RECORD_VERSION   3

Typedefs

typedef REL611_XUSER_PAGE_UNION * PREL611_XUSER_PAGE_UNION
typedef XUSER_INFO_PAGE * PXUSER_INFO_PAGE
typedef XUSER_PAGE * PXUSER_PAGE
typedef struct
rel611_effective_user_id_record 
REL611_EFFECTIVE_USER_ID_REC
typedef struct rel611_xuser_page REL611_XUSER_PAGE
typedef struct
rel611_xuser_params_record 
REL611_XUSER_PARAMS_REC
typedef struct xuser_info_page XUSER_INFO_PAGE
typedef tsp4_xuser_record XUSER_PAGE

Functions

externC int sql13c_get_dblang (char **dblang)
externC int sql13c_get_serverdb (char **serverdb)
externC teo00_Bool sql13c_only_blanks (char *str)
tsp00_Int4 sql13u_get_all_entries (SAPDB_Char *accountName, char **pcDataBuffer, tsp00_Int4 *lDataLen, PREL611_XUSER_PAGE_UNION *pRel611XUserPages, tsp00_ErrText errtext)
tsp00_Int4 sql13u_getuser (tsp4_xuser_record *prcUserParams, SAPDB_Char *accountName, tsp00_ErrText acErrorText)
void sql13u_init_user_params (tsp4_xuser_record *prcUserParams)
tsp00_Int4 sql13u_remove_xuser_entries (SAPDB_Char *accountName, tsp00_ErrText acErrorText)
tsp00_Int4 sql13u_write_xuser_entries (SAPDB_Char *accountName, char *cDataBuffer, PXUSER_INFO_PAGE pXUserInfoPage, tsp00_ErrText acErrorText)


Generated by  Doxygen 1.6.0   Back to index