Samba4/LDB/Control: Difference between revisions

From SambaWiki
No edit summary
 
Line 1: Line 1:
= Structures =
= Structures =

== ldb_control ==


<pre>
<pre>

Revision as of 20:39, 13 October 2009

Structures

ldb_control

struct ldb_control {
    const char *oid;
    int critical;
    void *data;
};

Methods

ldb_request_get_control()

struct ldb_control *ldb_request_get_control(struct ldb_request *req, const char *oid);

This method checks if a control with the specified "oid" exists and returns it.

Returns: NULL if not found.

ldb_reply_get_control()

struct ldb_control *ldb_reply_get_control(struct ldb_reply *rep, const char *oid);

This method checks if a control with the specified "oid" exists and returns it.

Returns: NULL if not found.