|
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 g
Length: 1635 (0x663) Types: TextFile Names: »grind2b-4a.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/doc/manual/grind2b-4a.c« └─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/doc/manual/grind2b-4a.c«
#include <stdio.h> #include "generic.h" /* defines OPERATIONS and ERRORS */ #include <isode/rosap.h> /* e.g., "directory" */ static char *myservice = "service"; /* e.g., "directory services" */ static char *mycontext = "iso service"; static char *mypci = "service pci version m.n"; main (argc, argv, envp) int argc; char **argv, **envp; { int sd; struct SSAPref sfs; register struct SSAPref *sf; register struct PSAPaddr *pa; struct AcSAPconnect accs; register struct AcSAPconnect *acc = &accs; struct AcSAPrelease acrs; register struct AcSAPrelease *acr = &acrs; struct AcSAPindication acis; register struct AcSAPindication *aci = &acis; register struct AcSAPabort *aca = &aci -> aci_abort; struct RoSAPindication rois; register struct RoSAPpreject *rop = &rois.roi_preject; register AEI aei; register OID ctx, pci; struct PSAPctxlist pcs; register struct PSAPctxlist *pc = &pcs; if ((aei = str2aei (argv[1], myservice)) == NULLAEI) error ("%s-%s: unknown application-entity", argv[1], myservice); if ((pa = aei2addr (aei)) == NULLPA) error ("address translation failed"); if ((ctx = ode2oid (mycontext)) == NULLOID) error ("%s: unknown object descriptor", mycontext); if ((ctx = oid_cpy (ctx)) == NULLOID) error ("oid_cpy"); if ((pci = ode2oid (mypci)) == NULLOID) error ("%s: unknown object descriptor", mypci); if ((pci = oid_cpy (pci)) == NULLOID) error ("oid_cpy"); pc -> pc_nctx = 1; pc -> pc_ctx[0].pc_id = 1; pc -> pc_ctx[0].pc_asn = pci; pc -> pc_ctx[0].pc_atn = NULLOID; ...