1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-05 12:22:11 +03:00

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 commit is contained in:
Andrew Tridgell
-
parent 0c96ac512f
commit b551dc98f7
47 changed files with 175 additions and 419 deletions

View File

@ -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