Provide better error messages for libkafs

This commit is contained in:
Love Hornquist Astrand
2009-08-30 11:10:15 -07:00
parent a9cb60d7d5
commit 54e10a2a13
3 changed files with 30 additions and 7 deletions

View File

@@ -123,6 +123,8 @@ struct kafs_data {
afslog_uid_func_t afslog_uid;
get_cred_func_t get_cred;
get_realm_func_t get_realm;
const char *(*get_error)(struct kafs_data *, int);
void (*free_error)(struct kafs_data *, const char *);
void *data;
};