1 2 3 4 5 6 7 8 9 10 11
typedef struct { int licensed; } __pmPDUInfo; void __pmDecodeXtendError (int *); void do_handshake(void) { __pmPDUInfo *pduinfo; int challenge; __pmDecodeXtendError(&challenge); pduinfo = (__pmPDUInfo *)&challenge; *pduinfo = *pduinfo; }