deprecated functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23586 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -199,7 +199,7 @@ krb5_free_error_message(krb5_context context, const char *msg)
|
||||
* @param context Kerberos context
|
||||
* @param msg error message to free
|
||||
*
|
||||
* @ingroup krb5_error
|
||||
* @ingroup krb5_deprecated
|
||||
*/
|
||||
|
||||
void KRB5_LIB_FUNCTION __attribute__((deprecated))
|
||||
@@ -208,6 +208,16 @@ krb5_free_error_string(krb5_context context, char *str)
|
||||
krb5_free_error_message(context, str);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the error message returned by krb5_get_error_string(),
|
||||
* deprecated, use krb5_set_error_message().
|
||||
*
|
||||
* @param context Kerberos context
|
||||
* @param msg error message to free
|
||||
*
|
||||
* @ingroup krb5_deprecated
|
||||
*/
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
krb5_set_error_string(krb5_context context, const char *fmt, ...)
|
||||
__attribute__((format (printf, 2, 3))) __attribute__((deprecated))
|
||||
@@ -220,6 +230,16 @@ krb5_set_error_string(krb5_context context, const char *fmt, ...)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the error message returned by krb5_get_error_string(),
|
||||
* deprecated, use krb5_set_error_message().
|
||||
*
|
||||
* @param context Kerberos context
|
||||
* @param msg error message to free
|
||||
*
|
||||
* @ingroup krb5_deprecated
|
||||
*/
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
krb5_vset_error_string(krb5_context context, const char *fmt, va_list args)
|
||||
__attribute__ ((format (printf, 2, 0))) __attribute__((deprecated))
|
||||
|
Reference in New Issue
Block a user