/*
*
* Copyright 1999 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*
* Comments:
*
*/
#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-private.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);
}