📄 alarm.h
字号:
/*SMS Server Tools 3Copyright (C) Keijo Kasvihttp://smstools3.kekekasvi.com/Based on SMS Server Tools 2 from Stefan Fringshttp://www.meinemullemaus.de/This program is free software unless you got it under another license directlyfrom the author. You can redistribute it and/or modify it under the terms ofthe GNU General Public License as published by the Free Software Foundation.Either version 2 of the License, or (at your option) any later version.*/#ifndef ALARM_H#define ALARM_H// Note: Use either the devicename in set_alarmhandler OR alarm_handler but not in both.// Set the unused parameter to "".// Initialize some variables before using alarm_handlervoid set_alarmhandler(char* handler,int level);// calls the alarm handlervoid alarm_handler0(int severity, char *devicename, char *text);void alarm_handler(int severity,char* devicename,char* format, ...);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -