summaryrefslogtreecommitdiffstats
path: root/sesman/config.h
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-03-08 16:41:37 -0800
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-03-08 16:41:37 -0800
commit883650700fcd9e0bb90de5c307e7e4e845725312 (patch)
tree655e1121772e2f01b4e052e7282ce50f3b70d85c /sesman/config.h
parent4f83a979eba76f90da33d2936ac15be744b57ef8 (diff)
downloadxrdp-proprietary-883650700fcd9e0bb90de5c307e7e4e845725312.tar.gz
xrdp-proprietary-883650700fcd9e0bb90de5c307e7e4e845725312.zip
added support for using Xorg driver model
Diffstat (limited to 'sesman/config.h')
-rw-r--r--sesman/config.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/sesman/config.h b/sesman/config.h
index b011ca9b..6238b9e3 100644
--- a/sesman/config.h
+++ b/sesman/config.h
@@ -42,6 +42,7 @@
#define SESMAN_CFG_AUTH_FILE_PATH "AuthFilePath"
#define SESMAN_CFG_RDP_PARAMS "X11rdp"
+#define SESMAN_CFG_XORG_PARAMS "XOrg"
#define SESMAN_CFG_VNC_PARAMS "Xvnc"
/*
@@ -192,6 +193,13 @@ struct config_sesman
* @var log
* @brief Log configuration struct
*/
+
+ struct list* xorg_params;
+ /**
+ * @var log
+ * @brief Log configuration struct
+ */
+
//struct log_config log;
/**
* @var sec
@@ -285,7 +293,20 @@ int DEFAULT_CC
config_read_rdp_params(int file, struct config_sesman* cs, struct list* param_n,
struct list* param_v);
-
+/**
+ *
+ * @brief Reads sesman [XOrg] configuration section
+ * @param file configuration file descriptor
+ * @param cs pointer to a config_sesman struct
+ * @param param_n parameter name list
+ * @param param_v parameter value list
+ * @return 0 on success, 1 on failure
+ *
+ */
+int DEFAULT_CC
+config_read_xorg_params(int file, struct config_sesman* cs, struct list* param_n,
+ struct list* param_v);
+
/**
*
* @brief Reads sesman [Xvnc] configuration section