#ifndef HELP_H_
#define HELP_H_

/*
 * Copyright (c) 1986, 2014 by The Trustees of Columbia University in
 * the City of New York.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *  + Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 *  + Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 *  + Neither the name of Columbia University nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
 */

#ifdef RCSID
#ifndef lint
static const char *help_rcsid = "$Header: /usr/local/src/mm/mm-0.94/mm/RCS/help.h,v 1.1 2005/05/28 22:27:51 beebe Exp $";
#endif
#endif /* RCSID */

/* help file support */

#ifndef FALSE
#define FALSE (0)
#define TRUE (!FALSE)
#endif /* FALSE */

#define DEF_SRCFILE "./help.cpp"	/* defaults in case not in */
#define DEF_HLPFILE "./mm.help"		/* arguments */

#define HELPLEVEL 5			/* max number of strings per cmd */
#define HELP_TOP 0
#define HELP_READ 1
#define HELP_SEND 2
#define HELP_TOPIC 3
#define HELP_VARS 4
#define HELP_ALL HELP_TOP HELP_READ HELP_SEND

#define INTERLEN 3			/* XXX length of "@@\n" */

typedef struct hlp_offset {
    long offset;
    int length;
} hlp_offset;

#endif /* HELP_H_ */
