This is passwd.c in view mode; [Download] [Up]
/* passwd.c generated from passwd.psw by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989 */ #include <dpsclient/dpsfriends.h> #include <string.h> #line 1 "passwd.psw" /* * Filename: passwd.psw * Created : Sat Jan 4 20:53:08 1992 * Author : Vince DeMarco * <vince@whatnxt.cuc.ab.ca> */ #line 16 "passwd.c" void setWindowLevel(int windowNum, int level) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; DPSBinObjGeneric obj3; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 4, 36, {DPS_LITERAL|DPS_INT, 0, 0, 0}, /* param: level */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, /* param: windowNum */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 212}, /* execuserobject */ {DPS_EXEC|DPS_NAME, 0, 0, 0}, /* setwindowlevel */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; static long int _dpsCodes[1] = {-1}; { if (_dpsCodes[0] < 0) { static const char * const _dps_names[] = { "setwindowlevel"}; long int *_dps_nameVals[1]; _dps_nameVals[0] = &_dpsCodes[0]; DPSMapNames(_dpsCurCtxt, 1, _dps_names, _dps_nameVals); } } _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[1].val.integerVal = windowNum; _dpsP[0].val.integerVal = level; _dpsP[3].val.nameVal = _dpsCodes[0]; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,36); } #line 12 "passwd.psw"
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.