Revert "auth4: Remove unused wbc_context"
[samba.git] / source4 / libcli / wbclient / wbclient.h
index fc096cc7c764f33ea47e0dd2404d0d43d364c25b..ba15a7c06dfe6b77379f78c172315c11527e937c 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
-#include "librpc/gen_ndr/idmap.h"
+#include "lib/messaging/irpc.h"
+#include "libcli/composite/composite.h"
+#include "librpc/gen_ndr/ndr_winbind_c.h"
+
+struct wbc_context {
+       struct tevent_context *event_ctx;
+       struct dcerpc_binding_handle *irpc_handle;
+};
+
+struct wbc_context *wbc_init(TALLOC_CTX *mem_ctx,
+                            struct imessaging_context *msg_ctx,
+                            struct tevent_context *event_ctx);
 
 NTSTATUS wbc_sids_to_xids(struct tevent_context *ev, struct id_map *ids,
                          uint32_t count);