summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-11-05 06:04:40 +0000
committerjsorg71 <jsorg71>2005-11-05 06:04:40 +0000
commit489fddf5f2dd68b94749fe4cfd43c35269d465be (patch)
tree0a22fd29960f30681fcaedf9c45825a3131f6f39
parentfcf5268c5bd24054f61c3385ae03ce1290f371ec (diff)
downloadxrdp-proprietary-489fddf5f2dd68b94749fe4cfd43c35269d465be.tar.gz
xrdp-proprietary-489fddf5f2dd68b94749fe4cfd43c35269d465be.zip
align
-rw-r--r--common/log.h18
-rw-r--r--common/xrdp_constants.h6
2 files changed, 12 insertions, 12 deletions
diff --git a/common/log.h b/common/log.h
index 32164484..f6ea8a46 100644
--- a/common/log.h
+++ b/common/log.h
@@ -32,7 +32,7 @@
#define LOG_BUFFER_SIZE 8192
/* logging levels */
-#define LOG_LEVEL_ALWAYS 0
+#define LOG_LEVEL_ALWAYS 0
#define LOG_LEVEL_ERROR 1
#define LOG_LEVEL_WARNING 2
#define LOG_LEVEL_INFO 3
@@ -52,7 +52,7 @@
#define LOG_DBG(s,args...)
#endif
-struct log_config
+struct log_config
{
char* program_name;
char* log_file;
@@ -70,14 +70,14 @@ struct log_config
*
* @param msg The message to be logged
*
- * @return
- *
+ * @return
+ *
*/
int DEFAULT_CC
log_message(const unsigned int lvl, const char* msg, ...);
/**
- *
+ *
* Starts the logging subsystem
*
* @param progname string to prepend to syslog messages
@@ -89,18 +89,18 @@ log_message(const unsigned int lvl, const char* msg, ...);
* @param syslog if set to 0, disables the use of syslog
*
* @param syslvl level of messages to log to syslog
- *
+ *
* @return
- *
+ *
*/
int DEFAULT_CC
-log_start(const char* progname, const char* logfile, const unsigned int loglvl,
+log_start(const char* progname, const char* logfile, const unsigned int loglvl,
const int syslog, const unsigned int syslvl);
/**
*
* Shuts down the logging subsystem
- *
+ *
*/
void DEFAULT_CC
log_end();
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index 9be08ddc..ea7f1c47 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -80,9 +80,9 @@
#define SEC_RSA_MAGIC 0x31415352 /* RSA1 */
/* RDP licensing constants */
-#define LICENCE_TOKEN_SIZE 10
-#define LICENCE_HWID_SIZE 20
-#define LICENCE_SIGNATURE_SIZE 16
+#define LICENCE_TOKEN_SIZE 10
+#define LICENCE_HWID_SIZE 20
+#define LICENCE_SIGNATURE_SIZE 16
#define LICENCE_TAG_DEMAND 0x01
#define LICENCE_TAG_AUTHREQ 0x02