view src/wma/libffwma/cutils.h @ 2155:69c9f138611b

- Fix files being left open after playing
author Ralf Ertzinger <ralf@skytale.net>
date Tue, 06 Nov 2007 19:03:29 +0100
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