src/clipsrules/core/textpro.c File Reference

#include "setup.h"
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "argacces.h"
#include "commline.h"
#include "envrnmnt.h"
#include "extnfunc.h"
#include "memalloc.h"
#include "router.h"
#include "sysdep.h"
#include "textpro.h"

Include dependency graph for textpro.c:

Go to the source code of this file.

Classes

struct  entries
struct  lists
struct  textProcessingData
struct  topics

Defines

#define _TEXTPRO_SOURCE_
#define _STDIO_INCLUDED_
#define NAMESIZE   80
#define NULLCHAR   '\0'
#define BLANK   (' ')
#define TAB   ('\t')
#define LNFEED   ('\n')
#define NORMAL   0
#define NO_FILE   -10
#define NEW_FILE   -15
#define OLD_FILE   -20
#define NO_TOPIC   -25
#define EXIT   -30
#define BRANCH_UP   -35
#define BRANCH_DOWN   -40
#define MENU   -45
#define INFO   -50
#define BDELIM   "BEGIN-ENTRY-"
#define BDLEN   12
#define EDELIM   "END-ENTRY"
#define EDLEN   9
#define BFORMAT   "%d%1s%12s%s"
#define LIT_DELIM   ('$')
#define OPEN_READ   "r"
#define TEXTPRO_DATA   8
#define TextProcessingData(theEnv)   ((struct textProcessingData *) GetEnvironmentData(theEnv,TEXTPRO_DATA))
#define SCREEN_LN   22

Functions

int TextLookupFetch (void *, char *)
int TextLookupToss (void *, char *)
globle void HelpFunction (void *theEnv)
globle void HelpPathFunction (void *theEnv)
globle void FetchCommand (void *theEnv, DATA_OBJECT *result)
globle int PrintRegionCommand (void *theEnv)
globle void * GetRegionCommand (void *theEnv)
globle int TossCommand (void *theEnv)
globle void HelpFunctionDefinitions (void *theEnv)


Define Documentation

#define _STDIO_INCLUDED_

Definition at line 49 of file textpro.c.

#define _TEXTPRO_SOURCE_

Definition at line 44 of file textpro.c.

#define BDELIM   "BEGIN-ENTRY-"

Definition at line 118 of file textpro.c.

#define BDLEN   12

Definition at line 119 of file textpro.c.

#define BFORMAT   "%d%1s%12s%s"

Definition at line 122 of file textpro.c.

#define BLANK   (' ')

Definition at line 67 of file textpro.c.

#define BRANCH_DOWN   -40

Definition at line 82 of file textpro.c.

#define BRANCH_UP   -35

Definition at line 81 of file textpro.c.

#define EDELIM   "END-ENTRY"

Definition at line 120 of file textpro.c.

#define EDLEN   9

Definition at line 121 of file textpro.c.

#define EXIT   -30

Definition at line 80 of file textpro.c.

#define INFO   -50

Definition at line 88 of file textpro.c.

#define LIT_DELIM   ('$')

Definition at line 123 of file textpro.c.

#define LNFEED   ('\n')

Definition at line 69 of file textpro.c.

#define MENU   -45

Definition at line 87 of file textpro.c.

#define NAMESIZE   80

Definition at line 65 of file textpro.c.

#define NEW_FILE   -15

Definition at line 76 of file textpro.c.

#define NO_FILE   -10

Definition at line 75 of file textpro.c.

#define NO_TOPIC   -25

Definition at line 79 of file textpro.c.

#define NORMAL   0

Definition at line 74 of file textpro.c.

#define NULLCHAR   '\0'

Definition at line 66 of file textpro.c.

#define OLD_FILE   -20

Definition at line 77 of file textpro.c.

#define OPEN_READ   "r"

Definition at line 132 of file textpro.c.

#define SCREEN_LN   22

Definition at line 978 of file textpro.c.

#define TAB   ('\t')

Definition at line 68 of file textpro.c.

#define TEXTPRO_DATA   8

Definition at line 134 of file textpro.c.

#define TextProcessingData ( theEnv   )     ((struct textProcessingData *) GetEnvironmentData(theEnv,TEXTPRO_DATA))

Definition at line 146 of file textpro.c.


Function Documentation

globle void FetchCommand ( void *  theEnv,
DATA_OBJECT result 
)

Definition at line 1256 of file textpro.c.

globle void* GetRegionCommand ( void *  theEnv  ) 

Definition at line 1349 of file textpro.c.

globle void HelpFunction ( void *  theEnv  ) 

Definition at line 1031 of file textpro.c.

globle void HelpFunctionDefinitions ( void *  theEnv  ) 

Definition at line 1756 of file textpro.c.

globle void HelpPathFunction ( void *  theEnv  ) 

Definition at line 1205 of file textpro.c.

globle int PrintRegionCommand ( void *  theEnv  ) 

Definition at line 1299 of file textpro.c.

globle int TextLookupFetch ( void *  theEnv,
char *  file 
)

Definition at line 190 of file textpro.c.

globle int TextLookupToss ( void *  theEnv,
char *  file 
)

Definition at line 316 of file textpro.c.

globle int TossCommand ( void *  theEnv  ) 

Definition at line 1419 of file textpro.c.


Generated on Mon Jan 10 22:33:42 2011 by  doxygen 1.5.6