blob: 51cd5d0ff5ef38f7e0fdad60fb0d1abba659eeb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/*
* $Id: help.h 769 2007-10-24 00:15:40Z hubert@u.washington.edu $
*
* ========================================================================
* Copyright 2006-2007 University of Washington
* Copyright 2013 Eduardo Chappa
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ========================================================================
*/
#ifndef PINE_HELP_INCLUDED
#define PINE_HELP_INCLUDED
#include "../pith/help.h"
/*
* Flags to help manage help display
*/
#define HLPD_NONE 0
#define HLPD_NEWWIN 0x01
#define HLPD_SECONDWIN 0x02
#define HLPD_SIMPLE 0x04
#define HLPD_FROMHELP 0x08
/* exported protoypes */
int url_local_helper(char *);
int url_local_config(char *);
void init_helper_getc(char **);
int helper_getc(char *);
int helper(HelpType, char *, int);
void review_messages(void);
void print_help(char **);
#ifdef _WINDOWS
char *pcpine_help(HelpType);
#endif
#ifdef DEBUG
void dump_config(struct pine *, gf_io_t, int);
void dump_pine_struct(struct pine *, gf_io_t);
#endif
#endif /* PINE_HELP_INCLUDED */
|