/***************************************************************************
*	NAME:  PROFILE.H $Revision: 1.3 $
**	COPYRIGHT:
**	"Copyright (c) 1994,1995 by e-Tek Labs"
**
**       "This software is furnished under a license and may be used,
**       copied, or disclosed only in accordance with the terms of such
**       license and with the inclusion of the above copyright notice.
**       This software or any other copies thereof may not be provided or
**       otherwise made available to any other person. No title to and
**       ownership of the software is hereby transfered."
****************************************************************************
* $Log: profile.h $
* Revision 1.3  1995/05/25 15:15:33  mleibow
* Added far ptrs for list handling.
* Added support for stdio or local file functions.
* Added support for malloc/free or local memory functions.
* Revision 1.2  1995/05/15 22:49:34  sdsmith
* Switched to far versions of list code
* Revision 1.1  1995/02/23 11:07:52  unknown
* Initial revision
***************************************************************************/
#define NO_ERROR        0
#define END_OF_FILE     1
#define BUFFER_FULL     2
#define INVALID_PROFILE 3
#define NO_SUCH_FILE    4
#define FOUND_ENTRY     5

typedef struct profile_entry_struct {
  struct iwl_node node;
  char  RFAR *name;
  char  RFAR *value;
  short valid;
} profile_entry;

typedef struct profile_section_struct {
  struct iwl_node node;
  char  RFAR *name;
  struct iwl_list entries;
  short valid;
} profile_section;

typedef struct profile_header_struct {
  struct iwl_node node;
  char  RFAR *filename;
  struct iwl_list sections;
} profile_header;

extern struct iwl_list profiles;
