#ident "$Id: tool_common.h,v 1.1 2007/02/02 23:23:29 craig Exp $"
/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  and  are protected by Federal copyright law. They may not be disclosed
 *  to  third  parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 */

/*
 * Header file for routines common many of the disk/partition tools
 * images
 */

#ifndef TOOL_COMMON_H
#define TOOL_COMMON_H

#include <stdbool.h>
#include <stdio.h>
#include <sys/types.h>          // For off_t

#include "types.h"

bool    fileSize(const char* const fileName, off_t *fileSize);
off_t   alignAddress(off_t address, const u32 alignment);

#endif
