control.h: adjust jackctl_setup_signals() to return jackctl_sigmask_t pointer

This is backport from JACK2 of portability adjustment of the control api
This commit is contained in:
Nedko Arnaudov 2023-07-22 16:56:22 +03:00
parent 39f7a352f5
commit a98cc51324
1 changed files with 4 additions and 1 deletions

View File

@ -78,6 +78,9 @@ extern "C" {
} /* Adjust editor indent */
#endif
/** opaque type for sigmask object */
typedef struct jackctl_sigmask jackctl_sigmask_t;
/**
* @defgroup ControlAPI the API for starting and controlling a JACK server
* @{
@ -92,7 +95,7 @@ extern "C" {
*
* @return the configurated signal set.
*/
sigset_t
jackctl_sigmask_t *
jackctl_setup_signals(
unsigned int flags);