summaryrefslogtreecommitdiffstats
path: root/doc/tools/pdl2texi/base.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-16 21:30:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-16 21:30:07 +0000
commitd4bc481ded89c54759a5cd2c51565486d72312c6 (patch)
tree0c96a4f57f6d726ad7b8cd492c3d1fde8e4c0328 /doc/tools/pdl2texi/base.h
parentnew file (diff)
downloadrtems-d4bc481ded89c54759a5cd2c51565486d72312c6.tar.bz2
Initial revision
Diffstat (limited to '')
-rw-r--r--doc/tools/pdl2texi/base.h116
1 files changed, 116 insertions, 0 deletions
diff --git a/doc/tools/pdl2texi/base.h b/doc/tools/pdl2texi/base.h
new file mode 100644
index 0000000000..d570f1767d
--- /dev/null
+++ b/doc/tools/pdl2texi/base.h
@@ -0,0 +1,116 @@
+/*
+ * COPYRIGHT (c) 1997.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights reserved.
+ *
+ * $Id$
+ */
+
+#ifndef __PDL2AMI_h
+#define __PDL2AMI_h
+
+#include "system.h"
+#include "chain.h"
+
+#ifndef EXTERN
+#define EXTERN extern
+#endif
+
+/*
+ * Paragraph size should be kept down because it is allocated for each
+ * Line_Control. If this number is large, the memory requirements for
+ * the program increase significantly.
+ */
+
+#define BUFFER_SIZE (2 * 1024)
+#define PARAGRAPH_SIZE (2 * 1024)
+
+#define NUMBER_ELEMENTS( _x ) (sizeof(_x) / sizeof _x[0])
+
+void exit_application(
+ int status
+);
+
+void ProcessFile(
+ char *inname,
+ char *outname
+);
+
+void strtolower(
+ char *dest,
+ char *src
+);
+
+void strtoInitialCaps(
+ char *dest,
+ char *src
+);
+
+void StripBlanks( void );
+
+void MergeParagraphs( void );
+
+int CheckForIncomplete( void );
+
+int CheckOutline( void );
+
+int CheckSections( void );
+
+void GenerateLists( void );
+
+void GenerateAList(
+ char *section,
+ Chain_Control *the_list
+);
+
+void LookForInternalInconsistencies( void );
+
+int Match_Argument(
+ char **array,
+ int entries,
+ char *users
+);
+
+void usage( void );
+
+void ReadFileIntoChain(
+ char *inname
+);
+
+int MergeText( void );
+
+int CheckForBadWhiteSpace();
+
+void RemoveCopyright();
+
+void RemovePagebreaks();
+
+int RemoveExtraBlankLines();
+
+void FormatToTexinfo( void );
+
+void PrintFile(
+ char *out
+);
+
+void DumpList(
+ Chain_Control *the_list
+);
+
+void ReleaseFile();
+
+EXTERN boolean Verbose; /* status/debug msgs */
+EXTERN boolean Statistics; /* statistics msgs */
+EXTERN boolean IncompletesAreErrors;
+EXTERN boolean InsertTBDs;
+EXTERN Chain_Control Lines;
+
+EXTERN int NumberOfAttributes;
+EXTERN int NumberOfAssociations;
+EXTERN int NumberOfAbstractTypes;
+EXTERN int NumberOfDataItems;
+EXTERN int NumberOfMethods;
+EXTERN int NumberOfTasks;
+
+
+#endif