diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-02-18 18:34:48 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-02-18 18:34:48 +0000 |
commit | c536b88b2b71c264a1e31ada51e463fee5cb949b (patch) | |
tree | 406f7c9d2d1ca7afc1245ddf9487f7106fd91b83 /source3/rpc_server/srv_samr.c | |
parent | 030beddfb3c5208256c08b3cd2620332113f6308 (diff) | |
download | samba-c536b88b2b71c264a1e31ada51e463fee5cb949b.tar.gz samba-c536b88b2b71c264a1e31ada51e463fee5cb949b.tar.bz2 samba-c536b88b2b71c264a1e31ada51e463fee5cb949b.zip |
Use the new modules stuff to load dynrpc modules. Basically this means:
- calling the initialization function in the module init_module() instead of rpc_pipe_init()
- calling smb_load_module() to do the dlopen(), dlsym() and init_module() calls
I'll merge this to 3.0, together with the smb_load_module() function.
Discussed with Anthony.
(This used to be commit 3757ed8df06ca2b306bef336bdb9c7671f5e6a65)
Diffstat (limited to 'source3/rpc_server/srv_samr.c')
-rw-r--r-- | source3/rpc_server/srv_samr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c index 3a31ec82e1..b75195ceef 100644 --- a/source3/rpc_server/srv_samr.c +++ b/source3/rpc_server/srv_samr.c @@ -1444,7 +1444,7 @@ static BOOL api_samr_set_dom_info(pipes_struct *p) ********************************************************************/ #ifdef RPC_SAMR_DYNAMIC -int rpc_pipe_init(void) +int init_module(void) #else int rpc_samr_init(void) #endif |