Add sets to NT build, remove LINT

This commit is contained in:
Kurt Zeilenga 2000-07-01 04:58:23 +00:00
parent af611de371
commit 1566454e6e
3 changed files with 16 additions and 2 deletions

View file

@ -312,6 +312,14 @@ SOURCE=.\search.c
# End Source File
# Begin Source File
SOURCE=.\sets.c
# End Source File
# Begin Source File
SOURCE=.\sets.h
# End Source File
# Begin Source File
SOURCE=.\slap.h
# End Source File
# Begin Source File

View file

@ -4,9 +4,12 @@
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#include "portable.h"
#include <ac/string.h>
#include "portable.h"
#include <stdio.h>
#include <ac/string.h>
#include "slap.h"
#include "sets.h"
static char **set_join (char **lset, int op, char **rset);

View file

@ -78,6 +78,9 @@ LDAP_BEGIN_DECL
#define ASCII_DIGIT(c) ( (c) >= '0' && (c) <= '9' )
#define ASCII_ALNUM(c) ( ASCII_ALPHA(c) || ASCII_DIGIT(c) )
#define ASCII_PRINTABLE(c) ( (c) >= ' ' && (c) <= '~' )
#define FILTER_ESCAPE(c) ( (c) == '\\' || (c) == '(' || (c) == ')' || !ASCII_PRINTABLE(c) )
#define DN_SEPARATOR(c) ((c) == ',' || (c) == ';')
#define RDN_SEPARATOR(c) ((c) == ',' || (c) == ';' || (c) == '+')
#define RDN_NEEDSESCAPE(c) ((c) == '\\' || (c) == '"')