OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [tools/] [bmenu/] [base.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  COPYRIGHT (c) 1988-2002.
3
 *  On-Line Applications Research Corporation (OAR).
4
 *  All rights reserved.
5
 *
6
 *  base.h,v 1.5 2002/01/17 21:47:47 joel Exp
7
 */
8
 
9
#ifndef __PDL2AMI_h
10
#define __PDL2AMI_h
11
 
12
#include "system.h"
13
#include "chain.h"
14
 
15
#ifndef EXTERN 
16
#define EXTERN extern
17
#endif
18
 
19
/*
20
 *  Paragraph size should be kept down because it is allocated for each
21
 *  Line_Control.  If this number is large, the memory requirements for
22
 *  the program increase significantly.
23
 */
24
 
25
#define BUFFER_SIZE    (2 * 1024)
26
#define PARAGRAPH_SIZE (2 * 1024)
27
 
28
#define NUMBER_ELEMENTS( _x ) (sizeof(_x) / sizeof _x[0])
29
 
30
void exit_application(
31
  int status
32
);
33
 
34
void ProcessFile(
35
  char   *inname,
36
  char   *outname
37
);
38
 
39
void strtolower(
40
  char *dest,
41
  char *src
42
);
43
 
44
void strtoInitialCaps(
45
  char *dest,
46
  char *src
47
);
48
 
49
void StripBlanks( void );
50
 
51
void MergeParagraphs( void );
52
 
53
int CheckForIncomplete( void );
54
 
55
int CheckOutline( void );
56
 
57
int CheckSections( void );
58
 
59
void GenerateLists( void );
60
 
61
void GenerateAList(
62
  char          *section,
63
  Chain_Control *the_list
64
);
65
 
66
void LookForInternalInconsistencies( void );
67
 
68
int Match_Argument(
69
  char  **array,
70
  int     entries,
71
  char   *users
72
);
73
 
74
void usage( void  );
75
 
76
void ReadFileIntoChain(
77
  char *inname
78
);
79
 
80
int MergeText( void );
81
 
82
int CheckForBadWhiteSpace();
83
 
84
void RemoveCopyright();
85
 
86
void RemovePagebreaks();
87
 
88
int RemoveExtraBlankLines();
89
 
90
void FormatToTexinfo( void );
91
 
92
void PrintFile(
93
   char *out
94
);
95
 
96
void DumpList(
97
  Chain_Control  *the_list
98
);
99
 
100
void ReleaseFile();
101
 
102
EXTERN boolean          Verbose;                 /* status/debug msgs */
103
EXTERN boolean          BlankAsWarnings;
104
EXTERN Chain_Control    Lines;
105
 
106
EXTERN int              NumberOfAttributes;
107
EXTERN int              NumberOfAssociations;
108
EXTERN int              NumberOfAbstractTypes;
109
EXTERN int              NumberOfDataItems;
110
EXTERN int              NumberOfMethods;
111
EXTERN int              NumberOfTasks;
112
 
113
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.