move phone variables to gammu-related part of yasnd library

This commit is contained in:
2012-03-22 17:54:27 +04:00
parent 6aefa54e73
commit de38500b8f
4 changed files with 8 additions and 6 deletions

View File

@ -14,9 +14,6 @@ char pidfile[]="/var/run/yasnd.pid"; // pidfile path
host_decl* hosts=NULL; // structure with hosts' definitions
int hosts_count=0; // count of hosts
bool sms_enable=false; // use SMS messages for control and reports?
char* phone_device=NULL; // phone device for gammu, for example: "/dev/ttyACM0"
char* phone_model=NULL; // gammu phone model, for example: "at"
char* phone_connection=NULL; // gammu phone connection type, for example: "at"
char* recipient_number=NULL; // recipient of sms alerts
bool loop_locked=false; // flag for locking main loop while config re-reading
int failures_first=0; // count of failures while hosts checking, that triggers SMS sending