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 g

⟦f3b322e71⟧ TextFile

    Length: 910 (0x38e)
    Types: TextFile
    Names: »grind2a-2a.c«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/doc/manual/grind2a-2a.c« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/doc/manual/grind2a-2a.c« 

TextFile

#include <stdio.h>
#include "generic.h"		/* defines OPERATIONS and ERRORS */
#include <isode/rosap.h>
#include <isode/tsap.h>		/* for listening */
#include <setjmp.h>


static char *myservice = "service";

static jmp_buf toplevel;


int	ros_init (), ros_work (), ros_lose ();


main (argc, argv, envp)
int	argc;
char  **argv,
      **envp;
{
    AEI	    aei;
    struct TSAPdisconnect tds;
    register struct TSAPdisconnect *td = &tds;

    if ((aei = str2aei (PLocalHostName (), myservice)) == NULLAEI)
	fatal ("unknown application-entity: %s-%s", PLocalHostName (),
		myservice);

    if (isodeserver (argc, argv, aei, ros_init, ros_work, ros_lose, td)
	    == NOTOK) {
	if (td -> td_cc > 0)
	    fatal ("isodeserver: [%s] %*.*s", TErrString (td -> td_reason),
		    td -> td_cc, td -> td_cc, td -> td_data);
	else
	    fatal ("isodeserver: [%s]", TErrString (td -> td_reason));
    }

    exit (0);
}

...