Translation update done using Pootle.
[gammu.git] / smsd / winservice.h
blob4ec563feb77acc64dac548ad43613f388440ae39
1 /**
2 * Windows service support.
3 */
4 #ifndef __smsd_service_h__
5 #define __smsd_service_h__
6 #include "common.h"
8 #define SERVICE_NAME_LENGTH (500)
10 /**
11 * Name of service.
13 extern char smsd_service_name[SERVICE_NAME_LENGTH];
15 /**
16 * Starts service dispatcher.
18 extern gboolean start_smsd_service_dispatcher(void);
20 /**
21 * Stops service.
23 extern gboolean stop_smsd_service(void);
25 /**
26 * Starts service.
28 extern gboolean start_smsd_service(void);
30 /**
31 * Installs service.
33 extern gboolean uninstall_smsd_service(void);
35 /**
36 * Uninstalls service.
38 extern gboolean install_smsd_service(SMSD_Parameters * params);
40 /**
41 * Prints information about service error code.
43 extern void service_print_error(const char *info);
44 #endif
46 /* How should editor hadle tabs in this file? Add editor commands here.
47 * vim: noexpandtab sw=8 ts=8 sts=8: