home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / auucp+-1.02 / fuucp_plus_src.lzh / uucplib / test.bak < prev    next >
Encoding:
Text File  |  1991-04-14  |  729 b   |  36 lines

  1. #include <stdio.h>
  2. #include <time.h>
  3. #include "uucpbase.h"
  4. #include "uucpproto.h"
  5.  
  6. struct UUCPBase *UUCPBase;
  7.  
  8. void main(void)
  9. {
  10.   struct tm *tm;
  11.   long fh;
  12.  
  13.   char *haha;
  14.   char buf[80];
  15.  
  16.   if((UUCPBase = (struct UUCPBase *)OpenLibrary("amigauucpplus.library", 0)) != NULL)
  17.   {
  18. /*
  19.     printf("%s\n", FindConfig(ORGANIZATION));
  20.     printf("%s\n", GetConfig(USERNAME, "lala"));
  21.     printf("%s\n", GetConfig("sabber", "nix wars"));
  22.     printf("%s\n", GetConfigDir(UUSPOOL));
  23.     printf("%s\n", MakeConfigPath(UULIB, "news/sys"));
  24. */
  25.  
  26.     CompressFile("tmp", 12);
  27.     CompressFile("tmp2", 14);
  28.  
  29. //    DeCompressFile("tmp.Z");
  30.  
  31.     CloseLibrary((struct Library *)UUCPBase);
  32.   }
  33.   else
  34.     printf("Konnte Library nicht ÷ffnen!\n");
  35. }
  36.