2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
7 void nogui_tagsdump (char * f_name
, int n_trip
) ;
8 void skip_macro (char ** d_ptr
, char ** d_out
, char ch
) ;
9 int ww_begin_line (struct tt_state_t
* d_tt_state
, char *d_out
, int d_offset
) ;
10 char * ww_begin_offset (struct tt_state_t
* d_tt_state
, char *d_out
, int d_offset
) ;
12 char * make_pattern (char *op
) ;
14 #include "sblib/inline.h"
17 bool def_test (char * d_op
) ;
18 int what_is_this (char * d_op
, char ch
) ;
19 char * sstrend (char * d_ptr
) ;
20 void free_cword (c_word
* S
) ;
21 inline struct c_word
* new_cword (char *word
, char sym
) ;
22 DArray
* split_to_words (char * d_op
) ;
23 char * cts (struct c_word
* d_word
) ;
24 char * ww_last_word (char *d_op
) ;
25 int words_count (char *S
) ;
26 struct tt_state_t
* get_onett_tag (char * f_name
, char ** d_tt_buf
) ;
27 int sblib_find (char * path
, char * name
, char * f_outname
) ;
29 int split_tmp_files () ;
33 char * try_name (char * ptr
) ;
34 int fdecl_parse (char * d_out
, DArray
* d_vars
) ;
35 char * sstrkill (char *OP
) ;
37 /*** ./call_tags.cpp ***/
38 void call_tags_main (tt_state_t
* d_tt_state
, DArray
* dout
) ;
39 int call_tags (EArray
* d_files
) ;
42 int cgrep_file (tt_state_t
* d_tt_state
, char * exp
) ;
43 int cgrep (EArray
* d_files
, char * exp
) ;
46 char * flist_iter (char * d_ptr
, char * d_name
, bool b_repair
) ;
47 void flist_main (char * d_file
) ;
49 /*** ./globals.cpp ***/
50 char * globals_main (struct tt_state_t
* d_tt_state
, int d_type
) ;
51 void globals (char * d_file
, int d_type
) ;
53 /*** ./got_structs.cpp ***/
54 void got_structs (char * d_file
) ;
56 /*** ./got_tag.cpp ***/
57 int offset_to_line (char * d_file
, int d_offset
) ;
58 int parse_regexp (char * d_file
, char * S
) ;
59 bool ctags_tag (char *d_str
, char * d_name
, d_tag_t
* d_tag
) ;
60 EArray
* got_tag_ctags (char * d_tag
) ;
66 int sb_prname (char *arg
) ;
67 int main (int argc
, char ** argv
) ;
69 /*** ./make_tags.cpp ***/
70 void mk_tags (char *f_name
, DArray
*d_in
) ;
71 void make_ctags (EArray
* d_files
) ;
73 /*** ./mk_tag.cpp ***/
74 char * macro_name (char * d_op
, char * d_macro_name
) ;
75 void mk_tag_macro (char * d_op
, char * d_file
, int t_line
) ;
76 void mk_tag (char * d_op
, char * d_file
, int line
, int d_found_type
) ;
77 DArray
* mk_tag_structtail_split (char *S
) ;
78 void mk_tag_structtail (char * S
, char * d_file
, int t_line
) ;
80 /*** ./modding.cpp ***/
81 env_t
* sb_getenv (void) ;
82 char modding_optparse (int * i
, int step
) ;
83 int linux_modding_init () ;
86 /*** ./nogui_fdump.cpp ***/
87 bool brace_count (char * d_str
, int * d_count
, bool b_force_block
) ;
88 void nogui_fdump (struct fdump_param_t
* d_param
) ;
90 /*** ./nogui_indent.cpp ***/
91 void nogui_indent () ;
94 void tags (DArray
* d_names
, char * d_file_output
) ;
97 char t_op (char ** d_in
, char ** d_prev
, bool b_no_operators
= true) ;
100 inline bool tree_immune (char * m_fname
) ;
101 void rctree_iter (char * f_name
, int n_trip
) ;
102 void reverse_calltree (char * f_name
) ;
103 void tree_echo (int n_trip
, char *S
) ;
104 inline void tree_mkpos (int N
) ;
105 void call_tree (char * f_name
, int n_trip
) ;
107 /*** ./usage.cpp ***/
110 /*** ./opts_globals.cpp **/
111 int opts_globals (DArray
* d_opts
, int & i
, int * i_cmd
) ;
113 /*** ./opts_settings.cpp **/
114 int opts_settings (DArray
* d_opts
, int & i
) ;
116 /*** ./sb_prnmame.cpp **/
117 int sb_prname (char *arg
) ;