
#ifndef _AIMSUN_BDM_TOOLS_H_
#define _AIMSUN_BDM_TOOLS_H_

#define MAX_LINE		1024
#define MAX_EXE_PATH	(2*MAX_PATH)

void    _addpath ( TCHAR * path );
TCHAR * _tstrtrim ( TCHAR * str );

errno_t replace_in_scenario (
	const TCHAR * sce_name,
	const TCHAR * new_name,
	const TCHAR * section,
	const TCHAR ** patterns,
	int num_patterns,
	const TCHAR * replacement
	);

errno_t replace_stoptime (
	const TCHAR * net_path,
	const TCHAR * stoptime
	);

int _search_index ( const int *list, int numElements, int value );

#endif
