/*-------------------------------------------------------------------+
|                                                                    |
|                Copyright (c) 1996, SAS Institute Inc.              |
|                  Unpublished - All Rights Reserved                 |
|                      S A S / C   S A M P L E                       |
|         NAME: WRDCNT2 header file                                  |
|     LANGUAGE: C                                                    |
|      PURPOSE: SAS/C Debugger tutorial example program              |
|               Contains #define statements , pointer and structure  |
|               declarations.                                        |
|               Refer to SAS/C Debugger User's Guide and Reference,  |
|               Third Edition, Chapter 5, pg. 121.                   |
|                                                                    |
|         MISC: See prefix.SAMPLE.C(WRDCNT2A)                        |
|                   prefix.SAMPLE.C(WRDCNT2B)                        |
|                   prefix.SAMPLE.AUX(WRDCNT2)                       |
+-------------------------------------------------------------------*/
#eject
#define TRUE   1
#define FALSE  0

#define BEFORE 1    /* position to insert in list */
#define END    0

#define MAXLEN 32               /* maximum word length */

typedef struct worddata {
   char *word;
   int totcnt;
   struct worddata *next;
   } wordlist;

void readin(FILE *);               /* function prototypes */
void enter(char *, int);
void printlst(wordlist *);