Add npupnp support
libnpupnp is a C++ modification of libupnp. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:

committed by
Rosen Penev

parent
a7ba10423d
commit
e960626804
@@ -38,6 +38,7 @@ CountNameValuePairs([[maybe_unused]] const char *name, [[maybe_unused]] const ch
|
||||
return 1 + CountNameValuePairs(args...);
|
||||
}
|
||||
|
||||
#ifdef USING_PUPNP
|
||||
/**
|
||||
* A wrapper for UpnpMakeAction() that counts the number of name/value
|
||||
* pairs and adds the nullptr sentinel.
|
||||
@@ -52,5 +53,6 @@ MakeActionHelper(const char *action_name, const char *service_type,
|
||||
args...,
|
||||
nullptr, nullptr);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user