home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / nethack-3.1 / sys / amiga / splitter / arg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-10  |  485 b   |  18 lines

  1. /*    SCCS Id: @(#)arg.h        3.1   93/01/08
  2. /*    Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1992, 1993 */
  3. /* NetHack may be freely redistributed.  See license for details. */
  4.  
  5. /*
  6.  * arg.h
  7.  * external interface for argument parsing
  8.  */
  9.  
  10. int arg_next(void);
  11. void arg_init(char *,int, char **);
  12.  
  13. extern char *argarg;
  14.  
  15. #define ARG_ERROR    (-2)    /* no such arg, bad file, etc. */
  16. #define ARG_DONE    (-1)    /* ok, but nothing left */
  17. #define ARG_FREE    0    /* a name not associated with an arg */
  18.