DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T a

⟦321389e66⟧ TextFile

    Length: 827 (0x33b)
    Types: TextFile
    Names: »ap0.c«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦697af93db⟧ »EurOpenD3/network/snmp/mit-snmp.tar.Z« 
        └─⟦57bbcbe75⟧ 
            └─⟦this⟧ »./snmp/ap0.c« 
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦925ee6880⟧ »EurOpenD3/network/snmp/mit-snmp.900225.tar.Z« 
        └─⟦a4bfa469c⟧ 
            └─⟦this⟧ »./snmp/ap0.c« 

TextFile


/*
 *	$Header: ap0.c,v 1.1 89/01/11 22:08:19 jrd Exp $
 *	Author: J. Davin
 *	Copyright 1988, 1989, Massachusetts Institute of Technology
 *	See permission and disclaimer notice in file "notice.h"
 */

#include	<notice.h>

#include	<ctypes.h>
#include	<aps.h>
#include	<asn.h>


static	AsnIdType	ap0OpDecode (goodies, asn)

ApsGoodiesType		goodies;
AsnIdType		asn;

{
	goodies = goodies;
	return (asnComponent (asn, (AsnIndexType) 3));
}

static	AsnIdType	ap0OpEncode (goodies, asn)

ApsGoodiesType		goodies;
AsnIdType		asn;

{
	AsnIndexType		i;

	goodies = goodies;
	i = (AsnIndexType) 0;
	return (asnComponent (asn, i));
}

static	CBoolType	ap0OpVerify (asn)

AsnIdType		asn;

{
	asn = asn;
	return (TRUE);
}

CVoidType		ap0Init ()

{
	(void) apsScheme ((ApsNameType) "trivial",
		ap0OpVerify, ap0OpEncode, ap0OpDecode);
}