summaryrefslogtreecommitdiff
path: root/ipc.h
blob: eb96839cdc4927d7ff81a7bd1b9ca693dbe0d259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */

/** \file ipc.h inter process communication and shared memory routines */

/** possible values for shm_attach() */
enum shm_attach_mode {ATTACH_RO, ATTACH_RW};

int mutex_new(void);
void mutex_destroy(int id);
void mutex_lock(int id);
void mutex_unlock(int id);
int shm_new(size_t size);
int shm_attach(int id, enum shm_attach_mode mode, void **result);
int shm_detach(void *addr);
int shm_destroy(int id);
int shm_size(int id, size_t *result);
size_t shm_get_shmmax(void);
href='/cgit/paraslash/commit/interactive.h?h=v0.7.0&id=367daa451bd837c3e267c8385bbc92898f06ecca&follow=1'>client: Implement interactive mode.Andre Noll 2011-11-20string: Introduce compute_word_num().Andre Noll 2011-11-20configure: Introduce checks for libreadline.Andre Noll 2011-11-20client: Split client_open() and client_close().Andre Noll 2011-11-20sched: Allow more than one running scheduler instance.Andre Noll 2011-11-20Teach command_util to print also completions.Andre Noll 2011-11-20Allow switching between different log methods at runtime.Andre Noll 2011-11-20command_util: Fix quoting in template_loop().Andre Noll 2011-11-17Compilation fix for FreeBSD.Andre Noll 2011-11-13doc: Add flac documentation to manual and FEATURES.Andre Noll 2011-11-13Implement the flac decoding filter.Andre Noll 2011-11-13Implement the flac audio format handler.Andre Noll 2011-11-13Initial support for FLAC (the free lossless audio codec).Andre Noll 2011-11-13btr: Introduce btr_next_buffer_omit().Andre Noll 2011-11-13Make vorbis comment helper functions generic.Andre Noll 2011-11-13Calculate width of audio formats in ls output.Andre Noll 2011-11-13stdin: Increase input buffer.Andre Noll 2011-11-13daemon: Introduce parent_waits flag for daemonize().Andre Noll 2011-11-13Revert "server: Listen on command socket before daemonizing."Andre Noll 2011-11-12vss: Avoid read-overflowing the header buffer for ogg streams.Andre Noll 2011-11-11vss: Don't prefault header.Andre Noll 2011-11-06com_lsblob: Print an error message if no blob matched.Andre Noll 2011-11-06com_ls: Print an error message if no file matched.Andre Noll 2011-11-06catblob: Fix "no matches" message.Andre Noll 2011-11-06afs: Make catblob commands print an error if no blob matched.Andre Noll 2011-11-06afs: Provide generic counter for matching rows.Andre Noll 2011-11-02web: Rework text on download page.Andre Noll 2011-11-01http_recv: Fill both buffer pool buffers simultaneously.Andre Noll 2011-11-01recv: Make ->btrp and ->fd generic.Andre Noll 2011-10-18alsa: Improve error diagnostics.Andre Noll 2011-10-18alsa: Make two variables local to alsa_init().Andre Noll 2011-10-18alsa: Dump the configuration on startup.Andre Noll 2011-10-18alsa: Avoid busy loop with dmix.Andre Noll 2011-10-18Makefile: Remove unused variable man_pages_in.Andre Noll 2011-10-18Makefile: Drop dependencies on *_command_list.[ch].Andre Noll