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:
Milan Broz
2009-09-30 15:07:41 +00:00
parent 5ca9cfde59
commit 8bec41ab34
8 changed files with 80 additions and 39 deletions

View File

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