G:/ScriptBasic/source/extensions/mysql/interface.c File Reference

#include <stdio.h>
#include <string.h>
#include <mysql/mysql.h>
#include <mysql/errmsg.h>
#include "../../basext.h"

Go to the source code of this file.

Data Structures

struct  _mymysqlHANDLE
struct  _myOBJECT

Defines

#define VERSION323   1
#define MAXERR   7
#define MYSQL_ERROR_LVAL   0x00081001
#define MYSQL_ERROR_SEEK   0x00081002
#define MYSQL_ERROR_SEKO   0x00081003
#define MYSQL_ERROR_NORS   0x00081004
#define MYSQL_ERROR_NOCN   0x00081005
#define MYSQL_ERROR_BDCN   0x00081006
#define GET_DB_HANDLE
#define CONFLEN   100
#define CONFROOT   "mysql.connections."
#define MAXKL   20

Typedefs

typedef _mymysqlHANDLE mymysqlHANDLE
typedef _mymysqlHANDLEpmymysqlHANDLE
typedef _myOBJECT myOBJECT
typedef _myOBJECTpmyOBJECT

Functions

static int convert_error (int iMyError)
besSUB_ERRMSG if (iError< 0x80000+MAXERR &&iError > 0x80000) return errtxt[iError-0x80000]
besEND besVERSION_NEGOTIATE return (int)
 besFUNCTION (mys_affected_rows)
besEND besFUNCTION (mys_get_host_info)
besEND besFUNCTION (mys_get_server_info)
besEND besFUNCTION (mys_stat)
besEND besFUNCTION (mys_thread_id)
besEND besFUNCTION (mys_get_proto_info)
besEND besFUNCTION (mys_change_user)
 besDEREFERENCE (Argument)
 if (Argument)
 if (pszUser)
 if (row==NULL)
 if (lengths==NULL)
 for (i=0;((unsigned) i)< numfields;i++)
 LONGVALUE (besRETURNVALUE)
besEND besFUNCTION (mys_fetchhash)
 if (field==NULL)
besEND besFUNCTION (mys_query)
 if (!Argument) return EX_ERROR_TOO_FEW_ARGUMENTS
 if (iMyError!=0)
besEND besFUNCTION (mys_close)
 if (besARGNR > 4)
 if (besARGNR > 5)
 if (besARGNR > 6)
 if (pszHost)
 if (pH==NULL)
 strcpy (szConfigPath, CONFROOT)
 if (STRLEN(Argument) > CONFLEN-strlen(CONFROOT)-MAXKL) return MYSQL_ERROR_BDCN
 memcpy (pszConf, STRINGVALUE(Argument), STRLEN(Argument))
 strcpy (pszConf,"host")
 strcpy (pszConf,"user")
 strcpy (pszConf,"password")
 strcpy (pszConf,"db")
 strcpy (pszConf,"port")
 besCONFIGEX (pSt->pEo->pConfig, szConfigPath, NULL, NULL,&lPort, NULL, NULL)
 strcpy (pszConf,"socket")
 if (pszUnixSocket &&*pszUnixSocket==(char) 0) pszUnixSocket
 strcpy (pszConf,"flag")
 if (q)

Variables

static int err_conv_table []
static char * errtxt []
else return NULL
 return
else besRETURNVALUE = NULL
else besRETURNVALUE = NULL
else besRETURNVALUE = NULL
else besRETURNVALUE = NULL
else besRETURNVALUE = NULL
else pszUser = NULL
 Argument = besARGUMENT(3)
else pszPassword = NULL
 Argument = besARGUMENT(4)
else pszDB = NULL
 iError = mysql_change_user(q->hSQL,pszUser,pszPassword,pszDB)
Lval = besNEWARRAY(0,numfields-1)
if Lval return COMMAND_ERROR_MEMORY_LOW
 row = mysql_fetch_row(q->result)
 lengths = mysql_fetch_lengths(q->result)
 besALLOC_RETURN_LONG
Lval = besNEWARRAY(0,2*numfields-1)
if Lval return COMMAND_ERROR_MEMORY_LOW
 field = mysql_fetch_fields(q->result)
 row = mysql_fetch_row(q->result)
 lengths = mysql_fetch_lengths(q->result)
 besALLOC_RETURN_LONG
 Argument = besARGUMENT(2)
 Argument = besCONVERT2STRING(Argument)
 iMyError = mysql_real_query(q->hSQL,STRINGVALUE(Argument),STRLEN(Argument))
q num_fields = mysql_num_fields(q->result)
 besRETURNVALUE = NULL
else pszHost = NULL
 Argument = besARGUMENT(2)
else pszUser = NULL
 Argument = besARGUMENT(3)
else pszPassword = NULL
 Argument = besARGUMENT(4)
else pszDB = NULL
 q = mysql_real_connect(pH->hSQL,pszHost,pszUser,pszPassword,pszDB,lPort,pszUnixSocket,lClientFlag)
int iMyError
pmymysqlHANDLE pH
VARIABLE Argument
char * pszHost
char * pszUser
char * pszPassword
char * pszDB
char * pszUnixSocket
long lPort
long lClientFlag
pmyOBJECT p
char szConfigPath [CONFLEN]
char * pszConf
char * pszCname
 p = (pmyOBJECT)besMODULEPOINTER
 pH = besALLOC(sizeof(mymysqlHANDLE))
else return MYSQL_ERROR_NOCN
 pszConf = szConfigPath + strlen(szConfigPath)
 pszConf = STRLEN(Argument)
pszConf = '.'
 pszHost = besCONFIG(szConfigPath)
 pszUser = besCONFIG(szConfigPath)
 pszPassword = besCONFIG(szConfigPath)
 pszDB = besCONFIG(szConfigPath)
 pszUnixSocket = besCONFIG(szConfigPath)
 q = mysql_real_connect(pH->hSQL,pszHost,pszUser,pszPassword,pszDB,(int)lPort,pszUnixSocket,lClientFlag)


Define Documentation

#define CONFLEN   100
 

Definition at line 768 of file interface.c.

#define CONFROOT   "mysql.connections."
 

Definition at line 769 of file interface.c.

#define GET_DB_HANDLE
 

Value:

p = (pmyOBJECT)besMODULEPOINTER;\
  Argument = besARGUMENT(1);\
  besDEREFERENCE(Argument);\
  if( Argument == NULL )return EX_ERROR_TOO_FEW_ARGUMENTS;\
  q = besHandleGetPointer(p->HandleArray,besGETLONGVALUE(Argument));\
  if( q == NULL )return COMMAND_ERROR_ARGUMENT_RANGE;

Definition at line 128 of file interface.c.

#define MAXERR   7
 

Definition at line 49 of file interface.c.

#define MAXKL   20
 

Definition at line 770 of file interface.c.

#define MYSQL_ERROR_BDCN   0x00081006
 

Definition at line 81 of file interface.c.

#define MYSQL_ERROR_LVAL   0x00081001
 

Definition at line 71 of file interface.c.

#define MYSQL_ERROR_NOCN   0x00081005
 

Definition at line 79 of file interface.c.

#define MYSQL_ERROR_NORS   0x00081004
 

Definition at line 77 of file interface.c.

#define MYSQL_ERROR_SEEK   0x00081002
 

Definition at line 73 of file interface.c.

#define MYSQL_ERROR_SEKO   0x00081003
 

Definition at line 75 of file interface.c.

#define VERSION323   1
 

Definition at line 21 of file interface.c.


Typedef Documentation

typedef struct _mymysqlHANDLE mymysqlHANDLE
 

typedef struct _myOBJECT myOBJECT
 

typedef struct _mymysqlHANDLE * pmymysqlHANDLE
 

typedef struct _myOBJECT * pmyOBJECT
 


Function Documentation

besCONFIGEX pSt->pEo->  pConfig,
szConfigPath  ,
NULL  ,
NULL  ,
lPort,
NULL  ,
NULL 
 

Referenced by time_out_work_thread().

besDEREFERENCE Argument   ) 
 

besEND besFUNCTION mys_close   ) 
 

Definition at line 622 of file interface.c.

References besCONVERT2ZCHAR().

besEND besFUNCTION mys_query   ) 
 

Definition at line 586 of file interface.c.

References mysql_free_result(), and q.

besEND besFUNCTION mys_fetchhash   ) 
 

Definition at line 515 of file interface.c.

References COMMAND_ERROR_SUCCESS.

besEND besFUNCTION mys_change_user   ) 
 

Definition at line 391 of file interface.c.

References besCONVERT2ZCHAR().

besEND besFUNCTION mys_get_proto_info   ) 
 

Definition at line 231 of file interface.c.

besEND besFUNCTION mys_thread_id   ) 
 

Definition at line 204 of file interface.c.

References besALLOC_RETURN_STRING(), memcpy(), STRINGVALUE(), and STRLEN().

besEND besFUNCTION mys_stat   ) 
 

Definition at line 189 of file interface.c.

References besALLOC_RETURN_STRING(), besRETURNVALUE, memcpy(), STRINGVALUE(), and STRLEN().

besEND besFUNCTION mys_get_server_info   ) 
 

Definition at line 174 of file interface.c.

References besALLOC_RETURN_STRING(), besRETURNVALUE, memcpy(), STRINGVALUE(), and STRLEN().

besEND besFUNCTION mys_get_host_info   ) 
 

Definition at line 159 of file interface.c.

References besALLOC_RETURN_STRING(), besRETURNVALUE, memcpy(), STRINGVALUE(), and STRLEN().

besFUNCTION mys_affected_rows   ) 
 

Definition at line 138 of file interface.c.

References besALLOC_RETURN_STRING(), besRETURNVALUE, memcpy(), STRINGVALUE(), and STRLEN().

static int convert_error int  iMyError  )  [static]
 

Definition at line 62 of file interface.c.

References err_conv_table, and i.

for  ) 
 

Definition at line 506 of file interface.c.

if q   ) 
 

Definition at line 834 of file interface.c.

References COMMAND_ERROR_SUCCESS, LONGVALUE(), _mymysqlHANDLE::next, p, pH, and _mymysqlHANDLE::prev.

if pszUnixSocket &&*  pszUnixSocket = =(char) 0  ) 
 

if STRLEN(Argument ,
CONFLEN-strlen(CONFROOT)-  MAXKL
 

if pH  = NULL  ) 
 

Definition at line 777 of file interface.c.

if pszHost   ) 
 

Definition at line 738 of file interface.c.

if besARGNR  ,
 

Definition at line 727 of file interface.c.

References besDEREFERENCE(), lClientFlag, LONGVALUE(), and MYSQL_PORT.

if besARGNR  ,
 

Definition at line 718 of file interface.c.

References besCONVERT2ZCHAR(), besDEREFERENCE(), and pszUnixSocket.

if besARGNR  ,
 

Definition at line 709 of file interface.c.

References besDEREFERENCE(), LONGVALUE(), lPort, and MYSQL_PORT.

if iMyError = 0  ) 
 

Definition at line 611 of file interface.c.

if Argument  ) 
 

Definition at line 1846 of file string.c.

if field  = NULL  ) 
 

Definition at line 554 of file interface.c.

References COMMAND_ERROR_SUCCESS.

if lengths  = NULL  ) 
 

Definition at line 501 of file interface.c.

References COMMAND_ERROR_SUCCESS.

if row  = NULL  ) 
 

Definition at line 495 of file interface.c.

References COMMAND_ERROR_SUCCESS.

if pszUser   ) 
 

Definition at line 428 of file interface.c.

if Argument   ) 
 

Definition at line 411 of file interface.c.

References besCONVERT2ZCHAR(), and pszPassword.

besSUB_ERRMSG if iError< 0x80000+MAXERR &&iError >  0x80000  ) 
 

LONGVALUE besRETURNVALUE   ) 
 

memcpy pszConf  ,
STRINGVALUE(Argument ,
STRLEN(Argument
 

besEND besVERSION_NEGOTIATE return int   ) 
 

Definition at line 91 of file interface.c.

strcpy pszConf  ,
"flag" 
 

strcpy pszConf  ,
"socket" 
 

strcpy pszConf  ,
"port" 
 

strcpy pszConf  ,
"db" 
 

strcpy pszConf  ,
"password" 
 

strcpy pszConf  ,
"user" 
 

strcpy pszConf  ,
"host" 
 

strcpy szConfigPath  ,
CONFROOT 
 


Variable Documentation

VARIABLE Argument
 

Definition at line 764 of file interface.c.

Argument = besARGUMENT(4)
 

Definition at line 703 of file interface.c.

Argument = besARGUMENT(3)
 

Definition at line 696 of file interface.c.

Argument = besARGUMENT(2)
 

Definition at line 688 of file interface.c.

Argument = besCONVERT2STRING(Argument)
 

Definition at line 608 of file interface.c.

Argument = besARGUMENT(2)
 

Definition at line 604 of file interface.c.

Argument = besARGUMENT(4)
 

Definition at line 416 of file interface.c.

Argument = besARGUMENT(3)
 

Definition at line 409 of file interface.c.

besALLOC_RETURN_LONG
 

Definition at line 582 of file interface.c.

besALLOC_RETURN_LONG
 

Definition at line 511 of file interface.c.

besRETURNVALUE = NULL
 

Definition at line 619 of file interface.c.

else besRETURNVALUE = NULL
 

Definition at line 228 of file interface.c.

else besRETURNVALUE = NULL
 

Definition at line 201 of file interface.c.

else besRETURNVALUE = NULL
 

Definition at line 186 of file interface.c.

else besRETURNVALUE = NULL
 

Definition at line 171 of file interface.c.

else besRETURNVALUE = NULL
 

Definition at line 156 of file interface.c.

if Lval return COMMAND_ERROR_MEMORY_LOW
 

Definition at line 551 of file interface.c.

if Lval return COMMAND_ERROR_MEMORY_LOW
 

Definition at line 491 of file interface.c.

Referenced by _GetData(), allocate_MatchSets(), basext_GetArgsF(), besFUNCTION(), CHECK_OPTION(), COMMAND_EXTERNAL(), COMMAND_EXTERNAM(), epreproc(), execute_CopyCommandTable(), execute_InitStructure(), hook_CallScribaFunction(), hook_Init(), HttpExtensionProc(), if(), init(), initialize_like(), ipreproc_LoadInternalPreprocessor(), main(), memory_SetRef(), modu_Init(), modu_LoadModule(), modu_UnloadAllModules(), modu_UnloadModule(), unserconv(), and while().

int err_conv_table[] [static]
 

Initial value:

Definition at line 38 of file interface.c.

Referenced by convert_error().

char* errtxt[] [static]
 

Initial value:

 {
  "Connection to host error",
  "Connection error",
  "IP socket error",
  "Out of memory error",
  "Socket create error",
  "Unknown host error",
  "Version error",
  NULL
  }

Definition at line 51 of file interface.c.

field = mysql_fetch_fields(q->result)
 

Definition at line 553 of file interface.c.

iError = mysql_change_user(q->hSQL,pszUser,pszPassword,pszDB)
 

Definition at line 423 of file interface.c.

int iMyError
 

Definition at line 761 of file interface.c.

iMyError = mysql_real_query(q->hSQL,STRINGVALUE(Argument),STRLEN(Argument))
 

Definition at line 610 of file interface.c.

long lClientFlag
 

Definition at line 766 of file interface.c.

Referenced by if().

lengths = mysql_fetch_lengths(q->result)
 

Definition at line 566 of file interface.c.

lengths = mysql_fetch_lengths(q->result)
 

Definition at line 500 of file interface.c.

long lPort
 

Definition at line 766 of file interface.c.

Referenced by if().

* Lval = besNEWARRAY(0,2*numfields-1)
 

Definition at line 550 of file interface.c.

* Lval = besNEWARRAY(0,numfields-1)
 

Definition at line 490 of file interface.c.

else return MYSQL_ERROR_NOCN
 

Definition at line 792 of file interface.c.

else return NULL
 

Definition at line 87 of file interface.c.

Referenced by __InsertImage(), _ex_CleanLabelStack(), _ex_PopLabel(), _ex_pprint(), _ex_PushLabel(), _GetData(), _GetParam(), _new_eNODE(), _new_eNODE_l(), _new_SymbolLABEL(), _new_SymbolUF(), _new_SymbolVAR(), _NewLexeme(), _PostParam(), _ReadClient(), _readexpr(), _ScriptName(), _WriteClient(), _WriteClientText(), alloc_Alloc(), alloc_Free(), alloc_FreeSegment(), alloc_InitSegment(), alloc_Merge(), alloc_Wrapper(), AllocFileName(), AllocNewSession(), allocset(), AllocUserFunction(), AppInit(), AppStart(), basext_GetArgsF(), besCOMMAND(), besFUNCTION(), brushup(), brushupinline(), buffercollect(), build_AllocateStringTable(), build_Build(), build_Build_r(), build_CreateFTable(), build_CreateVTable(), build_GetExeCodeOffset(), build_IsFileBinaryFormat(), build_LoadCodeWithOffset(), build_LoadCore(), build_SaveCCode(), build_SaveCode(), build_SaveCorePart(), build_SaveECode(), c_newnode(), c_StrDup(), C_wxFrame(), CBF_ListGlobalVars(), CBF_ListLocalVars(), cft_DropConfig(), cft_DumbConfig(), cft_DumpConfig(), cft_FindNode(), cft_GetConfigFileName(), cft_GetKey(), cft_GetString(), cft_init(), cft_ReadConfig(), cft_ReadTextConfig(), cft_start(), cft_WriteConfig(), cgi_AuthType(), cgi_ContentLength(), cgi_ContentType(), cgi_Cookie(), cgi_FILEp(), cgi_FillSymbolAndFile(), cgi_GatewayInterface(), cgi_GetGetParameters(), cgi_GetMultipartParameters(), cgi_GetParam(), cgi_GetParamEx(), cgi_GetPostParameters(), cgi_Header(), cgi_InitCgi(), cgi_OriginalFileName(), cgi_PartHeader(), cgi_PathInfo(), cgi_PathTranslated(), cgi_PostParam(), cgi_PostParamEx(), cgi_QueryString(), cgi_ReadHttpRequest(), cgi_Referer(), cgi_RemoteAddress(), cgi_RemoteHost(), cgi_RemoteIdent(), cgi_RemoteUser(), cgi_RequestMethod(), cgi_ResizeBuffer(), cgi_ResizeThisBuffer(), cgi_ScriptName(), cgi_ServerName(), cgi_ServerPort(), cgi_ServerProtocol(), cgi_ServerSoftware(), cgi_UserAgent(), CHECK_OPTION(), close_all_dirs(), close_directory_list(), collect_dirs_r(), comm_GetCommand(), comm_Message(), COMMAND_EXTERNAL(), COMMAND_EXTERNAM(), COMMAND_FUNCTIONARG(), CreateJunction(), CreateShellLink(), delete_Wrapper(), DeleteFromPath(), DeleteFromPathEx(), DeleteShellLink(), dynlolib_GetFunctionByName(), dynlolib_LoadLibrary(), end(), enlarge(), epreproc(), ex_CleanNameSpaceStack(), ex_Expression_i(), ex_ExpressionList(), ex_free(), ex_Global(), ex_init(), ex_IsBFun(), ex_IsCommandThis(), ex_IsSymbolValidLval(), ex_LeftValue(), ex_LeftValueList(), ex_Local(), ex_PopWaitingLabel(), ex_PredeclareGlobalLongConst(), ex_Tag(), execute_Convert2Double(), execute_Convert2DoubleS(), execute_Convert2Long(), execute_Convert2LongS(), execute_Convert2Numeric(), execute_Convert2String(), execute_CopyCommandTable(), execute_Dereference(), execute_DereferenceS(), execute_Evaluate(), execute_Execute_r(), execute_ExecuteFunction(), execute_InitExecute(), execute_InitStructure(), execute_LeftValue(), execute_LeftValueArray(), execute_LeftValueSarray(), execute_ReInitStructure(), ExecuteProgram(), ExecuteProgramThread(), expression_PopNameSpace(), expression_PushNameSpace(), F_LibraryLoaded(), failReport(), file_deltree_r(), file_opendir(), file_time_accessed(), file_time_created(), file_time_modified(), findmust(), fork(), FtpProc(), GetConsoleHandle(), GetCurrentDebugLine(), GetExtensionVersion(), getoptt(), GetRegistryKey(), GetSBRegDW(), GetSBRegString(), GuardThread(), handle_DestroyHandleArray(), handle_FreeHandle(), handle_GetHandle(), handle_GetPointer(), HandleFtpHit(), HandleHttpHit(), HitHandler(), hook_CallScribaFunction(), hook_fopen(), hook_Init(), httpd(), HttpExtensionProc(), HttpProc(), if(), init(), initdir(), InstallQuestionYN(), InstallScriptBasic(), ipreproc_InitStructure(), ipreproc_InsertPreprocessor(), ipreproc_LoadInternalPreprocessor(), ipreproc_PurgePreprocessorMemory(), isapi_report(), IsapiErrorScreen(), lex_EOF(), lex_InitStructure(), lex_ReadInput(), lex_StoreCharacter(), libscriba_LoadBinaryProgram(), lnw(), log_init(), log_printf(), log_shutdown(), log_state(), log_thread(), logit(), lsp_init(), main(), match_match(), mcadd(), mccase(), mcfind(), mcin(), mcinvert(), mcsub(), memory_CopyArray(), memory_DupImmortal(), memory_DupMortalize(), memory_DupVar(), memory_Immortalize(), memory_InitStructure(), memory_IsUndef(), memory_Mortalize(), memory_NewArray(), memory_NewCString(), memory_NewDouble(), memory_NewLong(), memory_NewMortal(), memory_NewMortalArray(), memory_NewMortalCString(), memory_NewMortalDouble(), memory_NewMortalLong(), memory_NewMortalRef(), memory_NewMortalString(), memory_NewRef(), memory_NewString(), memory_NewUndef(), memory_NewVariable(), memory_ReDimArray(), memory_ReleaseMortals(), memory_ReleaseVariable(), memory_ReplaceVariable(), memory_SelfOrRealUndef(), memory_SetRef(), memory_Type(), modu_GetFunctionByName(), modu_GetStaticFunctionByName(), modu_Init(), modu_LoadModule(), modu_Preload(), modu_ShutdownModule(), modu_UnloadAllModules(), modu_UnloadModule(), MultiJokerSet(), MyFiles(), mygmktime(), mygmtime(), MyLinks(), MyRegs(), new_DebuggerObject(), noprogress(), SBApp::OnInit(), options_Get(), options_GetR(), options_Reset(), options_Set(), p_b_cclass(), p_b_coll_elem(), p_bracket(), pathdialog(), pfEnv(), pfFtpEnv(), PopStackItem(), prefix(), preproc(), progress(), PushStackItem(), PutRegistryEKey(), PutRegistryKey(), PutSBRegDW(), PutSBRegString(), RaiseError(), reader_InitStructure(), reader_LoadPreprocessors(), reader_NextLine(), reader_ProcessIncludeFiles(), reader_ReadLines(), reader_ReadLines_r(), reader_RelateFile(), ReadFileLine(), ReadSocketLine(), regcomp(), regfree(), RemoveNil(), RemoveScriptBasic(), return(), rpm_close_excess(), rpm_GetResource(), rpm_NewPool(), rpm_open(), rpm_PutResource(), rpm_thread(), scriba_BuildCode(), scriba_Call(), scriba_CallArg(), scriba_CallArgEx(), scriba_DoLexicalAnalysis(), scriba_DoSyntaxAnalysis(), scriba_GetCacheFileName(), scriba_GetVariable(), scriba_GetVariableType(), scriba_InheritBinaryProgram(), scriba_InheritConfiguration(), scriba_InitModuleInterface(), scriba_InitSbData(), scriba_LoadBinaryProgramWithOffset(), scriba_LoadConfiguration(), scriba_LoadInternalPreprocessor(), scriba_LoadProgramString(), scriba_LookupVariableByName(), scriba_new(), scriba_NewSbArgs(), scriba_NewSbBytes(), scriba_NewSbDouble(), scriba_NewSbLong(), scriba_NewSbString(), scriba_NewSbUndef(), scriba_PreRun(), scriba_PurgeBuilderMemory(), scriba_PurgeExecuteMemory(), scriba_PurgeLexerMemory(), scriba_PurgePreprocessorMemory(), scriba_PurgeReaderMemory(), scriba_PurgeSyntaxerMemory(), scriba_ReadSource(), scriba_ResetVariables(), scriba_RunExternalPreprocessor(), scriba_SetFileName(), scriba_SetVariable(), scriba_UndefSbData(), scriba_UseCacheFile(), serconv(), serconvXML(), SingleJokerSet(), SPrintVariable(), store_file_name(), storech(), StringClose(), StringGetCharacter(), StringOpen(), stripsnug(), switch(), sym_DeleteSymbol(), sym_LookupSymbol(), sym_NewSymbolTable(), TerminateExtension(), thread_CreateThread(), thread_ExitThread(), thread_InitMutex(), thread_UnlockMutex(), time_out_work_thread(), TimeDifference(), unserconv(), varcmp(), varhashpjw(), vfork(), while(), and WinMain().

q num_fields = mysql_num_fields(q->result)
 

Definition at line 618 of file interface.c.

p = (pmyOBJECT)besMODULEPOINTER
 

Definition at line 774 of file interface.c.

pmyOBJECT p
 

Definition at line 767 of file interface.c.

pH = besALLOC(sizeof(mymysqlHANDLE))
 

Definition at line 776 of file interface.c.

pmymysqlHANDLE pH
 

Definition at line 763 of file interface.c.

Referenced by besFUNCTION(), and if().

char* pszCname
 

Definition at line 772 of file interface.c.

* pszConf = '.'
 

Definition at line 801 of file interface.c.

pszConf = STRLEN(Argument)
 

Definition at line 800 of file interface.c.

pszConf = szConfigPath + strlen(szConfigPath)
 

Definition at line 797 of file interface.c.

char * pszConf
 

Definition at line 771 of file interface.c.

pszDB = besCONFIG(szConfigPath)
 

Definition at line 817 of file interface.c.

char * pszDB
 

Definition at line 765 of file interface.c.

else pszDB = NULL
 

Definition at line 707 of file interface.c.

else pszDB = NULL
 

Definition at line 420 of file interface.c.

pszHost = besCONFIG(szConfigPath)
 

Definition at line 805 of file interface.c.

char* pszHost
 

Definition at line 765 of file interface.c.

else pszHost = NULL
 

Definition at line 685 of file interface.c.

pszPassword = besCONFIG(szConfigPath)
 

Definition at line 813 of file interface.c.

char * pszPassword
 

Definition at line 765 of file interface.c.

else pszPassword = NULL
 

Definition at line 700 of file interface.c.

else pszPassword = NULL
 

Definition at line 413 of file interface.c.

Referenced by if().

pszUnixSocket = besCONFIG(szConfigPath)
 

Definition at line 825 of file interface.c.

char * pszUnixSocket
 

Definition at line 765 of file interface.c.

Referenced by if().

pszUser = besCONFIG(szConfigPath)
 

Definition at line 809 of file interface.c.

char * pszUser
 

Definition at line 765 of file interface.c.

else pszUser = NULL
 

Definition at line 692 of file interface.c.

else pszUser = NULL
 

Definition at line 405 of file interface.c.

Referenced by if().

q = mysql_real_connect(pH->hSQL,pszHost,pszUser,pszPassword,pszDB,(int)lPort,pszUnixSocket,lClientFlag)
 

Definition at line 832 of file interface.c.

q = mysql_real_connect(pH->hSQL,pszHost,pszUser,pszPassword,pszDB,lPort,pszUnixSocket,lClientFlag)
 

Definition at line 736 of file interface.c.

return
 

Definition at line 125 of file interface.c.

row = mysql_fetch_row(q->result)
 

Definition at line 560 of file interface.c.

row = mysql_fetch_row(q->result)
 

Definition at line 494 of file interface.c.

char szConfigPath[CONFLEN]
 

Definition at line 771 of file interface.c.


Generated on Sun Mar 12 23:56:36 2006 for ScriptBasic by  doxygen 1.4.6-NO