1
0
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:
Adam Preble
2009-05-27 21:29:18 -04:00
parent 1c70e5235f
commit b3b1298d23
5 changed files with 19 additions and 13 deletions

View File

@@ -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