ops.h

Go to the documentation of this file.
00001 
00002 /*  $Id: ops.h 355 2005-01-11 22:48:55Z andreradke $    */
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 opsinclude
00029 
00030 
00031 /*typedefs*/
00032 
00033 typedef struct tylinkedlistrecord {
00034     
00035     struct tylinkedlistrecord **hnext;
00036     } tylinkedlistrecord, *ptrlinkedlist, **hdllinkedlist;
00037 
00038 
00039 /*prototypes*/
00040 
00041 extern short minint (short, short);
00042 
00043 extern short maxint (short, short);
00044 
00045 extern short absint (short);
00046 
00047 extern boolean delayticks (long);
00048 
00049 extern boolean delayseconds (long);
00050 
00051 extern void counttickloops (long *);
00052 
00053 extern void burntickloops (long);
00054 
00055 extern unsigned char uppercasechar (unsigned char);
00056 
00057 extern unsigned char lowercasechar (unsigned char);
00058 
00059 extern boolean textchar (unsigned char);
00060 
00061 extern void shorttostring (short, bigstring);
00062 
00063 extern void numbertostring (long, bigstring);
00064 
00065 extern boolean stringtoshort (bigstring, short *);
00066 
00067 extern boolean stringtonumber (bigstring, long *);
00068 
00069 extern boolean stringtofloat (bigstring, double *);
00070 
00071 extern boolean floattostring (double, bigstring);
00072 
00073 extern long numberfromhandle (Handle);
00074 
00075 extern void exittooperatingsystem (void);
00076 
00077 extern short dirtoindex (tydirection);
00078 
00079 extern tydirection indextodir (short);
00080 
00081 extern boolean validdirection (tydirection);
00082 
00083 extern tydirection oppositdirection (tydirection dir);
00084 
00085 extern long divup (long, long);
00086 
00087 extern long divround (long, long);
00088 
00089 extern long quantumize (long, long);
00090 
00091 extern boolean truenoop (void);
00092 
00093 extern boolean falsenoop (void);
00094 
00095 extern boolean gestalt (OSType, long *);
00096 
00097 extern boolean listlink (hdllinkedlist, hdllinkedlist);
00098 
00099 extern boolean listunlink (hdllinkedlist, hdllinkedlist);
00100 
00101 #if __powerc || __GNUC__
00102 
00103 extern void safex80told (const extended80 *x80, long double *x);
00104 
00105 extern void safeldtox80 (const long double *x, extended80 *x80);
00106 
00107 #endif
00108 
00109 extern void getsystemversionstring (bigstring, bigstring);
00110 
00111 extern void getsizestring (unsigned long, bigstring);
00112 
00113 extern unsigned long bcdtolong (unsigned long); /* 2004-11-16 creedon */

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