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_reg.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_reg.c')
-rw-r--r-- | source3/rpc_server/srv_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_reg.c b/source3/rpc_server/srv_reg.c index 04960f8e3a..8fc1d42b2f 100644 --- a/source3/rpc_server/srv_reg.c +++ b/source3/rpc_server/srv_reg.c @@ -374,7 +374,7 @@ static BOOL api_reg_save_key(pipes_struct *p) ********************************************************************/ #ifdef RPC_REG_DYNAMIC -int rpc_pipe_init(void) +int init_module(void) #else int rpc_reg_init(void) #endif |