From Lite2: change code parameter to u_long and initialize ps_sig. Reviewed by:	davidg & bde
From Lite2: change code parameter to u_long and initialize ps_sig.
Reviewed by:	davidg & bde

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase