/* Simple BBC News ticker client
 * (c) Darren Salt
 * GPL applies
 * $Id: util.h,v 1.2 2003/03/14 16:14:35 ds Exp $
 */

#ifndef _Ticker_UTIL_H_
#define _Ticker_UTIL_H_

#include <stddef.h>

#ifdef __GNUC__
#  define INT64 long long
#else
#  define INT64 __int64
#endif

unsigned INT64 rnd64 (void);
unsigned long rnd32 (void);
#define rnd() rnd32()

int stricmp (const char *, const char *);
int strnicmp (const char *, const char *, size_t);
/*const*/ char *stristr (const char *, const char *);

int osfile_get_type (const char *);

#endif
