/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: February 21, 1992 9:29:22 pm PST */ /* C2C version: October 16, 1990 (native) */ /* ref-counting: off */ /* file: XNSImpl, module: XNSImpl */ /* switches: bcfhklnouw */ #include #include #define XRM_BITAND(x, y) (((word)(x)) & ((word)(y))) static char versionStamp[] = "@(#)mob_version [1958439282,1016290241] XNSImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef struct {word f0, f1;} W2; typedef W2 *W2Pt; #define SOURCE(p, l) /* source p, l */ static void NoName_Q240(); static void XNSImpl_P0(); static void GetThisHost_P60(); static word IsMulticastHost_P120(); static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\164\273\151\162\300\074\223\133\301\100\164\000\000"}; static struct {unsigned f; char r[16];} string2 = {851984, "\257\300\011\071\113\334\300\244\027\111\067\100\150\000\000"}; static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\350\273\366\267\300\017\164\046\072\100\150\000\000"}; static struct { word f0[4]; word f4; word f5; word f6; word f7; word f8; word f9[3]; } globalframe = { {0}, (word) IsMulticastHost_P120, 0, (word) GetThisHost_P60, 0, (word) XNSImpl_P0, {0} }; static void NoName_Q240() { register ptr gf_c014 = (ptr) &globalframe; word var_c3776; (void) XR_DeclareGlobalFrame((word) "XNSImpl", &globalframe, (word) XR_GetTypeIndexS((word) (&string1)), (word) (( (bPt) gf_c014)+32) /* var_c3648 */ ); var_c3776 = (word) XR_ImportInterface((word) "ProcessorFace", (word) XR_GetTypeIndexS((word) (&string2)), 5); (* (( (ptr) gf_c014)+10)/* var_c3680 */ ) = var_c3776; var_c3776 = (word) XR_ExportInterface((word) "XNS", (word) XR_GetTypeIndexS((word) (&string3)), 2); (* (( (ptr) gf_c014)+11)/* var_c3808 */ ) = var_c3776; (void) XR_ExportProcS(var_c3776, (word) (( (bPt) gf_c014)+24)/* var_c3616 */ , 134217728); (void) XR_ExportProcS(var_c3776, (word) (( (bPt) gf_c014)+16)/* var_c3584 */ , 67633409); } static void XNSImpl_P0(formal_c08, formal_c07) word formal_c08; word formal_c07; { /* XNSImpl: */ } static void GetThisHost_P60(formal_c011) word formal_c011; { register ptr gf_c3840 = (ptr) &globalframe; W2 var_c2632; /* GetThisHost: */ SOURCE(113, 103) SOURCE(169, 47) SOURCE(171, 43) var_c2632 = (* (W2Pt) (* (( (ptr) (* (( (ptr) gf_c3840)+10)/* var_c3680 */ ))+4) ) ); /* removed tail goto */ (* (W2Pt) formal_c011 ) = var_c2632; return; } static word IsMulticastHost_P120(host_v2692) W2 host_v2692; { word var_c2736; /* IsMulticastHost: */ SOURCE(223, 105) SOURCE(288, 40) return(((word) XRM_BITAND((* (bPt) &host_v2692 ), 1) != 0)); } /* file: XNSImpl, module: XNSImpl, compiled at: February 21, 1992 9:29:21 pm PST */ extern void XR_install_XNSImpl() { NoName_Q240(); } extern void XR_run_XNSImpl() { XR_Start(&globalframe); }