mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Reworked PRReset() and added kPRResetFlag* #defs.
This commit is contained in:
@@ -73,9 +73,9 @@ PR_EXPORT void PRDelete(PRHandle 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)
|
||||
PR_EXPORT PRResult PRReset(PRHandle handle, uint32_t resetFlags)
|
||||
{
|
||||
return handleAsDevice->Reset(updateDevice);
|
||||
return handleAsDevice->Reset(resetFlags);
|
||||
}
|
||||
|
||||
// Events
|
||||
|
||||
Reference in New Issue
Block a user