]> git.sur5r.net Git - openldap/blob - libraries/libldap/extended.c
1fe4f8e3dc9329654e710685cd16bc878008852b
[openldap] / libraries / libldap / extended.c
1 /*
2  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5
6 /*
7  * LDAPv3 Extended Operation Request
8  *      ExtendedRequest ::= [APPLICATION 23] SEQUENCE {
9  *              requestName      [0] LDAPOID,
10  *              requestValue     [1] OCTET STRING OPTIONAL
11  *      }
12  *
13  * LDAPv3 Extended Operation Response
14  *      ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
15  *              COMPONENTS OF LDAPResult,
16  *              responseName     [10] LDAPOID OPTIONAL,
17  *              response         [11] OCTET STRING OPTIONAL
18  *      }
19  *
20  */
21
22 #include "portable.h"
23
24 #include <stdio.h>
25 #include <ac/stdlib.h>
26
27 #include <ac/socket.h>
28 #include <ac/string.h>
29 #include <ac/time.h>
30
31 #include "ldap-int.h"
32
33 int
34 ldap_extended_operation(
35         LDAP                    *ld,
36         LDAP_CONST char *exoid,
37         struct berval   *exdata,
38         LDAPControl             **sctrls,
39         LDAPControl             **cctrls,
40         int                             *msgidp )
41 {
42         Debug( LDAP_DEBUG_TRACE, "ldap_extended_operation\n", 0, 0, 0 );
43         return LDAP_NOT_SUPPORTED;
44 }
45
46 int
47 ldap_extended_operation_s(
48         LDAP                    *ld,
49         LDAP_CONST char *exoid,
50         struct berval   *exdata,
51         LDAPControl             **sctrls,
52         LDAPControl             **cctrls,
53         char                    **retoidp,
54         struct berval   **retdatap )
55 {
56         Debug( LDAP_DEBUG_TRACE, "ldap_extended_operation_s\n", 0, 0, 0 );
57         return LDAP_NOT_SUPPORTED;
58 }
59