1: /* $Header: XAddNode.c,v 10.2 86/02/01 15:29:23 tony Rel $ */ 2: /* Copyright Massachusetts Institute of Technology 1985 */ 3: 4: #include "XlibInternal.h" 5: #ifdef DNETCONN 6: #include <netdnet/dn.h> 7: #endif 8: 9: XAddNode (node) 10: struct dn_naddr *node; 11: { 12: #ifdef DNETCONN 13: register Display *dpy; 14: register XReq *req; 15: 16: GetReq (X_AddHost, 0); 17: req->func = XAF_DECnet; 18: bcopy (node, &(req->param.l[0]), sizeof (struct dn_naddr)); 19: #endif 20: }