yasnd/daemon/yasnd-gammu.h
Sergey Popov a1c83a3df2 Split out GAMMU-related code from library into daemon.
Add proper optional support for GAMMU via build-time options.
This commit fixes #4, but some additional checks maybe needed.
2013-09-02 22:54:14 +04:00

16 lines
458 B
C

#ifndef YASND_GAMMU_H
#define YASND_GAMMU_H
// External variables
extern char* phone_device; // phone device for gammu, for example: "/dev/ttyACM0"
extern char* phone_model; // gammu phone model, for example: "at"
extern char* phone_connection; // gammu phone connection type, for example: "at"
// External functions
extern bool gammu_init();
extern bool gammu_send_sms(const char* message);
extern bool gammu_read_sms();
extern void gammu_free();
#endif