diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/log.h | 18 | ||||
-rw-r--r-- | common/xrdp_constants.h | 6 |
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 |