Very old versions for history.
[opsoft_archive.git] / silentbob / silentbob-1.1 / src / proto.h
blob8550c6a96cf7224d74895b15a30228ade42caca4
1 /*
2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
4 *
5 */
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 * make_pattern (char *op) ;
12 #include "sblib/inline.h"
14 bool local_define_test (char * d_op) ;
15 int what_is_this (char * d_op, char ch) ;
16 char * sstrend (char * d_ptr) ;
17 void free_cword (c_word * S) ;
18 inline struct c_word * new_cword (char *word, char sym) ;
19 DArray * split_to_words (char * d_op) ;
20 char * cts (struct c_word * d_word) ;
21 char * ww_last_word (char *d_op) ;
22 int words_count (char *S) ;
23 struct tt_state_t * get_onett_tag (char * f_name, char ** d_tt_buf) ;
24 int sblib_find (char * path, char * name, char * f_outname) ;
26 /*** ./brave.cpp ***/
27 char * try_name (char * ptr) ;
28 int fdecl_parse (char * d_out, DArray * d_vars) ;
29 char * sstrkill (char *OP) ;
31 /*** ./call_tags.cpp ***/
32 void call_tags_main (tt_state_t * d_tt_state, DArray * dout) ;
33 int call_tags (EArray * d_files) ;
35 /*** ./cgrep.cpp ***/
36 int cgrep_file (tt_state_t * d_tt_state, char * exp) ;
37 int cgrep (EArray * d_files, char * exp) ;
39 /*** ./flist.cpp ***/
40 char * flist_iter (char * d_ptr, char * d_name, bool b_repair) ;
41 void flist_main (char * d_file) ;
43 /*** ./globals.cpp ***/
44 char * globals_main (struct tt_state_t * d_tt_state, int d_type) ;
45 void globals (char * d_file, int d_type) ;
47 /*** ./got_structs.cpp ***/
48 void got_structs (char * d_file) ;
50 /*** ./got_tag.cpp ***/
51 int offset_to_line (char * d_file, int d_offset) ;
52 int parse_regexp (char * d_file, char * S) ;
53 bool ctags_tag (char *d_str, char * d_name, d_tag_t * d_tag) ;
54 EArray * got_tag_ctags (char * d_tag) ;
56 /*** ./init.cpp ***/
57 int sb_init () ;
59 /*** ./main.cpp ***/
60 int sb_prname (char *arg) ;
61 int main (int argc, char ** argv) ;
63 /*** ./make_tags.cpp ***/
64 void mk_tags (char *f_name, DArray *d_in) ;
65 void make_ctags (EArray * d_files) ;
67 /*** ./mk_tag.cpp ***/
68 char * macro_name (char * d_op, char * d_macro_name) ;
69 void mk_tag_macro (char * d_op, char * d_file, int t_line) ;
70 void mk_tag (char * d_op, char * d_file, int line, int d_found_type) ;
71 DArray * mk_tag_structtail_split (char *S) ;
72 void mk_tag_structtail (char * S, char * d_file, int t_line) ;
74 /*** ./modding.cpp ***/
75 env_t * sb_getenv (void) ;
76 char modding_optparse (int * i, int step) ;
77 int linux_modding_init () ;
78 void mods_info ();
80 /*** ./nogui_fdump.cpp ***/
81 bool brace_count (char * d_str, int * d_count, bool b_force_block) ;
82 void nogui_fdump (struct fdump_param_t * d_param) ;
84 /*** ./nogui_indent.cpp ***/
85 void nogui_indent () ;
87 /*** ./tags.cpp ***/
88 void tags (DArray * d_names, char * d_file_output) ;
90 /*** ./t_op.cpp ***/
91 char t_op (char ** d_in, char ** d_prev, bool b_no_operators = true) ;
93 /*** ./tree.cpp ***/
94 inline bool tree_immune (char * m_fname) ;
95 void rctree_iter (char * f_name, int n_trip) ;
96 void reverse_calltree (char * f_name) ;
97 void tree_echo (int n_trip, char *S) ;
98 inline void tree_mkpos (int N) ;
99 void call_tree (char * f_name, int n_trip) ;
101 /*** ./usage.cpp ***/
102 void usage () ;