1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XAddHost.c,v 10.6 86/02/01 15:29:19 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: #include <sys/socket.h>
   8: XAddHost (host)
   9:     struct in_addr *host;
  10: {
  11:     register Display *dpy;
  12:     register XReq *req;
  13: 
  14:     GetReq (X_AddHost, 0);
  15:     req->func = XAF_INET;
  16:     req->param.l[0] = host->s_addr;
  17: }

Defined functions

XAddHost defined in line 8; used 1 times
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 535
Valid CSS Valid XHTML 1.0 Strict