Index: trunk/Ohana/src/addstar/include/addstar.h
===================================================================
--- trunk/Ohana/src/addstar/include/addstar.h	(revision 3402)
+++ trunk/Ohana/src/addstar/include/addstar.h	(revision 3416)
@@ -17,4 +17,20 @@
     fprintf (stderr, "ERROR:  photcode %s not found in photcode table\n", NAME); \
     exit (0); }
+
+/* this structure is used for loading the data from the FITS smp file */
+typedef struct {
+  float X;
+  float Y;
+  float M;
+  float dM;
+  float Mgal;
+  float Map;
+  float sky;
+  float fx;
+  float fy;
+  float df;
+  char  dophot;
+  char  dummy[3];
+} StarData;
 
 typedef struct {
@@ -198,2 +214,3 @@
 GSCRegion *gregion_match (GSCRegion *regions, int *nregions);
 GSCRegion *gregion_patch (GSCRegion *patch, int *nregions);
+int ConvertStars (StarData *data, int size, int nitems);
