1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

Made PRDevice::Reset public for use in pinproctest and added a parameter to allow the disabled driver and switch rule structures to be written to the P-ROC.

This commit is contained in:
gstellenberg
2009-05-27 19:10:44 -05:00
parent a26a9f5ce8
commit 06442264a1
5 changed files with 39 additions and 35 deletions

View File

@@ -72,6 +72,12 @@ PR_EXPORT void PRDelete(PRHandle handle)
delete (PRDevice*)handle;
}
/** Resets internally maintained driver and switch rule structures and optionally writes those to the P-ROC device. */
PR_EXPORT void PRReset(PRHandle handle, bool updateDevice)
{
return handleAsDevice->Reset(updateDevice);
}
// Events
/** Get all of the available events that have been received. */