diff options
author | Michal Čihař <nijel@debian.org> | 2017-10-18 10:36:37 +0200 |
---|---|---|
committer | Michal Čihař <nijel@debian.org> | 2017-10-18 10:36:37 +0200 |
commit | f615ee56e6d4f63c6d454068579d5fc158237067 (patch) | |
tree | c388746fbd08c052c58aa732b4193f1149880fa5 /smsd/common.h |
Import gammu_1.38.5.orig.tar.xz
[dgit import orig gammu_1.38.5.orig.tar.xz]
Diffstat (limited to 'smsd/common.h')
-rw-r--r-- | smsd/common.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/smsd/common.h b/smsd/common.h new file mode 100644 index 0000000..85c9f10 --- /dev/null +++ b/smsd/common.h @@ -0,0 +1,31 @@ +#ifndef __smsd_common_h__ +#define __smsd_common_h__ + +#include <gammu-smsd.h> + +/** + * Stucture holding Gammu SMSD command line parameters. + */ +typedef struct { + const char *config_file; + const char *pid_file; + int uid; + int gid; + char *user; + char *group; + gboolean daemonize; + gboolean start_service; + gboolean stop_service; + gboolean run_service; + gboolean install_service; + gboolean uninstall_service; + gboolean install_evlog; + gboolean uninstall_evlog; + gboolean use_log; + int max_failures; +} SMSD_Parameters; +#endif + +/* How should editor hadle tabs in this file? Add editor commands here. + * vim: noexpandtab sw=8 ts=8 sts=8: + */ |