summaryrefslogtreecommitdiffstats
path: root/libvncserver/d3des.c
diff options
context:
space:
mode:
authordscho <dscho>2004-08-30 15:45:58 +0000
committerdscho <dscho>2004-08-30 15:45:58 +0000
commit97299606daab079cd88a096308487341c113ccec (patch)
treed8f51cfacae63482f330ce20c07dc373c341e893 /libvncserver/d3des.c
parent0d3b958b479e598b081b9848c34bb74aca9ee7fa (diff)
downloadlibtdevnc-97299606daab079cd88a096308487341c113ccec.tar.gz
libtdevnc-97299606daab079cd88a096308487341c113ccec.zip
global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
Diffstat (limited to 'libvncserver/d3des.c')
-rwxr-xr-xlibvncserver/d3des.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libvncserver/d3des.c b/libvncserver/d3des.c
index 4994afb..21362ad 100755
--- a/libvncserver/d3des.c
+++ b/libvncserver/d3des.c
@@ -71,7 +71,7 @@ static unsigned char pc2[48] = {
40, 51, 30, 36, 46, 54, 29, 39, 50, 44, 32, 47,
43, 48, 38, 55, 33, 52, 45, 41, 49, 35, 28, 31 };
-void deskey(key, edf) /* Thanks to James Gillogly & Phil Karn! */
+void rfbDesKey(key, edf) /* Thanks to James Gillogly & Phil Karn! */
unsigned char *key;
int edf;
{
@@ -127,11 +127,11 @@ register unsigned long *raw1;
*cook |= (*raw1 & 0x0003f000L) >> 4;
*cook++ |= (*raw1 & 0x0000003fL);
}
- usekey(dough);
+ rfbUseKey(dough);
return;
}
-void cpkey(into)
+void rfbCPKey(into)
register unsigned long *into;
{
register unsigned long *from, *endp;
@@ -141,7 +141,7 @@ register unsigned long *into;
return;
}
-void usekey(from)
+void rfbUseKey(from)
register unsigned long *from;
{
register unsigned long *to, *endp;
@@ -151,7 +151,7 @@ register unsigned long *from;
return;
}
-void des(inblock, outblock)
+void rfbDes(inblock, outblock)
unsigned char *inblock, *outblock;
{
unsigned long work[2];