|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T t
Length: 954 (0x3ba) Types: TextFile Names: »t-rfc8222uu.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« └─⟦e5a54fb17⟧ └─⟦this⟧ »pp-5.0/Chans/uucp/t-rfc8222uu.c«
/* t-rfc8222uu.c: test the rfc8222uu routine */ # ifndef lint static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Chans/uucp/RCS/t-rfc8222uu.c,v 5.0 90/09/20 15:55:32 pp Exp Locker: pp $"; # endif /* * $Header: /cs/research/pp/hubris/pp-beta/Chans/uucp/RCS/t-rfc8222uu.c,v 5.0 90/09/20 15:55:32 pp Exp Locker: pp $ * * $Log: t-rfc8222uu.c,v $ * Revision 5.0 90/09/20 15:55:32 pp * rcsforce : 5.0 public release * */ #include "util.h" #include "chan.h" CHAN *mychan; main(argc, argv) int argc; char **argv; { char *into; if (argc != 3) { printf("usage: %s host adr",argv[0]); exit(1); } sys_init(argv[0]); if ((mychan = ch_nm2struct("uucp-out")) == NULLCHAN) { printf("unable to find uucp-out channel\n"); exit(1); } if (rfc8222uu(argv[1], argv[2], &into) != OK) printf ("failed to convert '%s' at %s\n",argv[2],argv[1]); else { printf("%s at %s\n\t-> %s\n",argv[2],argv[1],into); free(into); } }