4.3BSD/usr/contrib/X/Xlib/XAddNode.c

Compare this file to the similar file:
Show the results in this format:

/* $Header: XAddNode.c,v 10.2 86/02/01 15:29:23 tony Rel $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/
 
#include "XlibInternal.h"
#ifdef DNETCONN
#include <netdnet/dn.h>
#endif
 
XAddNode (node)
	struct dn_naddr *node;
{
#ifdef DNETCONN
	register Display *dpy;
	register XReq *req;
 
	GetReq (X_AddHost, 0);
	req->func = XAF_DECnet;
	bcopy (node, &(req->param.l[0]), sizeof (struct dn_naddr));
#endif
}