/[global]/global/htags/htags.c
ViewVC logotype

Diff of /global/htags/htags.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by shigio, Sat Oct 2 08:08:38 2004 UTC revision 1.23 by shigio, Sun Oct 17 10:11:35 2004 UTC
# Line 83  char *tmpdir = "/tmp"; Line 83  char *tmpdir = "/tmp";
83  /*  /*
84   * options   * options
85   */   */
86  int aflag;  int aflag;                              /* --alphabet(-a) option        */
87  int cflag;  int cflag;                              /* --compact(-c) option         */
88  int fflag;  int fflag;                              /* --form(-f) option            */
89  int Fflag;  int Fflag;                              /* --frame(-F) option           */
90  int nflag;  int nflag;                              /* --line-number(-n) option     */
91  int gflag;  int gflag;                              /* --gtags(-g) option           */
92  int Sflag;  int Sflag;                              /* --secure-cgi(-S) option      */
93  int qflag;  int qflag;
94  int vflag;  int vflag;                              /* --verbose(-v) option         */
95  int wflag;  int wflag;                              /* --warning(-w) option         */
96  int debug;  int debug;                              /* --debug option               */
97    
98  int show_help;                          /* --help command               */  int show_help;                          /* --help command               */
99  int show_version;                       /* --version command            */  int show_version;                       /* --version command            */
# Line 259  clean() Line 259  clean()
259          unload_gpath();          unload_gpath();
260          cache_close();          cache_close();
261  }  }
262    /*
263     * Signal handler.
264     *
265     * This handler is set up in signal_setup().
266     */
267  static void  static void
268  suddenly(signo)  suddenly(signo)
269          int signo;          int signo;
# Line 269  suddenly(signo) Line 274  suddenly(signo)
274          exit(1);          exit(1);
275  }  }
276    
277    /*
278     * Setup signal hander.
279     */
280  static void  static void
281  signal_setup()  signal_setup()
282  {  {
# Line 282  signal_setup() Line 290  signal_setup()
290  #endif  #endif
291  }  }
292    
293    /*
294     * generate_file: generate file with replacing macro.
295     *
296     *      i)      dist    directory where the file should be created
297     *      i)      file    file name
298     */
299  static void  static void
300  generate_file(dist, file)  generate_file(dist, file)
301          char *dist;          char *dist;
# Line 350  makeprogram(cgidir, file) Line 364  makeprogram(cgidir, file)
364  {  {
365          generate_file(cgidir, file);          generate_file(cgidir, file);
366  }  }
367    /*
368     * makebless: make bless.sh file.
369     */
370  static void  static void
371  makebless(file)  makebless(file)
372          char *file;          char *file;
# Line 359  makebless(file) Line 376  makebless(file)
376          generate_file(distpath, file);          generate_file(distpath, file);
377          action = save;          action = save;
378  }  }
379    /*
380     * makeghtml: make ghtml.cgi file.
381     *
382     *      i)      cgidir  directory where the file should be created
383     *      i)      file    file name
384     */
385  static void  static void
386  makeghtml(cgidir, file)  makeghtml(cgidir, file)
387          char *cgidir;          char *cgidir;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26