summaryrefslogtreecommitdiff
path: root/source3/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
commit7e3b4a1c0df1434eb3d02f93c736ce065f9898d8 (patch)
tree025b06cd0fe6aa7e228532c53318fc7fb8c0a9e0 /source3/lib/access.c
parentb7ca915de8e8b6d9592ff52699ff271d99eaebc0 (diff)
downloadsamba-7e3b4a1c0df1434eb3d02f93c736ce065f9898d8.tar.gz
samba-7e3b4a1c0df1434eb3d02f93c736ce065f9898d8.tar.bz2
samba-7e3b4a1c0df1434eb3d02f93c736ce065f9898d8.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 (This used to be commit b551dc98f7cc194a5fc2e67a4ebae7fd67a01bbc)
Diffstat (limited to 'source3/lib/access.c')
-rw-r--r--source3/lib/access.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/access.c b/source3/lib/access.c
index 14a84b2fb4..224ede5968 100644
--- a/source3/lib/access.c
+++ b/source3/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