/[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 5 Revision 20
18*/ 18*/
19 19
20/* Driver program */ 20/* Driver program */
21 21
22#include "config.h" 22#include "config.h"
23#include "compat.h"
23#include <getopt.h> 24#include <getopt.h>
24#include <stdio.h> 25#include <stdio.h>
25#include <sys/stat.h> 26#include <sys/stat.h>
26#include <stdlib.h> 27#include <stdlib.h>
27 28
177 psiconv_gen_html4(f,file); 178 psiconv_gen_html4(f,file);
178 else if (! strcmp(type,"ASCII")) 179 else if (! strcmp(type,"ASCII"))
179 psiconv_gen_txt(f,file); 180 psiconv_gen_txt(f,file);
180 else if (! strcmp(type,"RTF")) 181 else if (! strcmp(type,"RTF"))
181 psiconv_gen_rtf(f,file); 182 psiconv_gen_rtf(f,file);
183 else if (! strcmp(type,"IMAGE"))
184 psiconv_gen_image(f,file);
182 else { 185 else {
183 fprintf(stderr,"Unknown output type: `%s'\n",type); 186 fprintf(stderr,"Unknown output type: `%s'\n",type);
184 exit(1); 187 exit(1);
185 } 188 }
186 189

Legend:
Removed from v.5  
changed lines
  Added in v.20

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