aboutsummaryrefslogtreecommitdiffstats
path: root/authenticate.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-13 09:38:54 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-13 09:38:54 +0000
commit31593dd6106cfef78fc88cbe9c831a51f00a4aa6 (patch)
treee40c378e089542410c7a1eddda71c6587df3f5a9 /authenticate.c
parent91eee5946ad6d033303abfe184085c87a283da29 (diff)
downloadandroid_external_rsync-31593dd6106cfef78fc88cbe9c831a51f00a4aa6.tar.gz
android_external_rsync-31593dd6106cfef78fc88cbe9c831a51f00a4aa6.tar.bz2
android_external_rsync-31593dd6106cfef78fc88cbe9c831a51f00a4aa6.zip
improved max connections code. Now use fcntl instead of flock.
also started on authentication code (I'm doing a challenge response system initially)
Diffstat (limited to 'authenticate.c')
-rw-r--r--authenticate.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/authenticate.c b/authenticate.c
new file mode 100644
index 00000000..28f777e1
--- /dev/null
+++ b/authenticate.c
@@ -0,0 +1,21 @@
+/*
+ Copyright (C) Andrew Tridgell 1998
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/* support rsync authentication */
+#include "rsync.h"
+