Index: trunk/Ohana/src/relphot/include/relphot.h
===================================================================
--- trunk/Ohana/src/relphot/include/relphot.h	(revision 35104)
+++ trunk/Ohana/src/relphot/include/relphot.h	(revision 35416)
@@ -4,4 +4,13 @@
 # include <signal.h>
 # include <pthread.h>
+
+# define MARKTIME(MSG,...) {			\
+    gettimeofday (&stopTimer, (void *) NULL);	\
+    float dtime = DTIME (stopTimer, startTimer);	\
+    fprintf (stderr, MSG, __VA_ARGS__); }
+
+# define INITTIME \
+  struct timeval startTimer, stopTimer; \
+  gettimeofday (&startTimer, (void *) NULL);
 
 /* # define GRID_V1 */
@@ -193,4 +202,5 @@
 int    UpdateAverages;
 int    ApplyOffsets;
+int    SyntheticPhotometry;
 
 char  *PhotcodeList;
@@ -353,4 +363,5 @@
 void          write_coords        PROTO((Header *header, Coords *coords));
 int relphot_objects (int hostID, char *hostpath);
+int relphot_images (void);
 
 void relphot_usage (void);
@@ -390,2 +401,5 @@
 
 void SetMrelInfoInit (SetMrelInfo *results, int allocLists);
+
+int init_synthetic_mags ();
+int add_synthetic_mags (AverageTiny *average, SecFilt *secfilt, MeasureTiny *measure, off_t *Nmeasure, off_t *Nm);
