summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 10:00:26 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:54 +0100
commit935a40f4f20048204fb7baf2f208e7e44f2485e7 (patch)
treefe6cb8650595018e00379eb45c7a5275cec5bcf9 /source3/include
parentd0bca41f481fbaa4b25190bbb58fe119ca5ccec9 (diff)
downloadsamba-935a40f4f20048204fb7baf2f208e7e44f2485e7.tar.gz
samba-935a40f4f20048204fb7baf2f208e7e44f2485e7.tar.xz
samba-935a40f4f20048204fb7baf2f208e7e44f2485e7.zip
s3:lib: s/struct event_context/struct tevent_context
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/messages.h4
-rw-r--r--source3/include/proto.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index 4b45901afd..12fc439969 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -77,7 +77,7 @@ struct messaging_rec;
struct messaging_context {
struct server_id id;
- struct event_context *event_ctx;
+ struct tevent_context *event_ctx;
struct messaging_callback *callbacks;
struct messaging_backend *local;
@@ -111,7 +111,7 @@ bool message_send_all(struct messaging_context *msg_ctx,
const void *buf, size_t len,
int *n_sent);
struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx,
- struct event_context *ev);
+ struct tevent_context *ev);
struct server_id messaging_server_id(const struct messaging_context *msg_ctx);
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 925039df76..77b949037b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -392,7 +392,7 @@ ssize_t write_data_at_offset(int fd, const char *buffer, size_t N, off_t pos);
int set_blocking(int fd, bool set);
NTSTATUS init_before_fork(void);
NTSTATUS reinit_after_fork(struct messaging_context *msg_ctx,
- struct event_context *ev_ctx,
+ struct tevent_context *ev_ctx,
bool parent_longlived);
void *malloc_(size_t size);
void *Realloc(void *p, size_t size, bool free_old_on_error);
@@ -607,13 +607,13 @@ int open_socket_in(int type,
NTSTATUS open_socket_out(const struct sockaddr_storage *pss, uint16_t port,
int timeout, int *pfd);
struct tevent_req *open_socket_out_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
const struct sockaddr_storage *pss,
uint16_t port,
int timeout);
NTSTATUS open_socket_out_recv(struct tevent_req *req, int *pfd);
struct tevent_req *open_socket_out_defer_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct timeval wait_time,
const struct sockaddr_storage *pss,
uint16_t port,