<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def model_funcpointers(vk, model):
 """Fill the model with function pointer model['funcpointers'] = {'pfn_name': 'struct_name'} """

    model['funcpointers'] = {}

    funcs = [x for x in vk['registry']['types']['type']
             if x.get('@category') == 'funcpointer']
    structs = [x for x in vk['registry']['types']['type']
               if x.get('@category') == 'struct']

    for f in funcs:
        pfn_name = f['name']
        for s in structs:
            if 'member' not in s:
                continue

            for m in s['member']:
                if m['type'] == pfn_name:
                    struct_name = s['@name']
        model['funcpointers'][pfn_name] = struct_name