oplist.h

Go to the documentation of this file.
00001 
00002 /*  $Id: oplist.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 oplistinclude /*so other guys can tell if we've been included*/
00029 
00030 
00031 #ifndef shellinclude
00032 
00033     #include "shell.h"
00034 
00035 #endif
00036 
00037 
00038 /*types*/
00039 
00040 typedef struct tylistrecord **hdllistrecord;    /* 2004-11-04 aradke: now opaque */
00041 
00042 typedef boolean (*oplistreleaseitemcallback) (Handle);  /* 2004-11-04 aradke: part of tylistrecord */
00043 
00044 typedef boolean (*opvisitlistcallback) (Handle, ptrstring, ptrvoid);    /* 2004-11-04 aradke */
00045 
00046 
00047 /*prototypes*/
00048 
00049 extern boolean opnewlist (hdllistrecord *, boolean);
00050 
00051 extern void opdisposelist (hdllistrecord);
00052 
00053 extern boolean oppushhandle (hdllistrecord, ptrstring, Handle);
00054 
00055 extern boolean opunshifthandle (hdllistrecord, ptrstring, Handle);
00056 
00057 extern boolean oppushdata (hdllistrecord, ptrstring, ptrvoid, long);
00058 
00059 extern boolean oppushstring (hdllistrecord, ptrstring, bigstring);
00060 
00061 extern boolean opgetlistdata (hdllistrecord, long, ptrstring, ptrvoid, long);
00062 
00063 extern boolean opgetlisthandle (hdllistrecord, long, ptrstring, Handle *);
00064 
00065 extern boolean opgetliststring (hdllistrecord, long, ptrstring, bigstring);
00066 
00067 extern boolean opsetlisthandle (hdllistrecord, long, ptrstring, Handle);
00068 
00069 extern boolean opsetlistdata (hdllistrecord, long, ptrstring, ptrvoid, long);
00070 
00071 extern long opcountlistitems (hdllistrecord);
00072 
00073 extern boolean opgetisrecord (hdllistrecord);   /* 2004-11-04 aradke */
00074 
00075 extern void opsetisrecord (hdllistrecord hlist, boolean flisrecord);    /* 2004-11-04 aradke */
00076 
00077 extern oplistreleaseitemcallback opsetreleaseitemcallback (hdllistrecord, oplistreleaseitemcallback);   /* 2004-11-04 aradke */
00078 
00079 extern boolean opdeletelistitem (hdllistrecord, long, ptrstring);
00080 
00081 extern boolean oppacklist (hdllistrecord, Handle *);
00082 
00083 extern boolean opunpacklist (Handle, hdllistrecord *);
00084 
00085 extern boolean opcopylist (hdllistrecord, hdllistrecord *);
00086 
00087 extern boolean oploadstringlist (short, hdllistrecord *);
00088 
00089 extern boolean opvisitlist (hdllistrecord, opvisitlistcallback, ptrvoid);   /* 2004-11-04 aradke */
00090 

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