summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_internal.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-02-11 10:56:58 -0800
committerJeremy Allison <jra@samba.org>2013-02-14 10:19:38 -0800
commitaceeb585cb6170e42cadae17791b8314083c278c (patch)
tree369180c5d89729945fad9ebc453c157f1547cd80 /lib/tevent/tevent_internal.h
parent1ee428d5cad6910521ce77322614183fa2c7916e (diff)
downloadsamba-aceeb585cb6170e42cadae17791b8314083c278c.tar.gz
samba-aceeb585cb6170e42cadae17791b8314083c278c.tar.bz2
samba-aceeb585cb6170e42cadae17791b8314083c278c.zip
tevent: Add a utility function tevent_find_ops_byname().
Returns an event ops struct given a string name. Not yet used, but will be part of the new "standard" fallback code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/tevent/tevent_internal.h')
-rw-r--r--lib/tevent/tevent_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h
index 4e9cd69213..fa6652cfa1 100644
--- a/lib/tevent/tevent_internal.h
+++ b/lib/tevent/tevent_internal.h
@@ -265,6 +265,7 @@ struct tevent_context {
} tracing;
};
+const struct tevent_ops *tevent_find_ops_byname(const char *name);
int tevent_common_context_destructor(struct tevent_context *ev);
int tevent_common_loop_wait(struct tevent_context *ev,