EMILE/libmap/map_partition_is_valid.c

13 lines
203 B
C

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include "libmap.h"
int map_partition_is_valid(map_t *map)
{
return read_short((u_int16_t*)&map->partition.Sig) == MAP_SIGNATURE;
}