#include "system/network.h"
#include <talloc.h>
#include <tevent.h>
-struct fd_event;
-struct event_context;
#include "lib/async_req/async_sock.h"
#include "nsswitch/winbind_struct_protocol.h"
#include "nsswitch/libwbclient/wbclient.h"
/* Connect to socket */
- path = talloc_asprintf(talloc_tos(), "%s/%s", dir,
+ path = talloc_asprintf(mem_ctx, "%s/%s", dir,
WINBINDD_SOCKET_NAME);
if (path == NULL) {
goto nomem;
}
subreq = tevent_wakeup_send(state, state->ev,
- timeval_current_ofs(1, 0));
+ tevent_timeval_current_ofs(1, 0));
if (tevent_req_nomem(subreq, req)) {
return true;
}