summaryrefslogtreecommitdiff
path: root/source4/auth/pass_check.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-04-05 16:06:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:50:40 -0500
commit220ea5b6e6e4d049cb80c1c206ead6021b807283 (patch)
tree4f841156063241b1c686d8d8dece833c045bd2b4 /source4/auth/pass_check.c
parent2542ed0ac75d545eef3571bfb19fb39a5b71beb3 (diff)
downloadsamba-220ea5b6e6e4d049cb80c1c206ead6021b807283.tar.gz
samba-220ea5b6e6e4d049cb80c1c206ead6021b807283.tar.bz2
samba-220ea5b6e6e4d049cb80c1c206ead6021b807283.zip
r55: if you try to use a custom bind or unbind hook in
a dcesrv module and also use the autogenerated boilerplate you can just use: #define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_BIND <interface_name>_bind #define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_UNBIND <interface_name>_unbind the prototype for the functions are the same as in struct dcesrv_interface { ... /* this function is called when the client binds to this interface */ NTSTATUS (*bind)(struct dcesrv_call_state *, const struct dcesrv_interface *); /* this function is called when the client disconnects the endpoint */ void (*unbind)(struct dcesrv_connection *, const struct dcesrv_interface *); ... }; e.g. #define DCESRV_INTERFACE_WINREG_BIND winreg_bind #define DCESRV_INTERFACE_WINREG_UNBIND winreg_unbind metze (This used to be commit ae97f5f50b0d00889f29e1903513cee88891545d)
Diffstat (limited to 'source4/auth/pass_check.c')
0 files changed, 0 insertions, 0 deletions