view src/wma/libffwma/cutils.h @ 2189:549009824758

demac: added MIME type (audio/x-ape) to provided tuple
author Eugene Zagidullin <e.asphyx@gmail.com>
date Sun, 25 Nov 2007 23:45:10 +0300
parents aa044d71838f
children
line wrap: on
line source

#ifndef _CUTILS_H
#define _CUTILS_H

int strstart(const char *str, const char *val, const char **ptr);
int stristart(const char *str, const char *val, const char **ptr);
void pstrcpy(char *buf, int buf_size, const char *str);
char *pstrcat(char *buf, int buf_size, const char *s);

time_t mktimegm(struct tm *tm);
const char *small_strptime(const char *p, const char *fmt,
                           struct tm *dt);

#endif