|
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: 1091 (0x443) Types: TextFile Names: »grindB-2.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/doc/manual/grindB-2.c« └─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/doc/manual/grindB-2.c«
#include <stdio.h> #include "generic.h" /* defines OPERATIONS and ERRORS */ #include <isode/rosap.h> #include <isode/isoservent.h> int ros_indications (); main (argc, argv, envp) int argc; char **argv, **envp; { int result, sd; struct RoSAPstart ross; register struct RoSAPstart *ros = &ross; struct RoSAPindication rois; register struct RoSAPindication *roi = &rois; register struct RoSAPpreject *rop = &roi -> roi_preject; if (RoInit (argc, argv, ros, roi) == NOTOK) error ("initialization fails: %s", RoErrString (rop -> rop_reason)); sd = ros -> ros_sd; /* do authentication using ros -> ros_data here... */ ROSFREE (ros); /* read command line arguments here... */ /* could use ROS_VALIDATE or ROS_BUSY instead and then exit */ if (RoBeginResponse (sd, ROS_ACCEPT, NULLPE, roi) == NOTOK) error ("RO-BEGIN.RESPONSE: %s", RoErrString (rop -> rop_reason)); if (RoSetIndications (sd, ros_indication, roi) == NOTOK) error ("RoSetIndications: %s", RoErrString (rop -> rop_reason)); for (;;) pause (); }