#ifndef XPKMASTER_UTIL_C
#define XPKMASTER_UTIL_C

/* Routinesheader

	Name:		util.c
	Main:		xpkmaster
	Versionstring:	$VER: util.c 1.1 (01.03.97)
	Author:		SDI
	Distribution:	PD
	Description:	Miscellaneous utility functions

 1.0   09.10.96 : first real version
 1.1   01.03.97 : removed basename
*/

#include <exec/types.h>
#include "xpkmaster.h"

ULONG idfromname(STRPTR name)
{
  return (ULONG) (((toupper(name[0]) << 8 | toupper(name[1])) << 8 |
		   toupper(name[2])) << 8 | toupper(name[3]));
}

#endif /* XPKMASTER_UTIL_C */
