summaryrefslogtreecommitdiffstats
path: root/sesman/session.h
diff options
context:
space:
mode:
authorNicola Ruggero <nicola@nxnt.org>2010-11-04 12:14:03 +0100
committerNicola Ruggero <nicola@nxnt.org>2010-11-04 12:14:03 +0100
commitd797b2cf497587355bbf25cd27d59edd1c3f2915 (patch)
tree8a706ce33714460c948c7d7d762e7b5ece23dec1 /sesman/session.h
parent87297c5014695da08815fca9c410505237162f24 (diff)
downloadxrdp-proprietary-d797b2cf497587355bbf25cd27d59edd1c3f2915.tar.gz
xrdp-proprietary-d797b2cf497587355bbf25cd27d59edd1c3f2915.zip
Implemented client IP logging
Diffstat (limited to 'sesman/session.h')
-rw-r--r--sesman/session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sesman/session.h b/sesman/session.h
index d4043146..23aed823 100644
--- a/sesman/session.h
+++ b/sesman/session.h
@@ -75,6 +75,7 @@ struct session_item
struct session_date connect_time;
struct session_date disconnect_time;
struct session_date idle_time;
+ char client_ip[256];
};
struct session_chain
@@ -104,7 +105,7 @@ session_get_bydata(char* name, int width, int height, int bpp, int type);
int DEFAULT_CC
session_start(int width, int height, int bpp, char* username, char* password,
long data, tui8 type, char* domain, char* program,
- char* directory);
+ char* directory, char* client_ip);
/**
*