Mercurial > hg > xmms-sid
diff src/xs_support.h @ 398:933b9ea5923e
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 31 May 2006 13:00:05 +0000 |
parents | b09d74eb71e6 |
children | aec9f4beb401 |
line wrap: on
line diff
--- a/src/xs_support.h Wed May 31 12:59:04 2006 +0000 +++ b/src/xs_support.h Wed May 31 13:00:05 2006 +0000 @@ -20,6 +20,10 @@ #include <memory.h> #endif +#ifndef HAVE_FSEEKO +#define fseeko fseek +#define ftello ftell +#endif /* * Functions @@ -27,6 +31,7 @@ guint16 xs_rd_be16(FILE *); guint32 xs_rd_be32(FILE *); size_t xs_rd_str(FILE *, gchar *, size_t); + gchar *xs_strncpy(gchar *, gchar *, size_t); gint xs_pstrcpy(gchar **, const gchar *); gint xs_pstrcat(gchar **, const gchar *);