mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Added PRGetLastErrorText().
This commit is contained in:
@@ -77,12 +77,14 @@ typedef enum PRLogLevel {
|
||||
kPRLogWarning,
|
||||
kPRLogError
|
||||
} PRLogLevel;
|
||||
|
||||
|
||||
typedef void (*PRLogCallback)(PRLogLevel level, const char *text); /**< Function pointer type for a custom logging callback. See: PRLogSetCallback(). */
|
||||
PR_EXPORT void PRLogSetCallback(PRLogCallback callback); /**< Replaces the default logging handler with the given callback function. */
|
||||
|
||||
PR_EXPORT void PRLogSetLevel(PRLogLevel level);
|
||||
|
||||
PR_EXPORT const char *PRGetLastErrorText();
|
||||
|
||||
/**
|
||||
* @defgroup device Device Creation & Deletion
|
||||
* @{
|
||||
|
||||
Reference in New Issue
Block a user