#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include "wayland-util.h"
#include "wayland-private.h"
WL_EXPORT void
wl_list_init(struct wl_list *list)
{ … }
WL_EXPORT void
wl_list_insert(struct wl_list *list, struct wl_list *elm)
{ … }
WL_EXPORT void
wl_list_remove(struct wl_list *elm)
{ … }
WL_EXPORT int
wl_list_length(const struct wl_list *list)
{ … }
WL_EXPORT int
wl_list_empty(const struct wl_list *list)
{ … }
WL_EXPORT void
wl_list_insert_list(struct wl_list *list, struct wl_list *other)
{ … }
WL_EXPORT void
wl_array_init(struct wl_array *array)
{ … }
WL_EXPORT void
wl_array_release(struct wl_array *array)
{ … }
WL_EXPORT void *
wl_array_add(struct wl_array *array, size_t size)
{ … }
WL_EXPORT int
wl_array_copy(struct wl_array *array, struct wl_array *source)
{ … }
int
wl_interface_equal(const struct wl_interface *a, const struct wl_interface *b)
{ … }
map_entry;
static inline bool
map_entry_is_free(union map_entry entry)
{ … }
static inline void *
map_entry_get_data(union map_entry entry)
{ … }
static inline uint32_t
map_entry_get_flags(union map_entry entry)
{ … }
void
wl_map_init(struct wl_map *map, uint32_t side)
{ … }
void
wl_map_release(struct wl_map *map)
{ … }
uint32_t
wl_map_insert_new(struct wl_map *map, uint32_t flags, void *data)
{ … }
int
wl_map_insert_at(struct wl_map *map, uint32_t flags, uint32_t i, void *data)
{ … }
int
wl_map_reserve_new(struct wl_map *map, uint32_t i)
{ … }
void
wl_map_remove(struct wl_map *map, uint32_t i)
{ … }
void *
wl_map_lookup(struct wl_map *map, uint32_t i)
{ … }
uint32_t
wl_map_lookup_flags(struct wl_map *map, uint32_t i)
{ … }
static enum wl_iterator_result
for_each_helper(struct wl_array *entries, wl_iterator_func_t func, void *data)
{ … }
void
wl_map_for_each(struct wl_map *map, wl_iterator_func_t func, void *data)
{ … }
static void
wl_log_stderr_handler(const char *fmt, va_list arg)
{ … }
wl_log_func_t wl_log_handler = …;
void
wl_log(const char *fmt, ...)
{ … }
void
wl_abort(const char *fmt, ...)
{ … }