#ifndef _GETDATE_H_
#define _GETDATE_H_ 1

#include <stddef.h>
#include <sys/time.h>
#include <sys/timeb.h>

#ifdef __STDC__
extern time_t getdate(char *, struct timeb *);
#else
extern time_t getdate();
#endif

/*
 * getdate(time_string, context)
 * returns the internal time value (time_t) for the time expressed
 * in the time_string.  If time_string contains relative references
 * (e.g. next Tuesday), they are resolved relative to the time
 * struct pointed to by context.  If context is NULL, the current
 * time is used.
 */

#endif
