You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xrdp-proprietary/sesman/chansrv/chansrv.h

41 lines
577 B

16 years ago
#if !defined(CHANSRV_H)
#define CHANSRV_H
#include "arch.h"
#include "parse.h"
#define XRDP_CHANNEL_LOG 0
16 years ago
struct chan_item
{
int id;
int flags;
char name[16];
};
int APP_CC
send_channel_data(int chan_id, char* data, int size);
15 years ago
int APP_CC
main_cleanup(void);
16 years ago
15 years ago
#define LOG_LEVEL 5
15 years ago
#define LOG(_a, _params) \
{ \
if (_a < LOG_LEVEL) \
{ \
g_write("xrdp-chansrv [%10.10u]: ", g_time3()); \
15 years ago
g_writeln _params ; \
} \
}
#if XRDP_CHANNEL_LOG
#include "log.h"
#define LOGM(_args) do { log_message _args ; } while (0)
#else
#define LOGM(_args)
#endif
16 years ago
#endif