ftp.nice.ch/pub/next/science/physics/Moon.NIHS.bs.tar.gz#/Moon/Source/proto.h

This is proto.h in view mode; [Download] [Up]

/* proto.h
 * Part of the Moon application for the NeXT computer.
 * Author:  Geoffrey S. Knauth
 * Date:    January 4, 1992
 *
 * Permission to copy this program is hereby granted under the terms
 * of the Free Software Foundation's GNU General Public License.
 */

/* from astro.c */
double jdtophase(double pdate, double *pphase, double *mage, double *dist,
		 double *angdia, double *sudist, double *suangdia);
void phasehunt(double sdate, double phases[5]);

/* from julian.c */
double jtime(struct tm *t);
void jyear(double td, int *yy, int *mm, int *dd);
void jhms(double j, int *h, int *m, int *s);
double ymdhmsToJtime
    (int year, int month, int day,
     int hour, int minute, int second);

/* from shadow.c */
void DrawMoonShadow(float phase, NXPoint *center,
		    float xradius, float yradius, int shadowColor);

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.