#ifndef _NEWPIDF_H #define _NEWPIDF_H /* These are the values in the MULTIMAP */ typedef union { void *ptr; char cval; int ival; float dval; char *sval; } pidf_union; typedef enum {P_FLOAT, P_INT, P_STRING, P_CHAR} pidf_value_type; typedef struct { pidf_union val; pidf_value_type type; } pidf_entry; typedef struct pidf_vals_s { pidf_union val; pidf_value_type type; struct pidf_vals_s *next; } pidf_vals; #ifdef __cplusplus extern "C" { #endif /* needed by newRead.c - from readPidf.C */ void FreePidfVals (pidf_vals **ret_val); pidf_vals *Find_Name (int, char *name, pidf_vals **ret_val); #ifdef __cplusplus } #endif #endif