view src/xs_support.h @ 206:8b896d461fdb

Trivial fixes and added strncpy replacement.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 15 Dec 2004 10:22:05 +0000
parents 578b71b62eeb
children 575686094eb1
line wrap: on
line source

#ifndef XS_SUPPORT_H
#define XS_SUPPORT_H

#ifdef __cplusplus
extern "C" {
#endif

#include "xmms-sid.h"

/*
 * Functions
 */
gchar	xs_strncpy(gchar *, gchar *, size_t);
gint	xs_pstrcpy(gchar **, const gchar *);
gint	xs_pstrcat(gchar **, const gchar *);
gchar	*xs_strrchr(gchar *, gchar);
inline 	void xs_findnext(gchar *, guint *);
inline 	void xs_findeol(gchar *, guint *);
inline	void xs_findnum(gchar *, guint *);

#ifdef __cplusplus
}
#endif
#endif /* XS_SUPPORT_H */