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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user