tablestructure.h

Go to the documentation of this file.
00001 
00002 /*  $Id: tablestructure.h 1317 2006-04-21 02:06:59Z sethdill $    */
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 #define tablestructureinclude
00029 
00030 #ifndef langinclude
00031 
00032     #include "lang.h"
00033 
00034 #endif
00035 
00036 #ifndef dbinclude
00037 
00038     #include "db.h"
00039 
00040 #endif
00041 
00042 
00043 /*constants*/
00044 
00045 #define idsystemtablescripts 139
00046 
00047 enum  { /*indexes of system table scripts*/
00048     
00049     idmenubarscript = 1,
00050     
00051     idobjectdbscript,
00052     
00053     idquickscriptscript,
00054     
00055     idtechsupportscript,
00056     
00057     idfinder2clickscript,
00058     
00059     idfinder2frontscript,
00060     
00061     idfrontierclickers,
00062     
00063     idcontrol2clickscript,
00064     
00065     idcommand2clickscript,
00066     
00067     idoption2clickscript,
00068     
00069     idopenwindowscript,
00070     
00071     idsavewindowscript,
00072     
00073     idclosewindowscript,
00074     
00075     idcompilewindowscript,
00076     
00077     idisfirsttimescript,
00078     
00079     idopenurlscript,
00080     
00081     iduseriso8859map,
00082     
00083     iduserfontprefscript,
00084     
00085     idinexpertmodescript,
00086     
00087     idtoggleexpertmodescript,
00088     
00089     idrequiredeclarationsscript,
00090     
00091     idsuspendscript,
00092     
00093     idresumescript,
00094     
00095     idsearchparamstable,
00096     
00097     idagentsenabledscript,
00098 
00099     idautosave,
00100     
00101     idfrontierstartup,
00102     
00103     idflwaitduringstartup,
00104     
00105     idwebserverstats,
00106 
00107     idinetdshutdown,
00108 
00109     idpikeisfilemenuitemenabledscript,
00110 
00111     idpikegetmenuitemstring,
00112 
00113     idrunfilemenuscript, /* 2005-09-14 creedon - changed name from idpikerunfilemenuscript to idrunfilemenuscript */
00114 
00115     idopstruct2clickscript,
00116 
00117     idopreturnkeyscript,
00118     
00119     idopexpandscript,
00120     
00121     idopcollapsescript,
00122     
00123     idopcursormovedscript, /*7.0b6 PBS*/
00124 
00125     idoprightclickscript,
00126 
00127     idruneditmenuscript, /* 2005-09-25 creedon - changed name from idpikeruneditmenuscript to idruneditmenuscript */ 
00128 
00129     idpikeisfilemenuitemcheckedscript,
00130 
00131     idopinsertscript,
00132     
00133     idopenrecentmenutable = 44, /* 2005-09-22 creedon */ 
00134     
00135     idreplacedialogexpertmode, /* 2005-09-26 creedon */
00136     
00137     idrunopenrecentmenuscript /* 2005-09-29 creedon */
00138     };
00139 
00140 
00141 /*globals*/
00142 
00143 extern Handle rootvariable;
00144 
00145 extern hdlhashtable roottable;
00146 
00147 extern hdlhashtable internaltable;
00148 
00149 extern hdlhashtable systemtable;
00150 
00151 extern hdlhashtable efptable;
00152 
00153 extern hdlhashtable langtable;
00154 
00155 extern hdlhashtable builtinstable;
00156 
00157 extern hdlhashtable agentstable;
00158 
00159 extern hdlhashtable runtimestacktable;
00160 
00161 extern hdlhashtable semaphoretable;
00162 
00163 extern hdlhashtable threadtable;
00164 
00165 extern hdlhashtable filewindowtable;
00166 
00167 extern hdlhashtable verbstable;
00168 
00169 extern hdlhashtable resourcestable;
00170 
00171 extern hdlhashtable pathstable;
00172 
00173 extern hdlhashtable iacgluetable;
00174 
00175 extern hdlhashtable iachandlertable;
00176 
00177 extern hdlhashtable menubartable;
00178 
00179 extern hdlhashtable objectmodeltable;
00180 
00181 extern hdlhashtable environmenttable;
00182 
00183 extern hdlhashtable charsetstable;
00184 
00185 
00186 extern byte nameinternaltable []; 
00187 
00188 extern byte namemenubar []; 
00189 
00190 extern byte namebeginnermenus []; 
00191 
00192 extern byte namebuiltinstable [];
00193 
00194 extern byte nameagentstable [];
00195 
00196 extern byte nameresourcestable [];
00197 
00198 extern byte nameefptable [];
00199 
00200 extern byte namelangtable [];
00201 
00202 extern byte namestacktable [];
00203 
00204 extern byte namesemaphoretable [];
00205 
00206 extern byte namethreadtable [];
00207 
00208 extern byte namefilewindowtable [];
00209 
00210 extern byte nameroottable [];
00211 
00212 extern byte namestartuptable [];
00213 
00214 extern byte namesuspendtable [];
00215 
00216 extern byte nameresumetable [];
00217 
00218 extern byte nameshutdowntable [];
00219 
00220 extern byte namesystembranch [];
00221 
00222 extern byte namepathstable [];
00223 
00224 extern byte nameiacgluetable [];
00225 
00226 extern byte nameiachandlertable [];
00227 
00228 extern byte namemenubartable [];
00229 
00230 extern byte nameenvironmenttable [];
00231 
00232 extern byte namecharsetstable [];
00233 
00234 
00235 /*prototypes*/
00236 
00237 extern boolean linksystemtablestructure (hdlhashtable); /*tablestructure.c*/
00238 
00239 extern boolean getsystemtablescript (short, bigstring);
00240 
00241 extern boolean unlinksystemtablestructure (void);
00242 
00243 extern boolean tablenewsubtable (hdlhashtable, bigstring, hdlhashtable *);
00244 
00245 extern boolean tablenewsystemtable (hdlhashtable, bigstring, hdlhashtable *);
00246 
00247 extern boolean tableloadsystemtable (dbaddress, Handle *, hdlhashtable *, boolean);
00248 
00249 extern boolean tablesavesystemtable (Handle, dbaddress *);
00250 
00251 extern boolean tablesavesystemtable (Handle, dbaddress *);
00252 
00253 extern boolean checktablestructure (boolean);
00254 
00255 extern boolean cleartablestructureglobals (void);
00256 
00257 extern boolean settablestructureglobals (Handle, boolean);
00258 
00259 
00260 extern void initsegment (void); /*tablestartup.c*/
00261 
00262 extern boolean loadfunctionprocessor (short, langvaluecallback);
00263 
00264 extern boolean inittablestructure (void);
00265 
00266 
00267 extern boolean tablevalidate (hdlhashtable, boolean); /*tablevalidate.c*/
00268 
00269 
00270 
00271 

Generated on Wed May 31 18:20:03 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6