home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dbutil.zip / BUFOP.ZIP / BUFOP.CPP next >
Text File  |  1993-10-08  |  706b  |  32 lines

  1. /*******************************************************************
  2. *
  3. *  Bufop main program
  4. *
  5. *******************************************************************/
  6.  
  7. #include "files.hpp"
  8. #include "hostvars.hpp"
  9. #include "options.hpp"
  10. #include <fstream.h>
  11.  
  12.  
  13.  
  14. int main(int argc, char* argv[])
  15.     {
  16.        IString tmp = argv[1];  //get the input file name
  17.        initSQLTypes();          // initialize the sql types
  18.        if (!setOptions(tmp,argc,argv)){
  19.           exit (1);
  20.         }
  21.  
  22.        if (argc == 1) {
  23.           cout<< "Usge: " << argv[0] << " finelname[s]\n";
  24.           exit(1);
  25.        } /* endif */
  26.         processFile(tmp); 
  27.         endBanner();
  28.         return 0;
  29. }
  30.    
  31.  
  32.