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

@ -2,6 +2,9 @@
#include "yasnd.h"
#include "yasnd-log.h"
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"
GSM_Error error; // structure to store possible gammu errors
GSM_StateMachine *state_machine=NULL; // structure to interact with mobile phones
volatile gboolean gammu_shutdown=FALSE; // variable that indicates gammu shutdown