mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: use pid_t where appropriate
Instead of `int`, use the `pid_t` type to represent process identifiers.
This commit is contained in:
parent
2d27497045
commit
627ef37a77
3 changed files with 8 additions and 6 deletions
|
|
@ -26,13 +26,14 @@
|
|||
#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, const char *dir);
|
||||
int check_flatpak(struct client *client, int pid);
|
||||
int get_client_pid(struct client *client, int client_fd);
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue