langdll.h

Go to the documentation of this file.
00001 
00002 /*  $Id: langdll.h 1196 2006-04-05 21:50:20Z karstenw $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #ifndef langdllinclude
00029 #define langdllinclude
00030 
00031 #ifndef FDLLCALL_H
00032 #include "FDllCall.h"
00033 #endif
00034 
00035 
00036 Handle xCALLBACK extfrontierReAlloc (Handle h, long sz);
00037 Handle xCALLBACK extfrontierAlloc (long sz);
00038 char * xCALLBACK extfrontierLock (Handle h);
00039 void xCALLBACK extfrontierFree (Handle h);
00040 long xCALLBACK extfrontierSize (Handle h);
00041 void xCALLBACK extfrontierUnlock (Handle h);
00042 
00043 odbRef xCALLBACK extOdbGetCurrentRoot (void);
00044 odbBool xCALLBACK extOdbNewFile (hdlfilenum);
00045 odbBool xCALLBACK extOdbOpenFile (hdlfilenum, odbRef *odb);
00046 odbBool xCALLBACK extOdbSaveFile (odbRef odb);
00047 odbBool xCALLBACK extOdbCloseFile (odbRef odb);
00048 odbBool xCALLBACK extOdbDefined (odbRef odb, odbString bspath);
00049 odbBool xCALLBACK extOdbDelete (odbRef odb, odbString bspath);
00050 odbBool xCALLBACK extOdbGetType (odbRef odb, odbString bspath, OSType *type);
00051 odbBool xCALLBACK extOdbCountItems (odbRef odb, odbString bspath, long *count);
00052 odbBool xCALLBACK extOdbGetNthItem (odbRef odb, odbString bspath, long n, odbString bsname);
00053 odbBool xCALLBACK extOdbGetValue (odbRef odb, odbString bspath, odbValueRecord *value);
00054 odbBool xCALLBACK extOdbSetValue (odbRef odb, odbString bspath, odbValueRecord *value);
00055 odbBool xCALLBACK extOdbNewTable (odbRef odb, odbString bspath);
00056 odbBool xCALLBACK extOdbGetModDate (odbRef odb, odbString bspath, unsigned long *date);
00057 void xCALLBACK extOdbDisposeValue (odbRef odb, odbValueRecord *value);
00058 void xCALLBACK extOdbGetError (odbString bs);
00059 
00060 odbBool xCALLBACK extDoScript (char * script, long len, odbValueRecord *value);
00061 odbBool xCALLBACK extDoScriptText (char * script, long len, Handle * text);
00062 
00063 odbBool xCALLBACK extOdbNewListValue (odbRef odb, odbValueRecord *valueList, odbBool flRecord);
00064 odbBool xCALLBACK extOdbGetListCount (odbRef odb, odbValueRecord *valueList, long * cnt);
00065 
00066 // 2006-04-04 - kw --- removed parameter names
00067 // odbBool xCALLBACK extOdbDeleteListValue (odbRef odb, odbValueRecord *valueList, long index, char * recordname);
00068 odbBool xCALLBACK extOdbDeleteListValue (odbRef, odbValueRecord *, long, char *);
00069 
00070 // odbBool xCALLBACK extOdbSetListValue (odbRef odb, odbValueRecord *valueList, long index, char * recordname, odbValueRecord *valueData);
00071 odbBool xCALLBACK extOdbSetListValue (odbRef, odbValueRecord *, long, char *, odbValueRecord *);
00072 // odbBool xCALLBACK extOdbGetListValue (odbRef odb, odbValueRecord *valueList, long index, char * recordname, odbValueRecord *valueReturn);
00073 odbBool xCALLBACK extOdbGetListValue (odbRef, odbValueRecord *, long, char *, odbValueRecord *);
00074 
00075 odbBool xCALLBACK extOdbAddListValue (odbRef odb, odbValueRecord *valueList, char * recordname, odbValueRecord *valueData);
00076 
00077 odbBool xCALLBACK extInvoke (bigstring bsscriptname, void * pDispParams, odbValueRecord * retval, boolean *flfoundhandler, unsigned int * errarg);
00078 odbBool xCALLBACK extCoerce (odbValueRecord * odbval, odbValueType newtype);
00079 
00080 odbBool xCALLBACK extCallScript (odbString bspath, odbValueRecord *vparams, odbValueRecord *value); /* 2002-10-13 AR */
00081 odbBool xCALLBACK extCallScriptText (odbString bspath, odbValueRecord *vparams, Handle * text); /* 2002-10-13 AR */
00082 
00083 odbBool xCALLBACK extThreadYield (void); /* 2003-04-22 AR */
00084 odbBool xCALLBACK extThreadSleep (long sleepticks); /* 2003-04-22 AR */
00085 
00086 extern void dllinitverbs (void); /*2004-11-29 aradke*/
00087 
00088 extern void fillcalltable (XDLLProcTable *);
00089 
00090 extern boolean dllisloadedverb (hdltreenode hparam1, tyvaluerecord *vreturned);
00091 
00092 extern boolean dllloadverb (hdltreenode hparam1, tyvaluerecord *vreturned);
00093 
00094 extern boolean dllunloadverb (hdltreenode hparam1, tyvaluerecord *vreturned);
00095 
00096 extern boolean dllcallverb (hdltreenode hparam1, tyvaluerecord *vreturned);
00097 
00098 #endif
00099 

Generated on Wed May 31 18:19:51 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6