summaryrefslogtreecommitdiffstats
path: root/sesman/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/config.c')
-rw-r--r--sesman/config.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/sesman/config.c b/sesman/config.c
index a2f0922e..9ff5d500 100644
--- a/sesman/config.c
+++ b/sesman/config.c
@@ -15,16 +15,29 @@
xrdp: A Remote Desktop Protocol server.
Copyright (C) Jay Sorg 2005-2006
-
- session manager - read config file
*/
+/**
+ *
+ * @file config.c
+ * @brief User authentication code
+ * @author Simone Fedele @< simo [at] esseemme [dot] org @>
+ *
+ */
+
#include "arch.h"
#include "list.h"
#include "file.h"
#include "sesman.h"
/******************************************************************************/
+/**
+ *
+ * @brief Reads sesman configuration
+ * @param s translates the strings "1", "true" and "yes" in 1 (true) and other strings in 0
+ * @return 0 on success, 1 on failure
+ *
+ */
static int APP_CC
text2bool(char* s)
{
@@ -38,7 +51,6 @@ text2bool(char* s)
}
/******************************************************************************/
-/* returns error */
int DEFAULT_CC
config_read(struct config_sesman* cfg)
{