Index: trunk/Ohana/src/libautocode/def/image.d
===================================================================
--- trunk/Ohana/src/libautocode/def/image.d	(revision 20936)
+++ trunk/Ohana/src/libautocode/def/image.d	(revision 21508)
@@ -40,5 +40,5 @@
 # 40 bytes
 
-FIELD 	  name,             NAME,                 char[128],      name of original image 
+FIELD 	  name,             NAME,                 char[121],      name of original image 
 FIELD 	  detection_limit,  DETECTION_LIMIT,      unsigned char,  detection limit,           10*mag
 FIELD 	  saturation_limit, SATURATION_LIMIT,     unsigned char,  saturation limit,          10*mag
@@ -47,10 +47,8 @@
 FIELD 	  fwhm_y,           FWHM_Y,               unsigned char,  PSF y width,               25*arcsec
 FIELD 	  trate,            TRATE,                unsigned char,  scan rate,                 100 usec/pixel
-FIELD 	  code,             CODE,                 char,           image quality flag
 FIELD 	  ccdnum,           CCDNUM,               unsigned char,  CCD ID number
+FIELD 	  flags,            FLAGS,                unsigned int,   image quality flags
 FIELD 	  imageID,          IMAGE_ID,             unsigned int,   internal image ID
-
-# XXX do we want to use this to handle mosaics?
-# FIELD 	  parentID,         PARENT_ID,            unsigned int,   associated ref image
+FIELD 	  parentID,         PARENT_ID,            unsigned int,   associated ref image
 FIELD 	  externID,         EXTERN_ID,            unsigned int,   external image ID
 FIELD 	  sourceID,         SOURCE_ID,            unsigned short, analysis source ID
@@ -73,2 +71,4 @@
 FIELD 	  Myyyy,            MYYYY,                short,      	  Mrel polyterm
 # 40 bytes
+
+# *** 20090206 : new fields : parentID, flags (was code char), changed name to 121 bytes.
