+ Fixes
[opsoft.git] / silentbob / include / proto.h
blob4b830fe485e162283832ebf83b7ebb6c53570125
1 /*
2 * (c) Oleg Puchinin 2006,2007
3 * graycardinalster@gmail.com
4 *
5 */
7 void nogui_tagsdump (char * f_name, int n_trip) ;
8 void opMacro (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 #include <inline.h>
14 /* sblib */
15 bool def_test (char * d_op) ;
16 int what_is_this (char * d_op, char ch) ;
17 char * sstrend (char * d_ptr) ;
18 void free_cword (c_word * S) ;
19 inline struct c_word * new_cword (char *word, char sym) ;
20 DArray * split_to_words (char * d_op) ;
21 char * cts (struct c_word * d_word) ;
22 char * ww_last_word (char *d_op) ;
23 int words_count (char *S) ;
24 struct tt_state_t * get_onett_tag (char * f_name, char ** d_tt_buf) ;
25 int sblib_find (const char * path, const char * name, const char * f_outname) ;
26 int find_cfiles () ;
27 int split_tmp_files () ;
28 int remove_tmp_files () ;
29 EHash * bob_init_compile_env () ;
30 void setParam (char *opt) ;
31 char * name2obj (char * name) ;
32 void globalsPrint (tt_state_t * tt, char * d_out, int d_found_type) ;
33 bool validOption (char *Name) ;
34 int newPluginID () ;
35 /**/
37 /*** ./call_tags.cxx ***/
38 void call_tags_main (tt_state_t * d_tt_state, DArray * dout) ;
39 int call_tags (EArray * d_files) ;
40 int callTagsFile (char * fileName) ;
42 /*** ./cgrep.cxx ***/
43 namespace cgrep {
44 int file (tt_state_t * d_tt_state) ;
45 int cgrep (EArray * d_files) ;
48 /*** ./flist.cxx ***/
49 char * flist_iter (char * d_ptr, char * d_name, bool b_repair) ;
50 void flist_main (char * d_file) ;
52 /*** ./globals.cxx ***/
53 void globals_main (struct tt_state_t * d_tt_state, int d_type) ;
54 void bob_globals (char * d_file, int d_type) ;
56 /*** ./kinds.cxx ***/
57 int kindsFile (char * fileName, int type) ;
59 /*** ./got_structs.cxx ***/
60 void got_structs (char * d_file) ;
62 /*** ./got_tag.cxx ***/
63 int parse_regexp (char * d_file, char * S) ;
64 bool bob_tag (char *d_str, char * d_name, d_tag_t * d_tag) ;
65 EArray * got_tag (char * d_tag) ;
67 /*** ./init.cxx ***/
68 int sb_init () ;
70 /*** ./main.cxx ***/
71 int sb_prname (char *arg) ;
72 int main (int argc, char ** argv) ;
74 /*** ./make_tags.cxx ***/
75 void mk_tags (char *f_name, DArray *d_in) ;
76 void make_ctags (EArray * d_files) ;
78 /*** ./mk_tag.cxx ***/
79 char * macro_name (char * d_op, char * d_macro_name) ;
80 void mk_tag_macro (char * d_op, char * d_file, int t_line) ;
81 void mk_tag (char * d_op, char * d_file, int line, int d_found_type) ;
82 DArray * mk_tag_structtail_split (char *S) ;
83 void mk_tag_structtail (char * S, char * d_file, int t_line) ;
85 /*** ./modding.cxx ***/
86 env_t * sb_getenv (void) ;
87 char modding_optparse (int * i, int step) ;
88 int linux_modding_init () ;
89 void mods_short_info ();
91 /*** ./nogui_fdump.cxx ***/
92 bool brace_count (char * d_str, int * d_count, bool b_force_block) ;
93 void nogui_fdump (struct fdump_param_t * d_param) ;
95 /*** ./nogui_indent.cxx ***/
96 void nogui_indent () ;
98 /*** ./tags.cxx ***/
99 void tags (DArray * d_names, char * d_file_output) ;
101 /*** ./interactive.cxx ***/
102 void tags_interactive () ;
104 /*** ./t_op.cxx ***/
105 char t_op (char ** d_in, char ** d_prev, bool b_no_operators = true) ;
107 /*** ./tree.cxx ***/
108 inline bool tree_immune (char * m_fname) ;
109 void rctree_iter (char * f_name, int n_trip) ;
110 void reverse_calltree (char * f_name) ;
111 void tree_echo (int n_trip, char *S) ;
112 inline void tree_mkpos (int N) ;
113 void call_tree (char * f_name, int n_trip) ;
115 /*** ./usage.cxx ***/
116 void usage () ;
118 int opts_kinds (DArray * d_opts, int & i) ;
119 int opts_settings (DArray * d_opts, int & i) ;
120 int opts_funcs (DArray * d_opts, int & i) ;
122 /*** ./sb_prnmame.cxx **/
123 int sb_prname (char *arg) ;
125 int bob_cfiles ();
126 int logToFile (char * fileName, char * fmt, ...);