help.h

tinymush-3.1p1/src/help.h · 577 B

From the archive tm31p1.tar.gz

Download the archive   « Back to the archive contents

/* help.h */
/* $Id: help.h,v 1.6 2001/01/27 22:22:07 dpassmor Exp $ */

#include "copyright.h"

#ifndef __HELP_H
#define __HELP_H

#define  LINE_SIZE		90

#define  TOPIC_NAME_LEN		30

typedef struct {
  long pos;			/* index into help file */
  int len;			/* length of help entry */
  char topic[TOPIC_NAME_LEN + 1];	/* topic of help entry */
} help_indx;

/* Pointers to this struct is what gets stored in the help_htab's */
struct help_entry {
	int pos;		/* Position, copied from help_indx */
	int len;		/* Length of entry, copied from help_indx */
};

#endif /* __HELP_H */

Site Stats

Snippets: 1791
Codebases: 571