1 |
//============================================================================ |
//============================================================================ |
2 |
// $Id: PamOffLineSW_Main.cpp,v 1.5 2008/12/18 14:47:02 mocchiut Exp $ |
// $Id: PamOffLineSW_Main.cpp,v 1.6 2009-02-01 16:38:26 mocchiut Exp $ |
3 |
// Description : Pamela Off-Line Software |
// Description : Pamela Off-Line Software |
4 |
//============================================================================ |
//============================================================================ |
5 |
|
|
45 |
//bool do_vrl_check = false; //EMI |
//bool do_vrl_check = false; //EMI |
46 |
bool do_vrl_check = true; //EMI |
bool do_vrl_check = true; //EMI |
47 |
|
|
48 |
char* db_host = ""; |
const char* db_host = ""; |
49 |
int db_port = 0; |
int db_port = 0; |
50 |
char* db_name = ""; |
const char* db_name = ""; |
51 |
char conn[100]=""; |
char conn[100]=""; |
52 |
|
|
53 |
LogUtil::logLevel loglevel=LogUtil::LOGERROR; |
LogUtil::logLevel loglevel=LogUtil::LOGERROR; |
54 |
char* logfilename = "chewbacca.log"; |
const char* logfilename = "chewbacca.log"; |
55 |
//current route |
//current route |
56 |
int route = 999; |
int route = 999; |
57 |
//previous route |
//previous route |
63 |
// global variables used in all the project |
// global variables used in all the project |
64 |
namespace PamOffLineSW |
namespace PamOffLineSW |
65 |
{ |
{ |
66 |
char* db_user = ""; |
const char* db_user = ""; |
67 |
char* db_pwd = ""; |
const char* db_pwd = ""; |
68 |
char* connection = NULL; |
char* connection = NULL; |
69 |
//marco_new_01 |
//marco_new_01 |
70 |
bool single_connection=false; |
bool single_connection=false; |
75 |
char* fni; //path completo |
char* fni; //path completo |
76 |
short compression = 3; |
short compression = 3; |
77 |
// char *outDir = "."; |
// char *outDir = "."; |
78 |
char *outDir = ""; |
const char *outDir = ""; |
79 |
|
|
80 |
// char * nome_output="chewbacca"; //EMI |
// char * nome_output="chewbacca"; //EMI |
81 |
char * nome_output="L0PAM";//EMI |
const char * nome_output="L0PAM";//EMI |
82 |
bool multiFile = 0; |
bool multiFile = 0; |
83 |
// unsigned long int step_pkt_number=0; // EMI |
// unsigned long int step_pkt_number=0; // EMI |
84 |
unsigned long int step_pkt_number=3000; |
unsigned long int step_pkt_number=3000; |