diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-25 15:23:55 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-13 09:54:15 -0400 |
commit | b120c5f28876fd9efe032a6dbecebfaaff7dfd14 (patch) | |
tree | cca3a64d3d4a96d1e49450ebeff374659ed17d2b /source4/torture/nbt/dgram.c | |
parent | 813bdf466d1e0262c7b4bdf98343451db08c60f6 (diff) | |
download | samba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.tar.gz samba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.tar.bz2 samba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.zip |
torture: use tevent_ functions names instead of the legacy event_ ones
Diffstat (limited to 'source4/torture/nbt/dgram.c')
-rw-r--r-- | source4/torture/nbt/dgram.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c index aa4759edaf..68d44ff774 100644 --- a/source4/torture/nbt/dgram.c +++ b/source4/torture/nbt/dgram.c @@ -139,7 +139,7 @@ static bool nbt_test_netlogon(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "Failed to send netlogon request"); while (timeval_elapsed(&tv) < 5 && !dgmslot->private_data) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -235,7 +235,7 @@ static bool nbt_test_netlogon2(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "Failed to send netlogon request"); while (timeval_elapsed(&tv) < 5 && dgmslot->private_data == NULL) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -275,7 +275,7 @@ static bool nbt_test_netlogon2(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "Failed to send netlogon request"); while (timeval_elapsed(&tv) < 5 && dgmslot->private_data == NULL) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -327,7 +327,7 @@ static bool nbt_test_netlogon2(struct torture_context *tctx) while (timeval_elapsed(&tv) < 5 && dgmslot->private_data == NULL) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -369,7 +369,7 @@ static bool nbt_test_netlogon2(struct torture_context *tctx) while (timeval_elapsed(&tv) < 5 && dgmslot->private_data == NULL) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -408,7 +408,7 @@ static bool nbt_test_netlogon2(struct torture_context *tctx) while (timeval_elapsed(&tv) < 5 && dgmslot->private_data == NULL) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -517,7 +517,7 @@ static bool nbt_test_ntlogon(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "Failed to send ntlogon request"); while (timeval_elapsed(&tv) < 5 && dgmslot->private_data == NULL) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -561,7 +561,7 @@ static bool nbt_test_ntlogon(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "Failed to send ntlogon request"); while (timeval_elapsed(&tv) < 5 && dgmslot->private_data == NULL) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -602,7 +602,7 @@ static bool nbt_test_ntlogon(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "Failed to send ntlogon request"); while (timeval_elapsed(&tv) < 5 && !dgmslot->private_data) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); @@ -640,7 +640,7 @@ static bool nbt_test_ntlogon(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "Failed to send ntlogon request"); while (timeval_elapsed(&tv) < 5 && !dgmslot->private_data) { - event_loop_once(dgmsock->event_ctx); + tevent_loop_once(dgmsock->event_ctx); } response = talloc_get_type(dgmslot->private_data, struct nbt_netlogon_response); |