diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-24 14:06:25 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-24 14:06:25 +0000 |
commit | 5289734985255feca1466a43f7f70bb4d60d4cc6 (patch) | |
tree | 946e55abde2772d5db7b2fce5d370e08378ca3a6 /include | |
parent | 8103bd83969f92546e95bdf689aea2d9821f5645 (diff) | |
download | zabbix-5289734985255feca1466a43f7f70bb4d60d4cc6.tar.gz zabbix-5289734985255feca1466a43f7f70bb4d60d4cc6.tar.xz zabbix-5289734985255feca1466a43f7f70bb4d60d4cc6.zip |
- added support for direct sending of SMS via GSM modem (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2897 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 1 | ||||
-rw-r--r-- | include/sms.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 5b2ae7a7..00e54d5d 100644 --- a/include/common.h +++ b/include/common.h @@ -204,6 +204,7 @@ /* Alert types */ #define ALERT_TYPE_EMAIL 0 #define ALERT_TYPE_EXEC 1 +#define ALERT_TYPE_SMS 2 /* Alert statuses */ #define ALERT_STATUS_NOT_SENT 0 diff --git a/include/sms.h b/include/sms.h index c2fb2dab..0cb97b25 100644 --- a/include/sms.h +++ b/include/sms.h @@ -21,6 +21,6 @@ #ifndef ZABBIX_SMS_H #define ZABBIX_SMS_H -int send_sms(char *smtp_server,char *smtp_helo,char *smtp_email,char *mailto,char *mailsubject,char *mailbody, char *error, int max_error_len); +int send_sms(char *device,char *number,char *message, char *error, int max_error_len); #endif |