Index: trunk/src/file.c =================================================================== --- trunk/src/file.c (revision 284) +++ trunk/src/file.c (revision 285) @@ -1195,6 +1195,8 @@ if (type == PCB_FP_PARAMETRIC) strcat(entry->AllocatedMemory, "()"); + entry->Type = type; + return 0; } Index: trunk/src/global.h =================================================================== --- trunk/src/global.h (revision 284) +++ trunk/src/global.h (revision 285) @@ -444,6 +444,7 @@ int index; } RouteStyleType, *RouteStyleTypePtr; +#include "libpcb_fp.h" /* --------------------------------------------------------------------------- * structure used by library routines */ @@ -455,6 +456,7 @@ *Package, /* package */ *Value, /* the value field */ *Description; /* some descritional text */ + pcb_fp_type_t Type; } LibraryEntryType, *LibraryEntryTypePtr; //typedef LibraryEntryType *LibraryEntryTypePtr; Index: trunk/src/libpcb_fp.h =================================================================== --- trunk/src/libpcb_fp.h (revision 284) +++ trunk/src/libpcb_fp.h (revision 285) @@ -1,3 +1,5 @@ +#ifndef LIBPCB_FP_H +#define LIBPCB_FP_H typedef enum { PCB_FP_INVALID, PCB_FP_DIR, @@ -7,3 +9,4 @@ int pcb_fp_list(char *subdir, int recurse, int (*cb)(void *cookie, const char *subdir, const char *name, pcb_fp_type_t type), void *cookie); +#endif