Fixes
[opsoft.git] / silentbob / include / proto.h
blobecdda6180ff36ce86a01f4f7445667a05bc1a077
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 char * ruby_last_word (char * op) ;
24 int words_count (char *S) ;
25 struct tt_state_t * get_onett_tag (char * f_name, char ** d_tt_buf) ;
26 int sblib_find (const char * path, const char * name, const char * f_outname) ;
27 int find_cfiles () ;
28 int split_tmp_files () ;
29 int remove_tmp_files () ;
30 EHash * bob_init_compile_env () ;
31 void setParam (char *opt) ;
32 char * name2obj (char * name) ;
33 void globalsPrint (tt_state_t * tt, char * d_out, int d_found_type) ;
34 bool validOption (char *Name) ;
35 int newPluginID () ;
36 /**/
38 /*** ./call_tags.cxx ***/
39 void call_tags_main (tt_state_t * d_tt_state, DArray * dout) ;
40 int call_tags (EArray * d_files) ;
41 int callTagsFile (char * fileName) ;
43 /*** ./cgrep.cxx ***/
44 namespace cgrep {
45 int file (tt_state_t * d_tt_state) ;
46 int cgrep (EArray * d_files) ;
49 /*** ./flist.cxx ***/
50 char * flist_iter (char * d_ptr, char * d_name, bool b_repair) ;
51 void flist_main (char * d_file) ;
53 /*** ./globals.cxx ***/
54 void globals_main (struct tt_state_t * d_tt_state, int d_type) ;
55 void bob_globals (char * d_file, int d_type) ;
57 /*** ./kinds.cxx ***/
58 int kindsFile (char * fileName, int type) ;
60 /*** ./got_structs.cxx ***/
61 void got_structs (char * d_file) ;
63 /*** ./got_tag.cxx ***/
64 int parse_regexp (char * d_file, char * S) ;
65 bool bob_tag (char *d_str, char * d_name, d_tag_t * d_tag) ;
66 EArray * got_tag (char * d_tag) ;
68 /*** ./init.cxx ***/
69 int sb_init () ;
71 /*** ./main.cxx ***/
72 int sb_prname (char *arg) ;
73 int main (int argc, char ** argv) ;
75 /*** ./make_tags.cxx ***/
76 void mk_tags (char *f_name, DArray *d_in) ;
77 void make_ctags (EArray * d_files) ;
79 /*** ./mk_tag.cxx ***/
80 char * macro_name (char * d_op, char * d_macro_name) ;
81 void mk_tag_macro (char * d_op, char * d_file, int t_line) ;
82 void mk_tag (char * d_op, char * d_file, int line, int d_found_type) ;
83 DArray * mk_tag_structtail_split (char *S) ;
84 void mk_tag_structtail (char * S, char * d_file, int t_line) ;
86 /*** ./modding.cxx ***/
87 env_t * sb_getenv (void) ;
88 char modding_optparse (int * i, int step) ;
89 int linux_modding_init () ;
90 void mods_short_info ();
92 /*** ./nogui_fdump.cxx ***/
93 bool brace_count (char * d_str, int * d_count, bool b_force_block) ;
94 void nogui_fdump (struct fdump_param_t * d_param) ;
96 /*** ./nogui_indent.cxx ***/
97 void nogui_indent () ;
99 /*** ./tags.cxx ***/
100 void tags (DArray * d_names, char * d_file_output) ;
102 /*** ./interactive.cxx ***/
103 void tags_interactive () ;
105 /*** ./t_op.cxx ***/
106 char t_op (char ** d_in, char ** d_prev, bool b_no_operators = true) ;
108 /*** ./tree.cxx ***/
109 inline bool tree_immune (char * m_fname) ;
110 void rctree_iter (char * f_name, int n_trip) ;
111 void reverse_calltree (char * f_name) ;
112 void tree_echo (int n_trip, char *S) ;
113 inline void tree_mkpos (int N) ;
114 void call_tree (char * f_name, int n_trip) ;
116 /*** ./usage.cxx ***/
117 void usage () ;
119 int opts_kinds (DArray * d_opts, int & i) ;
120 int opts_settings (DArray * d_opts, int & i) ;
121 int opts_funcs (DArray * d_opts, int & i) ;
123 /*** ./sb_prnmame.cxx **/
124 int sb_prname (char *arg) ;
126 int bob_cfiles ();
127 int logToFile (char * fileName, char * fmt, ...);