update some txt files
This commit is contained in:
parent
55b980af09
commit
069634e498
@ -1,7 +1,7 @@
|
||||
|
||||
This document is intended to explain xrdp server design.
|
||||
|
||||
Many connections, all capable of running different moduals
|
||||
Many connections, all capable of running different modules
|
||||
one connection could be using a vnc connection
|
||||
one could be running a custom app made for xrdp
|
||||
one could be running a X11 session
|
||||
|
40
prog_std.txt
Normal file
40
prog_std.txt
Normal file
@ -0,0 +1,40 @@
|
||||
|
||||
This is an atempt to explain my odd programming standard used for this project.
|
||||
Not to defend any of these but its my default standard and make it easy
|
||||
for me to read.
|
||||
Some files break these rules, they will be updated eventually.
|
||||
|
||||
try to make any file compile with c++ compilers
|
||||
|
||||
always put one var on a line by itself
|
||||
char* pvar;
|
||||
char text[256];
|
||||
not
|
||||
char *pvar, text[256];
|
||||
|
||||
function calls look like this
|
||||
foo(a, b, c);
|
||||
not
|
||||
foo ( a, b, c );
|
||||
|
||||
while, if, and case statements look like
|
||||
while (i != 0)
|
||||
not
|
||||
while(i != 0)
|
||||
|
||||
for comments, always use /* */, not //
|
||||
|
||||
defines should always be uppercase
|
||||
|
||||
don't use tabs, use spaces
|
||||
|
||||
no line should exceed 80 chars
|
||||
|
||||
always use {} in if and while, even if its only one line
|
||||
while (p != 0)
|
||||
{
|
||||
p = p->next;
|
||||
}
|
||||
not
|
||||
while (p != 0)
|
||||
p = p->next;
|
10
readme.txt
10
readme.txt
@ -7,9 +7,17 @@ Credits
|
||||
|
||||
To use this run make the ./xrdp, then connect with rdesktop or mstsc.
|
||||
Tested with linux and i386.
|
||||
I've got it compiling in windows with borland free tools.
|
||||
I've got it compiling and working in windows with borland free tools.
|
||||
I've got it compiling and working with linux on x64 processor
|
||||
|
||||
xrdp directory is the main server code
|
||||
vnc directory is a simple vnc client module for xrdp
|
||||
sesman directory is a session manager for xrdp that uses Xvnc for the Xserver
|
||||
COPYING is the licence file
|
||||
design.txt is an attempt to expain the project design
|
||||
prog_std.txt is an attemp to explain the programming standard used
|
||||
|
||||
There is some installation notes on the web site under news.
|
||||
I'm working on an installation script.
|
||||
|
||||
Jay
|
||||
|
Loading…
Reference in New Issue
Block a user