mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Add skeleton ldap_extended_operation routines.
This commit is contained in:
parent
95b3c92df7
commit
c581055b54
@ -9,7 +9,7 @@ XLIBRARY = ../libldap.a
|
||||
PROGRAMS = apitest ltest ttest
|
||||
|
||||
SRCS = bind.c open.c result.c error.c compare.c search.c \
|
||||
controls.c messages.c references.c \
|
||||
controls.c messages.c references.c extended.c \
|
||||
modify.c add.c modrdn.c delete.c abandon.c ufn.c cache.c \
|
||||
getfilter.c sbind.c kbind.c unbind.c friendly.c cldap.c \
|
||||
free.c disptmpl.c srchpref.c dsparse.c tmplout.c sort.c \
|
||||
@ -17,7 +17,7 @@ SRCS = bind.c open.c result.c error.c compare.c search.c \
|
||||
request.c getdxbyname.c os-ip.c url.c charset.c \
|
||||
init.c options.c print.c string.c util-int.c schema.c
|
||||
OBJS = bind.lo open.lo result.lo error.lo compare.lo search.lo \
|
||||
controls.lo messages.lo references.lo \
|
||||
controls.lo messages.lo references.lo extended.lo \
|
||||
modify.lo add.lo modrdn.lo delete.lo abandon.lo ufn.lo cache.lo \
|
||||
getfilter.lo sbind.lo kbind.lo unbind.lo friendly.lo cldap.lo \
|
||||
free.lo disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo \
|
||||
|
43
libraries/libldap/extended.c
Normal file
43
libraries/libldap/extended.c
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <ac/socket.h>
|
||||
#include <ac/string.h>
|
||||
#include <ac/time.h>
|
||||
|
||||
#include "ldap-int.h"
|
||||
|
||||
int
|
||||
ldap_extended_operation(
|
||||
LDAP *ld,
|
||||
LDAP_CONST char *exoid,
|
||||
struct berval *exdata,
|
||||
LDAPControl **sctrls,
|
||||
LDAPControl **cctrls,
|
||||
int *msgidp )
|
||||
{
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_extended_operation\n", 0, 0, 0 );
|
||||
return LDAP_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
int
|
||||
ldap_extended_operation_s(
|
||||
LDAP *ld,
|
||||
LDAP_CONST char *exoid,
|
||||
struct berval *exdata,
|
||||
LDAPControl **sctrls,
|
||||
LDAPControl **cctrls,
|
||||
char **retoidp,
|
||||
struct berval **retdatap )
|
||||
{
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_extended_operation_s\n", 0, 0, 0 );
|
||||
return LDAP_NOT_SUPPORTED;
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ XLIBRARY = ../libldap_r.a
|
||||
PROGRAMS = apitest ltest ttest
|
||||
|
||||
XXDIR = $(srcdir)/../libldap
|
||||
XXSRCS = apitest.c test.c tmpltest.c \
|
||||
XXSRCS = apitest.c test.c tmpltest.c extended.c \
|
||||
bind.c controls.c open.c result.c error.c compare.c search.c \
|
||||
modify.c add.c modrdn.c delete.c abandon.c ufn.c cache.c \
|
||||
getfilter.c sbind.c kbind.c unbind.c friendly.c cldap.c \
|
||||
@ -17,7 +17,8 @@ XXSRCS = apitest.c test.c tmpltest.c \
|
||||
init.c options.c print.c string.c util-int.c schema.c
|
||||
SRCS = thr_posix.c thr_cthreads.c thr_thr.c thr_lwp.c thr_nt.c \
|
||||
thr_sleep.c thr_stub.c rdwr.c
|
||||
OBJS = bind.lo controls.lo open.lo result.lo error.lo compare.lo search.lo \
|
||||
OBJS = extended.lo \
|
||||
bind.lo controls.lo open.lo result.lo error.lo compare.lo search.lo \
|
||||
modify.lo add.lo modrdn.lo delete.lo abandon.lo ufn.lo cache.lo \
|
||||
getfilter.lo sbind.lo kbind.lo unbind.lo friendly.lo cldap.lo \
|
||||
free.lo disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo \
|
||||
|
Loading…
Reference in New Issue
Block a user