|
Revision 919, 1.0 kB
(checked in by shawnw, 1 year ago)
|
1.8.3p3
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
#ifndef __HELP_H |
|---|
| 4 |
#define __HELP_H |
|---|
| 5 |
|
|---|
| 6 |
#define LINE_SIZE 90 |
|---|
| 7 |
#define TOPIC_NAME_LEN 30 |
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
typedef struct { |
|---|
| 13 |
long pos; |
|---|
| 14 |
char topic[TOPIC_NAME_LEN + 1]; |
|---|
| 15 |
} help_indx; |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
typedef struct { |
|---|
| 22 |
char *command; |
|---|
| 23 |
char *file; |
|---|
| 24 |
int admin; |
|---|
| 25 |
help_indx *indx; |
|---|
| 26 |
size_t entries; |
|---|
| 27 |
} help_file; |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
extern void init_help_files(void); |
|---|
| 31 |
extern void add_help_file |
|---|
| 32 |
(const char *command_name, const char *filename, int admin); |
|---|
| 33 |
extern void help_reindex(dbref player); |
|---|
| 34 |
#endif |
|---|