www.pudn.com > TsapiCallRouting.rar > global.cpp


#include "stdafx.h" 
#include  
#include  
#include "Rule.h" 
 
using namespace std; 
using namespace stdext; 
 
// declare all global variables here 
// set DebugLevel high here to allow debugging to come out 
// prior to setting to what the user selects via the GUI 
int DebugLevel = 1;	 
CString DebugLevelStr; 
bool PrivateDataNegotiated = false; 
hash_map  HashMap; 
hash_map  :: iterator HashMapIter; 
CMutex Mtx; 
CString TsapiFailureStr; 
int g_collectedDigits; 
CString g_appendString; 
int g_callRoutingType; 
CString g_vdn; 
vector rules; 
int g_defaultRoute; 
 
//Create iterator to access elements in the vector 
vector::iterator rulesIt ;