home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <time.h>
- #include "uucpbase.h"
- #include "uucpproto.h"
-
- struct UUCPBase *UUCPBase;
-
- void main(void)
- {
- struct tm *tm;
- long fh;
-
- char *haha;
- char buf[80];
-
- if((UUCPBase = (struct UUCPBase *)OpenLibrary("amigauucpplus.library", 0)) != NULL)
- {
- /*
- printf("%s\n", FindConfig(ORGANIZATION));
- printf("%s\n", GetConfig(USERNAME, "lala"));
- printf("%s\n", GetConfig("sabber", "nix wars"));
- printf("%s\n", GetConfigDir(UUSPOOL));
- printf("%s\n", MakeConfigPath(UULIB, "news/sys"));
- */
-
- CompressFile("tmp", 12);
-
- // DeCompressFile("tmp.Z");
-
- CloseLibrary((struct Library *)UUCPBase);
- }
- else
- printf("Konnte Library nicht ÷ffnen!\n");
- }
-