mirror of
https://github.com/samba-team/samba.git
synced 2025-10-24 15:33:20 +03:00
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
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include "lib/socket/socket.h"
|
||||
#include "../lib/util/dlinklist.h"
|
||||
|
||||
struct event_context;
|
||||
struct tevent_context;
|
||||
|
||||
/*
|
||||
this header declares the core context structures associated with smb
|
||||
@@ -394,7 +394,7 @@ struct smbsrv_connection {
|
||||
struct model_ops;
|
||||
struct loadparm_context;
|
||||
|
||||
NTSTATUS smbsrv_add_socket(struct event_context *event_context,
|
||||
NTSTATUS smbsrv_add_socket(struct tevent_context *event_context,
|
||||
struct loadparm_context *lp_ctx,
|
||||
const struct model_ops *model_ops,
|
||||
const char *address);
|
||||
|
||||
Reference in New Issue
Block a user