MPD: lib/upnp/Action.hxx File Reference

MPD 0.20.18

Functions
Action.hxx File Reference
`#include "Compiler.h"`
`#include <upnptools.h>`
Include dependency graph for Action.hxx:

Go to the source code of this file.

## Functions
static constexpr unsigned | CountNameValuePairs ()
template<typename... Args>
static constexpr unsigned | CountNameValuePairs (gcc_unused const char *name, gcc_unused const char *value, Args... args)
template<typename... Args>
static IXML_Document * | MakeActionHelper (const char *action_name, const char *service_type, Args... args)
| A wrapper for UpnpMakeAction() that counts the number of name/value pairs and adds the nullptr sentinel. More...

## Function Documentation

## ◆ CountNameValuePairs() [1/2]

static constexpr unsigned CountNameValuePairs | ( |  | ) |
| inlinestatic

Definition at line 28 of file Action.hxx.

## ◆ CountNameValuePairs() [2/2]

template<typename... Args>

static constexpr unsigned CountNameValuePairs | ( | gcc_unused const char * | name,
|  | gcc_unused const char * | value,
|  | Args... | args
| ) |  |
| inlinestatic

Definition at line 35 of file Action.hxx.

## ◆ MakeActionHelper()

template<typename... Args>

static IXML_Document* MakeActionHelper | ( | const char * | action_name,
|  | const char * | service_type,
|  | Args... | args
| ) |  |
| inlinestatic

A wrapper for UpnpMakeAction() that counts the number of name/value pairs and adds the nullptr sentinel.

Definition at line 47 of file Action.hxx.