Skip to content
Snippets Groups Projects
Commit 1566454e authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add sets to NT build, remove LINT

parent af611de3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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);
......
......@@ -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) == '"')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment