|
|
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 r
Length: 967 (0x3c7)
Types: TextFile
Names: »rfc2trace.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z«
└─⟦e5a54fb17⟧
└─⟦this⟧ »pp-5.0/Lib/format/rfc2trace.c«
/* rfc2trace.c - Converts a RFC string into a Trace struct */
# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Lib/format/RCS/rfc2trace.c,v 5.0 90/09/20 16:05:55 pp Exp Locker: pp $";
# endif
/*
* $Header: /cs/research/pp/hubris/pp-beta/Lib/format/RCS/rfc2trace.c,v 5.0 90/09/20 16:05:55 pp Exp Locker: pp $
*
* $Log: rfc2trace.c,v $
* Revision 5.0 90/09/20 16:05:55 pp
* rcsforce : 5.0 public release
*
*/
#include "util.h"
#include "mta.h"
/* --------------------- Begin Routines -------------------------------- */
int rfc2trace (tp, str)
Trace *tp;
char *str;
{
char *cp = str,
*bp = str;
PP_DBG (("Lib/rfc2trace (%s)", str));
cp = index (str, ';');
if (cp == NULLCP)
return NOTOK;
else
*cp++ = '\0';
if (*cp == ' ')
cp++;
if (rfc2globalid (&tp->trace_DomId, bp) == NOTOK)
return NOTOK;
if (rfc2domsinfo (&tp->trace_DomSinfo, cp) == NOTOK)
return NOTOK;
return OK;
}