XMMS2
|
00001 /* XMMS2 - X Music Multiplexer System 00002 * Copyright (C) 2003-2011 XMMS2 Team 00003 * 00004 * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!! 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 */ 00016 00017 #ifndef __XMMS_STRLIST_H__ 00018 #define __XMMS_STRLIST_H__ 00019 00020 #include <stdarg.h> 00021 00022 char **xmms_valist_to_strlist (const char *first, va_list ap); 00023 char **xmms_vargs_to_strlist (const char *first, ...); 00024 int xmms_strlist_len (char **data); 00025 void xmms_strlist_destroy (char **data); 00026 char **xmms_strlist_prepend_copy (char **data, char *newstr); 00027 char **xmms_strlist_copy (char **strlist); 00028 00029 #endif /* __XMMS_STRLIST_H__ */