)
{
int id;
- Backend *be;
Operation *o;
Debug( LDAP_DEBUG_TRACE, "do_abandon\n", 0, 0, 0 );
regmatch_t *matches
)
{
- int i, j;
+ int i;
struct acl *a;
char *edn;
} else if (*sp >= '0' && *sp <= '9' ) {
int n;
int i;
- char *ep;
int l;
n = *sp - '0';
)
{
int i;
- char *e, *left, *right;
+ char *left, *right;
struct acl *a;
struct access *b;
Attribute ***a
)
{
- int i;
-
if ( *a == NULL ) {
for ( *a = &e->e_attrs; **a != NULL; *a = &(**a)->a_next ) {
if ( strcasecmp( (**a)->a_type, type ) == 0 ) {
struct berval **vals
)
{
- int i;
Attribute **a;
for ( a = &e->e_attrs; *a != NULL; a = &(*a)->a_next ) {
{
char *save;
struct asyntaxinfo *a;
- int i, lasti;
+ int lasti;
if ( argc < 2 ) {
Debug( LDAP_DEBUG_ANY,
char *
be_root_dn( Backend *be )
{
- int rc;
-
if ( be->be_root_dn == NULL ) {
return( "" );
}
)
{
BerElement *ber = op->o_ber;
- int version, method, len;
+ int version, method;
char *cdn, *ndn;
unsigned long rc;
struct berval cred;
{
char *ndn;
Ava ava;
- int rc;
Backend *be;
Debug( LDAP_DEBUG_TRACE, "do_compare\n", 0, 0, 0 );
void *port
)
{
- Operation *o;
- BerElement ber;
- unsigned long len, tag, msgid;
int i;
int tcps, ns;
struct sockaddr_in addr;
fd_set readfds;
fd_set writefds;
FILE *fp;
- int on = 1;
#ifdef HAVE_SYSCONF
dtblsize = sysconf( _SC_OPEN_MAX );
struct hostent *hp;
struct timeval zero;
struct timeval *tvp;
- int len, pid;
+ int len;
int data_ready;
char *client_name;
)
{
char *s;
- int inquote, gotesc;
+ int inquote;
if( dn == NULL ) {
return NULL;
char *dn )
{
char *s;
- int inquote, gotesc;
+ int inquote;
if( dn == NULL ) {
return NULL;
void
entry_free( Entry *e )
{
- int i;
Attribute *a, *next;
if ( e->e_dn != NULL ) {
int
get_filter( Connection *conn, BerElement *ber, Filter **filt, char **fstr )
{
- unsigned long tag, len;
+ unsigned long len;
int err;
Filter *f;
char *ftmp;
)
{
char *w1, *w2, *c1, *c2;
- int i, rc, match;
+ int i;
Attribute *a;
if ( be != NULL && ! access_allowed( be, conn, op, e,
int ftype
)
{
- int rc, nomatch;
+ int nomatch;
Filter *f;
Debug( LDAP_DEBUG_FILTER, "=> test_filter_list\n", 0, 0, 0 );
{ "LOCAL5", 6, LOG_LOCAL5 },
{ "LOCAL6", 6, LOG_LOCAL6 },
{ "LOCAL7", 6, LOG_LOCAL7 },
- NULL
+ { NULL }
};
static int cnvt_str2int( char *, STRDISP_P, int );
} else {
Connection c;
- Operation *o;
BerElement ber;
unsigned long len, tag;
long msgid;
struct berval *vals[2];
int i, nconns, nwritewaiters, nreadwaiters;
struct tm *ltm;
- char *p, *tmpdn;
+ char *p;
vals[0] = &val;
vals[1] = NULL;