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/client/client.c | |
parent | af29b82536ef678e6a1817aa11be8c363253b305 (diff) | |
download | samba-183c379fe58ca60f5ef2d1f2033d035d4117ac8f.tar.gz samba-183c379fe58ca60f5ef2d1f2033d035d4117ac8f.tar.xz samba-183c379fe58ca60f5ef2d1f2033d035d4117ac8f.zip |
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/client/client.c')
-rw-r--r-- | source4/client/client.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index a600b5fb0c6..13b7053396a 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -2557,7 +2557,7 @@ static void display_share_result(struct srvsvc_NetShareCtr1 *ctr1) try and browse available shares on a host ****************************************************************************/ static bool browse_host(struct loadparm_context *lp_ctx, - struct event_context *ev_ctx, + struct tevent_context *ev_ctx, const char *query_host) { struct dcerpc_pipe *p; @@ -3041,7 +3041,7 @@ static int process_stdin(struct smbclient_context *ctx) return a connection to a server *******************************************************/ static bool do_connect(struct smbclient_context *ctx, - struct event_context *ev_ctx, + struct tevent_context *ev_ctx, struct resolve_context *resolve_ctx, const char *specified_server, const char **ports, const char *specified_share, @@ -3088,7 +3088,7 @@ static bool do_connect(struct smbclient_context *ctx, handle a -L query ****************************************************************************/ static int do_host_query(struct loadparm_context *lp_ctx, - struct event_context *ev_ctx, + struct tevent_context *ev_ctx, const char *query_host, const char *workgroup) { @@ -3104,7 +3104,7 @@ handle a message operation static int do_message_op(const char *netbios_name, const char *desthost, const char **destports, const char *destip, int name_type, - struct event_context *ev_ctx, + struct tevent_context *ev_ctx, struct resolve_context *resolve_ctx, struct smbcli_options *options, struct smb_iconv_convenience *iconv_convenience, @@ -3160,7 +3160,7 @@ static int do_message_op(const char *netbios_name, const char *desthost, int rc = 0; int name_type = 0x20; TALLOC_CTX *mem_ctx; - struct event_context *ev_ctx; + struct tevent_context *ev_ctx; struct smbclient_context *ctx; const char *cmdstr = NULL; struct smbcli_options smb_options; |