ctdb-scripts: Move connection tracking to 10.interface
[samba4-gss.git] / source3 / smbd / notifyd / fcn_wait.h
blobdaadee4fe05d86b21bd607dc533592fc1e15257c
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 3 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #ifndef __NOTIFYD_FCN_WAIT_H__
17 #define __NOTIFYD_FCN_WAIT_H__
19 #include "replace.h"
20 #include "messages.h"
21 #include "librpc/gen_ndr/server_id.h"
23 struct tevent_req *fcn_wait_send(
24 TALLOC_CTX *mem_ctx,
25 struct tevent_context *ev,
26 struct messaging_context *msg_ctx,
27 struct server_id notifyd,
28 const char *path,
29 uint32_t filter,
30 uint32_t subdir_filter);
31 NTSTATUS fcn_wait_recv(
32 struct tevent_req *req,
33 TALLOC_CTX *mem_ctx,
34 struct timespec *when,
35 uint32_t *action,
36 char **path);
38 #endif