Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

Typedefs | Functions

mainloop-signal.h File Reference

#include <pulse/mainloop-api.h>
#include <pulse/cdecl.h>
Include dependency graph for mainloop-signal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* pa_signal_cb_t )(pa_mainloop_api *api, pa_signal_event *e, int sig, void *userdata)
typedef void(* pa_signal_destroy_cb_t )(pa_mainloop_api *api, pa_signal_event *e, void *userdata)
typedef struct pa_signal_event pa_signal_event

Functions

void pa_signal_done (void)
void pa_signal_free (pa_signal_event *e)
int pa_signal_init (pa_mainloop_api *api)
pa_signal_eventpa_signal_new (int sig, pa_signal_cb_t callback, void *userdata)
void pa_signal_set_destroy (pa_signal_event *e, pa_signal_destroy_cb_t callback)

Detailed Description

UNIX signal support for main loops. In contrast to other main loop event sources such as timer and IO events, UNIX signal support requires modification of the global process environment. Due to this the generic main loop abstraction layer as defined in mainloop-api.h doesn't have direct support for UNIX signals. However, you may hook signal support into an abstract main loop via the routines defined herein.

Definition in file mainloop-signal.h.


Generated by  Doxygen 1.6.0   Back to index