GUPnP.ServiceIntrospection.get_action

### Method

# GUPnP ServiceIntrospectionget_action

#### Declaration [src]

    const GUPnPServiceActionInfo*
    gupnp_service_introspection_get_action (
      GUPnPServiceIntrospection* introspection,
      const gchar* action_name
    )

#### Description [src]

Returns the action by the name `action_name` in this service.

#### Parameters

`action_name`

  Type: `const gchar*`

  The name of the action to retrieve.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `GUPnPServiceActionInfo`

The action or `NULL`. Do not modify or free it.

The returned data is owned by the instance.
The return value can be `NULL`.