diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-29 20:24:57 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-29 20:46:40 +0100 |
commit | 183c379fe58ca60f5ef2d1f2033d035d4117ac8f (patch) | |
tree | d68d3895f1e79b96c3af2c80cac6a403a1a180d4 /source4/winbind | |
parent | af29b82536ef678e6a1817aa11be8c363253b305 (diff) | |
download | samba-183c379fe58ca60f5ef2d1f2033d035d4117ac8f.tar.gz |
s4:lib/tevent: rename structs
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/idmap.c | 2 | ||||
-rw-r--r-- | source4/winbind/idmap.h | 2 | ||||
-rw-r--r-- | source4/winbind/wb_pam_auth.c | 2 | ||||
-rw-r--r-- | source4/winbind/wb_server.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/winbind/idmap.c b/source4/winbind/idmap.c index 56ade3e8b1d..f7be59136ce 100644 --- a/source4/winbind/idmap.c +++ b/source4/winbind/idmap.c @@ -156,7 +156,7 @@ static struct dom_sid *idmap_msg_get_dom_sid(TALLOC_CTX *mem_ctx, * \return allocated idmap_context on success, NULL on error */ struct idmap_context *idmap_init(TALLOC_CTX *mem_ctx, - struct event_context *ev_ctx, + struct tevent_context *ev_ctx, struct loadparm_context *lp_ctx) { struct idmap_context *idmap_ctx; diff --git a/source4/winbind/idmap.h b/source4/winbind/idmap.h index 13dbe0b9214..7429466bed6 100644 --- a/source4/winbind/idmap.h +++ b/source4/winbind/idmap.h @@ -31,7 +31,7 @@ struct idmap_context { struct dom_sid *unix_users_sid; }; -struct event_context; +struct tevent_context; #include "winbind/idmap_proto.h" diff --git a/source4/winbind/wb_pam_auth.c b/source4/winbind/wb_pam_auth.c index 5913f8d1bfe..b2579fd6df1 100644 --- a/source4/winbind/wb_pam_auth.c +++ b/source4/winbind/wb_pam_auth.c @@ -34,7 +34,7 @@ /* Oh, there is so much to keep an eye on when authenticating a user. Oh my! */ struct pam_auth_crap_state { struct composite_context *ctx; - struct event_context *event_ctx; + struct tevent_context *event_ctx; struct loadparm_context *lp_ctx; struct winbind_SamLogon *req; diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h index 97d7d8151e3..be79872e658 100644 --- a/source4/winbind/wb_server.h +++ b/source4/winbind/wb_server.h @@ -149,7 +149,7 @@ struct wbsrv_samba3_call { struct wbsrv_connection *wbconn; /* the backend should use this event context */ - struct event_context *event_ctx; + struct tevent_context *event_ctx; /* here the backend can store stuff like composite_context's ... */ void *private_data; |