diff -r 457cf0339c09 -r 234429bac6b5 src/request.h --- a/src/request.h Thu Feb 19 00:00:37 2004 +0000 +++ b/src/request.h Thu Feb 19 07:25:31 2004 +0000 @@ -154,6 +154,8 @@ GaimAccount *account; gboolean show_all; + GaimFilterAccountFunc filter_func; + } account; } u; @@ -995,6 +997,18 @@ gboolean show_all); /** + * Sets the account filter function in an account field. + * + * This function will determine which accounts get displayed and which + * don't. + * + * @param field The account field. + * @param filter_func The account filter function. + */ +void gaim_request_field_account_set_filter(GaimRequestField *field, + GaimFilterAccountFunc filter_func); + +/** * Returns the default account in an account field. * * @param field The field. @@ -1026,6 +1040,19 @@ gboolean gaim_request_field_account_get_show_all( const GaimRequestField *field); +/** + * Returns the account filter function in an account field. + * + * This function will determine which accounts get displayed and which + * don't. + * + * @param field The account field. + * + * @return The account filter function. + */ +GaimFilterAccountFunc gaim_request_field_account_get_filter( + const GaimRequestField *field); + /*@}*/ /**************************************************************************/