view src/scrobbler/fmt.h @ 142:c0b31cf2c7cd trunk

[svn] Atari XL SAP. This compiles anything but cleanly, but somehow still works. No one will notice anyway, though. What percentage of the population listens to Atari XL music? I don't have an answer to that, but I'd guess that Audacious' SAP plugin will be used by approximately 2 people.
author asheldon
date Sun, 29 Oct 2006 01:08:30 -0700
parents 3da1b8942b8b
children f4d8082668c1
line wrap: on
line source

#ifndef FMT_H
#define FMT_H 1
#define pdebug(s, b) if(b) { fmt_debug(__FILE__, __FUNCTION__, (s)); }

#include <time.h>

char *fmt_escape(char *);
char *fmt_unescape(char *);
char *fmt_timestr(time_t, int);
char *fmt_vastr(char *, ...);
void fmt_debug(char *, const char *, char *);
char *fmt_string_pack(char *, char *, ...);
int fmt_strcasecmp(const char *s1, const char *s2);
int fmt_strncasecmp(const char *s1, const char *s2, size_t n);
#endif