 
#ifndef apts_DEFINED
#define apts_DEFINED 1
 
#ifndef class_DEFINED
#include <class.h>
#endif /* class_DEFINED */
/* 
 * This file was generated by the Andrew class system preprocessor.
 * Don't make changes to this file as it is created from apts.ch and will be
 * overwritten.  Make changes to apts.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from apts.ch.
 */ 
 
/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *
 *        For full copyright information see:'andrew/config/COPYRITE'     *
\* ********************************************************************** */

/*
	$Disclaimer: 
*Permission to use, copy, modify, and distribute this software and its 
*documentation for any purpose is hereby granted without fee, 
*provided that the above copyright notice appear in all copies and that 
*both that copyright notice, this permission notice, and the following 
*disclaimer appear in supporting documentation, and that the names of 
*IBM, Carnegie Mellon University, and other copyright holders, not be 
*used in advertising or publicity pertaining to distribution of the software 
*without specific, written prior permission.
*
*IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 
*DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
*ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 
*SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 
*BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
*DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
*WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
*ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
*OF THIS SOFTWARE.
* $
*/






/**  SPECIFICATION -- External Facility Suite  *********************************

TITLE	The Apt Tool Set

MODULE	apts.ch

VERSION	0.0

AUTHOR	TC Peters
	Information Technology Center, Carnegie-Mellon University 

DESCRIPTION
	This is the suite of Procedures that support the Apt Tool Set.

    NB: The comment-symbol "===" indicates areas which are:
	    1 - Questionable
	    OR
	    2 - Arbitrary
	    OR
	    3 - Temporary Hacks
    Such curiosities need be resolved prior to Project Completion...


HISTORY
  05/18/89	Created (TCP)

END-SPECIFICATION  ************************************************************/

#define  apts_VERSION    1






/*
    $Log: apts.ch,v $
*Revision 1.6  1993/05/04  01:06:01  susan
*RCS Tree Split
*
*Revision 1.5.1.1  1993/02/02  00:43:02  rr2b
*new R6tape branch
*
*Revision 1.5  1992/12/14  23:20:33  rr2b
*add $Logs back after disclaimerization took them out
*
Revision 1.3  1991/09/12  19:20:03  bobg
Update copyright notice

Revision 1.2  1989/05/18  22:45:00  tom
Add more misc tool items.

Revision 1.1  89/05/18  20:31:13  tom
Initial revision

*/


/* 
 * End of information copied from apts.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* apts has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for apts 
 */ 
/* apts is a package.  Packages don't have any data */ 

 
/* 
 * End of data structure for apts.
 */ 
 

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef apts_PROGRAMMERVERSION
#define apts_PROGRAMMERVERSION 1
#endif /* apts_PROGRAMMERVERSION */

#ifdef apts_VERSION
#undef apts_VERSION
#endif /* apts_VERSION */
#define apts_VERSION ((((apts_PROGRAMMERVERSION << 16) ^ (11 << 8)) & 0x7ffff) + (70 << 20))


#endif /* class_StaticInfoOnly */
#define apts_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *apts__GetClassInfo(); \
 extern struct classheader *apts_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, apts_classheader_StaticExport->name, apts__GetClassInfo, NULL, apts_classheader_StaticExport->namekey); } 
 
#define apts_StaticLoad()  \
    { \
    apts_StaticLoadOnlyThisClass();  \
    } 
 
#define apts_StaticEntry  {apts_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader apts_classheader = {
    apts_VERSION,
    "apts",
    "apts",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define apts_CLASSPROCEDURES (apts_classheader.classprocedures)
int apts_classref_;
#endif /* class_StaticInfoOnly */

#endif /* apts_DEFINED */

#if !defined(apts_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_apts) && !defined(class_StaticEntriesOnly)
#define apts_ROUTINESDEFINED


#define apts_CompareStrings(s1,s2) \
    (*((long (*)()) (apts_CLASSPROCEDURES->routines[0])))(&apts_classheader,s1,s2)
#define apts_SubstringIndex(pattern,string) \
    (*((long (*)()) (apts_CLASSPROCEDURES->routines[1])))(&apts_classheader,pattern,string)
#define apts_StripString(string) \
    (*((char * (*)()) (apts_CLASSPROCEDURES->routines[2])))(&apts_classheader,string)
#define apts_CaptureString(source,target) \
    (*((long (*)()) (apts_CLASSPROCEDURES->routines[3])))(&apts_classheader,source,target)
#define apts_HourMinuteSecond(hour,minute,second) \
    (*((void (*)()) (apts_CLASSPROCEDURES->routines[4])))(&apts_classheader,hour,minute,second)
#define apts_HourOfDay(hour) \
    (*((void (*)()) (apts_CLASSPROCEDURES->routines[5])))(&apts_classheader,hour)
#define apts_MinuteOfHour(minute) \
    (*((void (*)()) (apts_CLASSPROCEDURES->routines[6])))(&apts_classheader,minute)
#define apts_SecondOfMinute(second) \
    (*((void (*)()) (apts_CLASSPROCEDURES->routines[7])))(&apts_classheader,second)
#define apts_YearMonthDay(year,month,day) \
    (*((long (*)()) (apts_CLASSPROCEDURES->routines[8])))(&apts_classheader,year,month,day)
#define apts_DaysInMonth(year,month) \
    (*((long (*)()) (apts_CLASSPROCEDURES->routines[9])))(&apts_classheader,year,month)
#define apts_WeekDayOffset(year,month,day) \
    (*((long (*)()) (apts_CLASSPROCEDURES->routines[10])))(&apts_classheader,year,month,day)


#endif /* !defined(apts_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_apts ) && !defined(class_StaticEntriesOnly)*/

