Index: /trunk/archive/pslib/include/psTime.h
===================================================================
--- /trunk/archive/pslib/include/psTime.h	(revision 1773)
+++ /trunk/archive/pslib/include/psTime.h	(revision 1774)
@@ -78,3 +78,36 @@
 psF64 psTimeDelta(const psTime *time1, const psTime *time2);
 
+// A table of UT1-UTC and polar coordinates
+typedef struct {
+    const char *filename;		// Filename of time table
+    const psF64 validFrom, validTo;	// MJDs of validity of time table
+    bool loaded;			// Has the table been loaded?
+    psVector *mjd;			// MJD data, type is psF64
+    psVector *dut;			// delta UT = UT1 - UTC data
+    psVector *xp, *yp;			// Polar motion data
+} psTimeTable;
+
+// Constructor --- don't load
+psTimeTable *psTimeTableAlloc(const char *filename, // Filename of time table
+			      psF64 validFrom,	// The time table is valid from this MJD
+			      psF64 validTo // The time table is valid to this MJD
+			      );
+
+// Load a time table, return true for success
+bool psTimeTableLoad(psTimeTable *table	// Time table to load
+		     );
+
+// Interpolate on a table, return true if given MJD is within the given range
+bool psTimeTableInterpolate(const psTimeTable *table, // Table to interpolate on
+			    double *xp,	// Output x_p, or NULL
+			    double *yp,	// Output y_p, or NULL
+			    double *dut,// Output UT1-UTC, or NULL
+			    psF64 mjd	// MJD at which to interpolate
+			    );
+
+// Time tables
+static psArray *timeTables;
+// Time configuration
+static psMetadata *timeConfig;
+
 #endif
