--- np2/common/profile.h 2004/03/31 14:02:50 1.6 +++ np2/common/profile.h 2004/04/07 13:33:23 1.7 @@ -64,10 +64,13 @@ typedef struct { UINT32 arg; } PFTBL; +typedef void (*PFREAD)(const PFTBL *item, const char *string); +typedef char *(*PFWRITE)(const PFTBL *item, char *string, UINT size); + void profile_iniread(const char *path, const char *app, - const PFTBL *tbl, UINT count); + const PFTBL *tbl, UINT count, PFREAD cb); void profile_iniwrite(const char *path, const char *app, - const PFTBL *tbl, UINT count); + const PFTBL *tbl, UINT count, PFWRITE cb); #ifdef __cplusplus }