summaryrefslogtreecommitdiffstats
path: root/sesman/sig.c
diff options
context:
space:
mode:
authorilsimo <ilsimo>2005-11-13 22:06:49 +0000
committerilsimo <ilsimo>2005-11-13 22:06:49 +0000
commit9ac351a4cb72ad1ceaf8c57cc05dfc9067145ca0 (patch)
tree3c5a0a665b3c760ea0f1500fc49f88a0fc1dd206 /sesman/sig.c
parent3cdf8bdcee7d1ccbe270f919e416478ba1ca88d2 (diff)
downloadxrdp-proprietary-9ac351a4cb72ad1ceaf8c57cc05dfc9067145ca0.tar.gz
xrdp-proprietary-9ac351a4cb72ad1ceaf8c57cc05dfc9067145ca0.zip
added --nodaemon and --kill options
added pid file generation improved some code documentation
Diffstat (limited to 'sesman/sig.c')
-rw-r--r--sesman/sig.c23
1 files changed, 5 insertions, 18 deletions
diff --git a/sesman/sig.c b/sesman/sig.c
index cfc101c1..18492568 100644
--- a/sesman/sig.c
+++ b/sesman/sig.c
@@ -18,14 +18,13 @@
session manager
linux only
-
- sig.c: signal handling code
-
*/
/**
*
- * @file: signal handling functions
+ * @file sig.c
+ * @brief signal handling functions
+ * @author Jay Sorg, Simone Fedele
*
*/
@@ -35,13 +34,7 @@ extern int g_sck;
extern int g_pid;
extern struct config_sesman g_cfg;
-/**
- *
- * Shuts down sesman
- *
- * @param sig The received signal
- *
- */
+/******************************************************************************/
void DEFAULT_CC
sig_sesman_shutdown(int sig)
{
@@ -58,13 +51,7 @@ sig_sesman_shutdown(int sig)
g_tcp_close(g_sck);
}
-/**
- *
- * Reloads sesman config
- *
- * @param sig The received signal
- *
- */
+/******************************************************************************/
void DEFAULT_CC
sig_sesman_reload_cfg(int sig)
{