langdll.h File Reference

#include "FDllCall.h"

Include dependency graph for langdll.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Handle xCALLBACK extfrontierReAlloc (Handle h, long sz)
Handle xCALLBACK extfrontierAlloc (long sz)
char *xCALLBACK extfrontierLock (Handle h)
void xCALLBACK extfrontierFree (Handle h)
long xCALLBACK extfrontierSize (Handle h)
void xCALLBACK extfrontierUnlock (Handle h)
odbRef xCALLBACK extOdbGetCurrentRoot (void)
odbBool xCALLBACK extOdbNewFile (hdlfilenum)
odbBool xCALLBACK extOdbOpenFile (hdlfilenum, odbRef *odb)
odbBool xCALLBACK extOdbSaveFile (odbRef odb)
odbBool xCALLBACK extOdbCloseFile (odbRef odb)
odbBool xCALLBACK extOdbDefined (odbRef odb, odbString bspath)
odbBool xCALLBACK extOdbDelete (odbRef odb, odbString bspath)
odbBool xCALLBACK extOdbGetType (odbRef odb, odbString bspath, OSType *type)
odbBool xCALLBACK extOdbCountItems (odbRef odb, odbString bspath, long *count)
odbBool xCALLBACK extOdbGetNthItem (odbRef odb, odbString bspath, long n, odbString bsname)
odbBool xCALLBACK extOdbGetValue (odbRef odb, odbString bspath, odbValueRecord *value)
odbBool xCALLBACK extOdbSetValue (odbRef odb, odbString bspath, odbValueRecord *value)
odbBool xCALLBACK extOdbNewTable (odbRef odb, odbString bspath)
odbBool xCALLBACK extOdbGetModDate (odbRef odb, odbString bspath, unsigned long *date)
void xCALLBACK extOdbDisposeValue (odbRef odb, odbValueRecord *value)
void xCALLBACK extOdbGetError (odbString bs)
odbBool xCALLBACK extDoScript (char *script, long len, odbValueRecord *value)
odbBool xCALLBACK extDoScriptText (char *script, long len, Handle *text)
odbBool xCALLBACK extOdbNewListValue (odbRef odb, odbValueRecord *valueList, odbBool flRecord)
odbBool xCALLBACK extOdbGetListCount (odbRef odb, odbValueRecord *valueList, long *cnt)
odbBool xCALLBACK extOdbDeleteListValue (odbRef, odbValueRecord *, long, char *)
odbBool xCALLBACK extOdbSetListValue (odbRef, odbValueRecord *, long, char *, odbValueRecord *)
odbBool xCALLBACK extOdbGetListValue (odbRef, odbValueRecord *, long, char *, odbValueRecord *)
odbBool xCALLBACK extOdbAddListValue (odbRef odb, odbValueRecord *valueList, char *recordname, odbValueRecord *valueData)
odbBool xCALLBACK extInvoke (bigstring bsscriptname, void *pDispParams, odbValueRecord *retval, boolean *flfoundhandler, unsigned int *errarg)
odbBool xCALLBACK extCoerce (odbValueRecord *odbval, odbValueType newtype)
odbBool xCALLBACK extCallScript (odbString bspath, odbValueRecord *vparams, odbValueRecord *value)
odbBool xCALLBACK extCallScriptText (odbString bspath, odbValueRecord *vparams, Handle *text)
odbBool xCALLBACK extThreadYield (void)
odbBool xCALLBACK extThreadSleep (long sleepticks)
void dllinitverbs (void)
void fillcalltable (XDLLProcTable *)
boolean dllisloadedverb (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean dllloadverb (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean dllunloadverb (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean dllcallverb (hdltreenode hparam1, tyvaluerecord *vreturned)


Function Documentation

boolean dllcallverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 2665 of file langdll.c.

References bigstring, clearbytes(), coercevalue(), dodllcall(), exemptfromtmpstack(), getfilespecvalue(), getparamvalue(), getstringvalue(), langcheckparamcount(), langgetvalsize(), langheapallocated(), lockhandle(), long, maxdllparams, nil, and return().

Referenced by langfunctionvalue().

Here is the call graph for this function:

void dllinitverbs void   ) 
 

Definition at line 2797 of file langdll.c.

References dllcallbacks, fillcalltable(), and nil.

Referenced by shellinit().

Here is the call graph for this function:

boolean dllisloadedverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 2542 of file langdll.c.

References flnextparamislast, getfilespecvalue(), islibraryloaded(), and setbooleanvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean dllloadverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 2582 of file langdll.c.

References dodllload(), flnextparamislast, getfilespecvalue(), and setlongvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean dllunloadverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 2625 of file langdll.c.

References dodllunload(), flnextparamislast, getfilespecvalue(), islibraryloaded(), and setbooleanvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

odbBool xCALLBACK extCallScript odbString  bspath,
odbValueRecord vparams,
odbValueRecord value
 

Definition at line 786 of file langdll.c.

References convertodbtotyval(), odbValueRecord::data, exemptfromtmpstack(), grabthreadglobals(), langexternalgettypeid(), langrunscript(), odbValueData::listvalue, nil, NULL, odb_listvaluetype, odb_recordvaluetype, releasethreadglobals(), and odbValueRecord::valuetype.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extCallScriptText odbString  bspath,
odbValueRecord vparams,
Handle text
 

Definition at line 821 of file langdll.c.

References coercetostring(), convertodbtotyval(), odbValueRecord::data, exemptfromtmpstack(), grabthreadglobals(), langrunscript(), odbValueData::listvalue, nil, NULL, odb_listvaluetype, odb_recordvaluetype, releasethreadglobals(), and odbValueRecord::valuetype.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extCoerce odbValueRecord odbval,
odbValueType  newtype
 

Definition at line 758 of file langdll.c.

References binaryvaluetype, coercevalue(), convertodbtotyval(), converttyvaltoodb(), grabthreadglobals(), langexternalgetvaluetype(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extDoScript char *  script,
long  len,
odbValueRecord value
 

Definition at line 664 of file langdll.c.

References clearbytes(), exemptfromtmpstack(), grabthreadglobals(), h, langexternalgettypeid(), langrun(), newfilledhandle(), releasethreadglobals(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extDoScriptText char *  script,
long  len,
Handle text
 

Definition at line 698 of file langdll.c.

References coercetostring(), exemptfromtmpstack(), grabthreadglobals(), h, langrun(), newfilledhandle(), nil, and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

Handle xCALLBACK extfrontierAlloc long  sz  ) 
 

Definition at line 217 of file langdll.c.

References grabthreadglobals(), h, NewHandle, and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

void xCALLBACK extfrontierFree Handle  h  ) 
 

Definition at line 251 of file langdll.c.

References DisposeHandle, grabthreadglobals(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

char* xCALLBACK extfrontierLock Handle  h  ) 
 

Definition at line 230 of file langdll.c.

References frontierLock(), grabthreadglobals(), HLock, and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

Handle xCALLBACK extfrontierReAlloc Handle  h,
long  sz
 

Definition at line 206 of file langdll.c.

References grabthreadglobals(), releasethreadglobals(), and SetHandleSize.

Referenced by fillcalltable().

Here is the call graph for this function:

long xCALLBACK extfrontierSize Handle  h  ) 
 

Definition at line 260 of file langdll.c.

References GetHandleSize, grabthreadglobals(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

void xCALLBACK extfrontierUnlock Handle  h  ) 
 

Definition at line 273 of file langdll.c.

References grabthreadglobals(), HUnlock, and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extInvoke bigstring  bsscriptname,
void *  pDispParams,
odbValueRecord retval,
boolean flfoundhandler,
unsigned int *  errarg
 

Definition at line 728 of file langdll.c.

References BIGSTRING, convertodbtotyval(), converttyvaltoodb(), disposevaluerecord(), grabthreadglobals(), langwinipchandleCOM(), releasethreadglobals(), and setstringvalue().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbAddListValue odbRef  odb,
odbValueRecord valueList,
char *  recordname,
odbValueRecord valueData
 

Definition at line 431 of file langdll.c.

References convertodbtotyval(), grabthreadglobals(), langpushlistval(), NULL, odb_listvaluetype, odb_recordvaluetype, releasethreadglobals(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbCloseFile odbRef  odb  ) 
 

Definition at line 512 of file langdll.c.

References grabthreadglobals(), odbclosefile(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbCountItems odbRef  odb,
odbString  bspath,
long count
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbDefined odbRef  odb,
odbString  bspath
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbDelete odbRef  odb,
odbString  bspath
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbDeleteListValue odbRef  ,
odbValueRecord ,
long  ,
char * 
 

Definition at line 370 of file langdll.c.

References grabthreadglobals(), NULL, odb_listvaluetype, odb_recordvaluetype, opdeletelistitem(), releasethreadglobals(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

void xCALLBACK extOdbDisposeValue odbRef  odb,
odbValueRecord value
 

Definition at line 642 of file langdll.c.

References grabthreadglobals(), NULL, odbdisposevalue(), releasethreadglobals(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

odbRef xCALLBACK extOdbGetCurrentRoot void   ) 
 

Definition at line 455 of file langdll.c.

References grabthreadglobals(), NULL, odbaccesswindow(), odbUpdateOdbref(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

void xCALLBACK extOdbGetError odbString  bs  ) 
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbGetListCount odbRef  odb,
odbValueRecord valueList,
long cnt
 

Definition at line 350 of file langdll.c.

References grabthreadglobals(), NULL, odb_listvaluetype, odb_recordvaluetype, opcountlistitems(), releasethreadglobals(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbGetListValue odbRef  ,
odbValueRecord ,
long  ,
char *  ,
odbValueRecord
 

Definition at line 409 of file langdll.c.

References converttyvaltoodb(), getnthlistval(), grabthreadglobals(), NULL, odb_listvaluetype, odb_recordvaluetype, releasethreadglobals(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbGetModDate odbRef  odb,
odbString  bspath,
unsigned long date
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbGetNthItem odbRef  odb,
odbString  bspath,
long  n,
odbString  bsname
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbGetType odbRef  odb,
odbString  bspath,
OSType type
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbGetValue odbRef  odb,
odbString  bspath,
odbValueRecord value
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbNewFile hdlfilenum   ) 
 

Definition at line 473 of file langdll.c.

References grabthreadglobals(), odbnewfile(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbNewListValue odbRef  odb,
odbValueRecord valueList,
odbBool  flRecord
 

Definition at line 321 of file langdll.c.

References grabthreadglobals(), NULL, odb_listvaluetype, odb_recordvaluetype, opnewlist(), releasethreadglobals(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbNewTable odbRef  odb,
odbString  bspath
 

Referenced by fillcalltable().

odbBool xCALLBACK extOdbOpenFile hdlfilenum  ,
odbRef odb
 

Definition at line 486 of file langdll.c.

References grabthreadglobals(), odbopenfile(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbSaveFile odbRef  odb  ) 
 

Definition at line 499 of file langdll.c.

References grabthreadglobals(), odbsavefile(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbSetListValue odbRef  ,
odbValueRecord ,
long  ,
char *  ,
odbValueRecord
 

Definition at line 388 of file langdll.c.

References convertodbtotyval(), grabthreadglobals(), NULL, odb_listvaluetype, odb_recordvaluetype, releasethreadglobals(), setnthlistval(), and value.

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extOdbSetValue odbRef  odb,
odbString  bspath,
odbValueRecord value
 

Referenced by fillcalltable().

odbBool xCALLBACK extThreadSleep long  sleepticks  ) 
 

Definition at line 882 of file langdll.c.

References grabthreadglobals(), languserescaped(), nil, processsleep(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

odbBool xCALLBACK extThreadYield void   ) 
 

Definition at line 856 of file langdll.c.

References grabthreadglobals(), langbackgroundtask(), languserescaped(), and releasethreadglobals().

Referenced by fillcalltable().

Here is the call graph for this function:

void fillcalltable XDLLProcTable  ) 
 

Definition at line 2389 of file langdll.c.

References convertmachotocfmfuncptr(), extCallScript(), extCallScriptText(), extCoerce(), extDoScript(), extDoScriptText(), extfrontierAlloc(), extfrontierFree(), extfrontierLock(), extfrontierReAlloc(), extfrontierSize(), extfrontierUnlock(), extInvoke(), extOdbAddListValue(), extOdbCloseFile(), extOdbCountItems(), extOdbDefined(), extOdbDelete(), extOdbDeleteListValue(), extOdbDisposeValue(), extOdbGetCurrentRoot(), extOdbGetError(), extOdbGetListCount(), extOdbGetListValue(), extOdbGetModDate(), extOdbGetNthItem(), extOdbGetType(), extOdbGetValue(), extOdbNewFile(), extOdbNewListValue(), extOdbNewTable(), extOdbOpenFile(), extOdbSaveFile(), extOdbSetListValue(), extOdbSetValue(), extThreadSleep(), extThreadYield(), and pt.

Referenced by dllinitverbs().

Here is the call graph for this function:


Generated on Sat Jun 3 03:39:22 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6