|
Dunst
Lightweight notification daemon
|
#include <cairo/cairo.h>#include <errno.h>#include <fcntl.h>#include <sys/mman.h>#include <time.h>#include <unistd.h>#include <wayland-client.h>#include <string.h>#include "pool-buffer.h"
Include dependency graph for pool-buffer.c:Go to the source code of this file.
Macros | |
| #define | _POSIX_C_SOURCE 200112L |
Functions | |
| static void | randname (char *buf) |
| static int | anonymous_shm_open (void) |
| static int | create_shm_file (off_t size) |
| static void | buffer_handle_release (void *data, struct wl_buffer *wl_buffer) |
| static struct pool_buffer * | create_buffer (struct wl_shm *shm, struct pool_buffer *buf, int32_t width, int32_t height) |
| void | finish_buffer (struct pool_buffer *buffer) |
| struct pool_buffer * | get_next_buffer (struct wl_shm *shm, struct pool_buffer pool[static 2], uint32_t width, uint32_t height) |
Variables | |
| static const struct wl_buffer_listener | buffer_listener |
Definition in file pool-buffer.c.
| #define _POSIX_C_SOURCE 200112L |
Definition at line 8 of file pool-buffer.c.
|
static |
Definition at line 30 of file pool-buffer.c.
|
static |
Definition at line 63 of file pool-buffer.c.
|
static |
Definition at line 72 of file pool-buffer.c.
|
static |
Definition at line 49 of file pool-buffer.c.
| void finish_buffer | ( | struct pool_buffer * | buffer | ) |
Definition at line 113 of file pool-buffer.c.
| struct pool_buffer * get_next_buffer | ( | struct wl_shm * | shm, |
| struct pool_buffer | pool[static 2], | ||
| uint32_t | width, | ||
| uint32_t | height ) |
Definition at line 132 of file pool-buffer.c.
|
static |
Definition at line 20 of file pool-buffer.c.
|
static |
Definition at line 68 of file pool-buffer.c.