int eth32_get_counter_rollover(eth32 handle, int counter, int *rollover);
This function retrieves the currently configured rollover point for the specified counter. Please see the eth32_set_counter_rollover function for more information about counter rollover thresholds.
handle - The value returned by the eth32_open function.
counter - Specifies the counter number (0 or 1).
rollover - Pointer to a variable which will receive the current rollover threshold for the specified counter.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.