/[public]/psiconv/trunk/program/psiconv/psiconv.c
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/psiconv.c

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

Revision 53 Revision 61
34 34
35#ifdef IMAGEMAGICK 35#ifdef IMAGEMAGICK
36#include <magick/magick.h> 36#include <magick/magick.h>
37#endif 37#endif
38 38
39#include "data.h" 39#include "psiconv/data.h"
40#include "parse.h" 40#include "psiconv/parse.h"
41#include "gen.h" 41#include "gen.h"
42#include "psiconv.h" 42#include "psiconv.h"
43 43
44static void print_help(void); 44static void print_help(void);
45static void print_version(void); 45static void print_version(void);
113 int c,i,res; 113 int c,i,res;
114 psiconv_buffer buf; 114 psiconv_buffer buf;
115 psiconv_file file; 115 psiconv_file file;
116 psiconv_fileformat ff; 116 psiconv_fileformat ff;
117 117
118 fileformat_list = psiconv_list_new(sizeof(struct psiconv_fileformat)); 118 fileformat_list = psiconv_list_new(sizeof(struct psiconv_fileformat_s));
119 init_txt(); 119 init_txt();
120 init_html(); 120 init_html();
121 init_html4(); 121 init_html4();
122 init_rtf(); 122 init_rtf();
123 init_image(); 123 init_image();
131 case 'V': print_version(); exit(0); 131 case 'V': print_version(); exit(0);
132 case 'v': if (psiconv_verbosity < PSICONV_VERB_PROGRESS) 132 case 'v': if (psiconv_verbosity < PSICONV_VERB_PROGRESS)
133 psiconv_verbosity = PSICONV_VERB_PROGRESS; 133 psiconv_verbosity = PSICONV_VERB_PROGRESS;
134 break; 134 break;
135 case 'd': psiconv_verbosity = PSICONV_VERB_DEBUG; break; 135 case 'd': psiconv_verbosity = PSICONV_VERB_DEBUG; break;
136 case 's': psiconv_verbosity = PSICONV_VERB_SILENT; break; 136 case 's': psiconv_verbosity = PSICONV_VERB_FATAL; break;
137 case 'e': exact = 1; break; 137 case 'e': exact = 1; break;
138 case 'o': outputfilename = strdup(optarg); break; 138 case 'o': outputfilename = strdup(optarg); break;
139 case 'T': type = strdup(optarg); break; 139 case 'T': type = strdup(optarg); break;
140 case '?': case ':': fputs("Try `-h' for more information\n",stderr); 140 case '?': case ':': fputs("Try `-h' for more information\n",stderr);
141 exit(1); 141 exit(1);

Legend:
Removed from v.53  
changed lines
  Added in v.61

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26