view src/wma/libffwma/cutils.h @ 166:a118245b88c7 trunk

[svn] - use a quantized variance instead of a fast fft sum for beat detection with thresholding
author nenolod
date Tue, 31 Oct 2006 22:09:04 -0800
parents 3da1b8942b8b
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