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 - download

⟦09610995b⟧ TextFile

    Length: 378 (0x17a)
    Types: TextFile
    Names: »XAddHost.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/Xlib/XAddHost.c« 

TextFile

#include <X/mit-copyright.h>

/* $Header: XAddHost.c,v 10.6 86/02/01 15:29:19 tony Rel $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/

#include "XlibInternal.h"
#include <sys/socket.h>
XAddHost (host)
	struct in_addr *host;
{
	register Display *dpy;
	register XReq *req;

	GetReq (X_AddHost, 0);
	req->func = XAF_INET;
	req->param.l[0] = host->s_addr;
}