globs.h File Reference

#include <stdio.h>

Include dependency graph for globs.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fstate
struct  parser_state

Defines

#define BACKSLASH   '\\'
#define bufsize   200
#define inp_bufs   600
#define sc_size   5000
#define label_offset   2
#define tabsize   8
#define tabmask   0177770
#define false   0
#define true   !false
#define STACKSIZE   150

Variables

PUBLIC FILEinput
PUBLIC FILEoutput
PUBLIC char * labbuf
PUBLIC char * s_lab
PUBLIC char * e_lab
PUBLIC char * l_lab
PUBLIC char * codebuf
PUBLIC char * s_code
PUBLIC char * e_code
PUBLIC char * l_code
PUBLIC char * combuf
PUBLIC char * s_com
PUBLIC char * e_com
PUBLIC char * l_com
PUBLIC char in_buffer [inp_bufs]
PUBLIC char * buf_ptr
PUBLIC char * buf_end
PUBLIC char save_com [sc_size]
PUBLIC char * sc_end
PUBLIC char * bp_save
PUBLIC char * be_save
PUBLIC char token [bufsize]
PUBLIC int ptr_binop
PUBLIC int bl_aft_decl
PUBLIC int bl_bef_bk
PUBLIC int bl_a_procs
PUBLIC int bl_around
PUBLIC int swallow_opt_bl
PUBLIC int n_real_blanklines
PUBLIC int prefix_blankline_requested
PUBLIC int postfix_blankline_requested
PUBLIC int break_comma
PUBLIC int btype_2
PUBLIC long case_ind
PUBLIC int code_lines
PUBLIC int had_eof
PUBLIC int line_no
PUBLIC int max_col
PUBLIC int verbose
PUBLIC int cuddle_else
PUBLIC int star_comment_cont
PUBLIC int del_on_bl
PUBLIC int troff
PUBLIC int proc_str_line
PUBLIC int proc_calls_space
PUBLIC int format_col1_comments
PUBLIC int inhibit_formatting
PUBLIC int suppress_blanklines
PUBLIC int continuation_indent
PUBLIC int lineup_to_parens
PUBLIC int Bill_Shannon
PUBLIC int bl_at_proctop
PUBLIC int bk_max_col
PUBLIC int ex_expr_indent
PUBLIC struct fstate keywordf
stringf boxcomf blkcomf scomf 
bodyf
PUBLIC struct parser_state ps
PUBLIC int ifdef_level
PUBLIC struct parser_state state_stack [5]
PUBLIC struct parser_state match_state [5]


Define Documentation

#define BACKSLASH   '\\'
 

Copyright (c) 1985 Sun Microsystems, Inc. Copyright (c) 1980 The Regents of the University of California. Copyright (c) 1976 Board of Trustees of the University of Illinois. All rights reserved.

Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the University of California, Berkeley, the University of Illinois, Urbana, and Sun Microsystems, Inc. The name of either University or Sun Microsystems may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

@(#)indent_globs.h 5.7 (Berkeley) 9/15/88

Definition at line 25 of file globs.h.

#define bufsize   200
 

Definition at line 26 of file globs.h.

Referenced by main().

#define false   0
 

Definition at line 37 of file globs.h.

#define inp_bufs   600
 

Definition at line 27 of file globs.h.

#define label_offset   2
 

Definition at line 29 of file globs.h.

Referenced by label_target().

#define sc_size   5000
 

Definition at line 28 of file globs.h.

#define STACKSIZE   150
 

Definition at line 179 of file globs.h.

#define tabmask   0177770
 

Definition at line 33 of file globs.h.

Referenced by count_spaces(), pad_output(), and pr_comment().

#define tabsize   8
 

Definition at line 32 of file globs.h.

Referenced by count_spaces(), file(), pad_output(), and pr_comment().

#define true   !false
 

Definition at line 38 of file globs.h.


Variable Documentation

PUBLIC char* be_save
 

Definition at line 73 of file globs.h.

Referenced by fill_buffer(), and main().

PUBLIC int Bill_Shannon
 

Definition at line 140 of file globs.h.

PUBLIC int bk_max_col
 

Definition at line 152 of file globs.h.

Referenced by pr_comment().

PUBLIC int bl_a_procs
 

Definition at line 84 of file globs.h.

PUBLIC int bl_aft_decl
 

Definition at line 80 of file globs.h.

Referenced by dump_line().

PUBLIC int bl_around
 

Definition at line 85 of file globs.h.

PUBLIC int bl_at_proctop
 

Definition at line 143 of file globs.h.

PUBLIC int bl_bef_bk
 

Definition at line 82 of file globs.h.

Referenced by pr_comment().

PUBLIC struct fstate keywordf stringf boxcomf blkcomf scomf bodyf
 

Definition at line 170 of file globs.h.

Referenced by parsefont().

PUBLIC char* bp_save
 

Definition at line 71 of file globs.h.

Referenced by fill_buffer(), and main().

PUBLIC int break_comma
 

Definition at line 91 of file globs.h.

Referenced by main(), and parse().

PUBLIC int btype_2
 

Definition at line 93 of file globs.h.

Referenced by main(), and parse().

PUBLIC char* buf_end
 

Definition at line 63 of file globs.h.

Referenced by file_open(), fill_buffer(), lexi(), main(), pr_comment(), and tail().

PUBLIC char* buf_ptr
 

Definition at line 61 of file globs.h.

Referenced by fill_buffer(), lexi(), main(), p1_rw_inodes(), pr_comment(), and string_print().

PUBLIC long case_ind
 

Definition at line 96 of file globs.h.

Referenced by label_target(), parse(), and reduce().

PUBLIC int code_lines
 

Definition at line 98 of file globs.h.

Referenced by dump_line().

PUBLIC char* codebuf
 

Definition at line 49 of file globs.h.

Referenced by main().

PUBLIC char* combuf
 

Definition at line 54 of file globs.h.

Referenced by main(), and pr_comment().

PUBLIC int continuation_indent
 

Definition at line 134 of file globs.h.

Referenced by code_target().

PUBLIC int cuddle_else
 

Definition at line 106 of file globs.h.

Referenced by main().

PUBLIC int del_on_bl
 

Definition at line 112 of file globs.h.

Referenced by pr_comment().

PUBLIC char* e_code
 

Definition at line 51 of file globs.h.

Referenced by dump_line(), main(), parse(), and pr_comment().

PUBLIC char* e_com
 

Definition at line 56 of file globs.h.

Referenced by dump_line(), main(), and pr_comment().

PUBLIC char* e_lab
 

Definition at line 46 of file globs.h.

Referenced by dump_line(), main(), and pr_comment().

PUBLIC int ex_expr_indent
 

Definition at line 153 of file globs.h.

PUBLIC int format_col1_comments
 

Definition at line 125 of file globs.h.

Referenced by main(), and pr_comment().

PUBLIC int had_eof
 

Definition at line 99 of file globs.h.

Referenced by fill_buffer(), main(), and pr_comment().

PUBLIC int ifdef_level
 

Definition at line 306 of file globs.h.

PUBLIC char in_buffer[inp_bufs]
 

Definition at line 60 of file globs.h.

Referenced by fill_buffer(), main(), and pr_comment().

PUBLIC int inhibit_formatting
 

Definition at line 130 of file globs.h.

Referenced by dump_line().

PUBLIC FILE* input
 

Definition at line 41 of file globs.h.

Referenced by bakcopy(), bottom_line(), build_index(), data_block(), extract(), file_open(), fill_buffer(), get_line(), get_set_input(), lsi(), lsuper(), main(), search_str(), set_option(), string_file(), strings(), v_change(), v_insert(), v_overtype(), and v_subst().

PUBLIC char* l_code
 

Definition at line 52 of file globs.h.

Referenced by main().

PUBLIC char* l_com
 

Definition at line 58 of file globs.h.

Referenced by main(), and pr_comment().

PUBLIC char* l_lab
 

Definition at line 47 of file globs.h.

Referenced by main().

PUBLIC char* labbuf
 

Definition at line 44 of file globs.h.

Referenced by main().

PUBLIC int line_no
 

Definition at line 101 of file globs.h.

PUBLIC int lineup_to_parens
 

Definition at line 137 of file globs.h.

Referenced by code_target(), and main().

PUBLIC struct parser_state match_state[5]
 

Definition at line 308 of file globs.h.

PUBLIC int max_col
 

Definition at line 102 of file globs.h.

Referenced by code_target(), main(), and pr_comment().

PUBLIC int n_real_blanklines
 

Definition at line 88 of file globs.h.

Referenced by dump_line().

PUBLIC FILE* output
 

Definition at line 42 of file globs.h.

PUBLIC int postfix_blankline_requested
 

Definition at line 90 of file globs.h.

Referenced by dump_line().

PUBLIC int prefix_blankline_requested
 

Definition at line 89 of file globs.h.

Referenced by dump_line(), and pr_comment().

PUBLIC int proc_calls_space
 

Definition at line 122 of file globs.h.

Referenced by main().

PUBLIC int proc_str_line
 

Definition at line 116 of file globs.h.

PUBLIC struct parser_state ps
 

PUBLIC int ptr_binop
 

Definition at line 79 of file globs.h.

PUBLIC char* s_code
 

Definition at line 50 of file globs.h.

Referenced by code_target(), dump_line(), main(), parse(), and pr_comment().

PUBLIC char* s_com
 

Definition at line 55 of file globs.h.

Referenced by dump_line(), main(), and pr_comment().

PUBLIC char* s_lab
 

Definition at line 45 of file globs.h.

Referenced by dump_line(), label_target(), main(), and pr_comment().

PUBLIC char save_com[sc_size]
 

Definition at line 66 of file globs.h.

PUBLIC char* sc_end
 

Definition at line 69 of file globs.h.

Referenced by main().

PUBLIC int star_comment_cont
 

Definition at line 108 of file globs.h.

Referenced by dump_line(), and main().

PUBLIC struct parser_state state_stack[5]
 

Definition at line 307 of file globs.h.

PUBLIC int suppress_blanklines
 

Definition at line 132 of file globs.h.

Referenced by dump_line().

PUBLIC int swallow_opt_bl
 

Definition at line 87 of file globs.h.

Referenced by dump_line().

PUBLIC char token[bufsize]
 

Definition at line 76 of file globs.h.

PUBLIC int troff
 

Definition at line 114 of file globs.h.

Referenced by dump_line(), pad_output(), and pr_comment().

PUBLIC int verbose
 

Definition at line 104 of file globs.h.


Generated on Fri Apr 14 23:05:06 2006 for minix by  doxygen 1.4.6