#ifndef WS_SAFS_LDAP_H
#define WS_SAFS_LDAP_H
#include "../public/nsapi.h"
#include "../daemon/ldap_resource.h"
#ifdef __cplusplus
extern "C" {
#endif
#define WS_SAFS_LDAP_DEFAULT_SCOPE LDAP_SCOPE_SUBTREE
#define WS_SAFS_LDAP_DEFAULT_TIMEOUT 30
#define WS_SAFS_LDAP_DEFAULT_SIZELIMIT 1000
#define WS_SAFS_LDAP_MAX_TIMEOUT 32767
#define WS_SAFS_LDAP_EMPTY_FILTER_ERROR 404
#define WS_SAFS_LDAP_EMPTY_RESULT_ERROR 404
int service_ldap_search(pblock *pb, Session *sn, Request *rq);
#ifdef __cplusplus
}
#endif
#endif