spagectrl.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (c) 2001 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <string.h>
#ifdef MACOS
#include "macos.h"
#endif /* MACOS */
#endif
#include "lber.h"
#include "ldap.h"
#include "ldap-int.h"
int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output)
{
int rc;
return (LDAP_PARAM_ERROR);
return (LDAP_NO_MEMORY);
}
== LBER_ERROR) {
return (LDAP_ENCODING_ERROR);
}
output);
return (rc);
}
int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie)
{
int i, rc;
return (LDAP_NO_MEMORY);
}
return (LDAP_DECODING_ERROR);
}
return (LDAP_SUCCESS);
}
}
return (LDAP_CONTROL_NOT_FOUND);
}