Mercurial > audlegacy-plugins
view src/song_change/formatter.h @ 3173:3fd0d762371c
alsa-ng: alsaplug_buffer_free(): Make sure we don't try to access the ringbuffer when it's not yet allocated.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 15 May 2009 16:10:31 -0500 |
parents | da77e1d2ca40 |
children |
line wrap: on
line source
#ifndef FORMATTER_H #define FORMATTER_H #include <glib.h> typedef struct { gchar *values[256]; } Formatter; Formatter *formatter_new(void); void formatter_destroy(Formatter * formatter); void formatter_associate(Formatter * formatter, const guchar id, const gchar * value); void formatter_dissociate(Formatter * formatter, const guchar id); gchar *formatter_format(Formatter * formatter, gchar * format); #endif