mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 16:30:04 +01:00
Properly apply versioned symbols in library and fix problems uncovered
by doing that:-) git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@124 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -35,7 +35,7 @@ int crypt_init_by_name(struct crypt_device **cd, const char *name);
|
||||
/**
|
||||
* Set log function.
|
||||
*
|
||||
* @cd - crypt device handle
|
||||
* @cd - crypt device handle (can be NULL to set default log function)
|
||||
* @usrptr - provided identification in callback
|
||||
* @class - log type below (debug messages can uses other levels)
|
||||
* @msg - log message
|
||||
@@ -47,6 +47,15 @@ void crypt_set_log_callback(struct crypt_device *cd,
|
||||
void (*log)(int class, const char *msg, void *usrptr),
|
||||
void *usrptr);
|
||||
|
||||
/**
|
||||
* Log message through log function.
|
||||
*
|
||||
* @cd - crypt device handle
|
||||
* @class - log type
|
||||
* @msg - log message
|
||||
*/
|
||||
void crypt_log(struct crypt_device *cd, int class, const char *msg);
|
||||
|
||||
/**
|
||||
* Set confirmation callback (yes/no)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user