summaryrefslogtreecommitdiffstats
path: root/source/lib/access.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-10 04:38:24 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-10 04:38:24 +0000
commitb551dc98f7cc194a5fc2e67a4ebae7fd67a01bbc (patch)
treec046d26355a3f879f74680db5f2871f17e119554 /source/lib/access.c
parent0c96ac512fe1f9baf35a8c1c0eb83e001ffb54df (diff)
downloadsamba-b551dc98f7cc194a5fc2e67a4ebae7fd67a01bbc.tar.gz
samba-b551dc98f7cc194a5fc2e67a4ebae7fd67a01bbc.tar.xz
samba-b551dc98f7cc194a5fc2e67a4ebae7fd67a01bbc.zip
got rid of a lot of redundent header files as we now globally generate
prototypes automatically using "make proto". This is much less prone to error than the old method of manually adding prototypes
Diffstat (limited to 'source/lib/access.c')
-rw-r--r--source/lib/access.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/lib/access.c b/source/lib/access.c
index 14a84b2fb44..224ede5968e 100644
--- a/source/lib/access.c
+++ b/source/lib/access.c
@@ -9,7 +9,6 @@ should be sent to Andrew.Tridgell@anu.edu.au
*/
#include "includes.h"
-#include "loadparm.h"
#define ALLOW_PURE_ADDRESSES
@@ -37,14 +36,11 @@ static char sep[] = ", \t";
#define FAIL (-1)
/* Forward declarations. */
-BOOL allow_access(char *deny_list,char *allow_list,struct from_host *client);
static int list_match(char *list,char *item, int (*match_fn)());
static int client_match(char *tok,char *item);
static int string_match(char *tok,char *s);
static int masked_match(char *tok, char *slash, char *s);
static int matchname(char *remotehost,struct in_addr addr);
-BOOL fromhost(int sock,struct from_host *f);
-
/* Size of logical line buffer. */
#define BUFLEN 2048