mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
Write a newline to the fd in the PIPEWIRE_PULSE_NOTIFICATION_FD env variable when set. This is to implement readiness notification as suggested in https://skarnet.org/software/s6/notifywhenup.html Fixes #4347
21 lines
554 B
C
21 lines
554 B
C
/* PipeWire */
|
|
/* SPDX-FileCopyrightText: Copyright © 2020 Wim Taymans */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef PULSE_SERVER_UTILS_H
|
|
#define PULSE_SERVER_UTILS_H
|
|
|
|
#include <stddef.h>
|
|
#include <sys/types.h>
|
|
|
|
struct client;
|
|
struct pw_context;
|
|
|
|
int get_runtime_dir(char *buf, size_t buflen);
|
|
int check_flatpak(struct client *client, pid_t pid);
|
|
pid_t get_client_pid(struct client *client, int client_fd);
|
|
const char *get_server_name(struct pw_context *context);
|
|
int create_pid_file(void);
|
|
int notify_startup(void);
|
|
|
|
#endif /* PULSE_SERVER_UTILS_H */
|