1
2
3
4
5
6
7
8
9
10
11
12
struct {
    bool (*get_aa_size)(int *width, int *height);
    bool used;
} albumart_slots[MAX_MULTIPLE_AA+1];

/* only used in claim_aa_slot() to pass get_aa_size() and slot number around */
struct for_claim_aa_slot
{
    typeof(albumart_slots[0].get_aa_size) func;
    int slot;
};