def METHOD_NAME(typ: QAPISchemaObjectType) -> str:
    """
    Generate a struct variable holding the event parameters.
    Initialize it with the function arguments defined in `gen_event_send`.
    """
    assert not typ.variants
    ret = mcgen('''
    %(c_name)s param = {