diff options
author | Jim McDonough <jmcd@samba.org> | 2003-01-17 20:57:26 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-01-17 20:57:26 +0000 |
commit | 9eb368e068076f65083916573cf832988e216b59 (patch) | |
tree | fb9cb68de693b1ac563abb748f899aebae6890de /source3/lib/util.c | |
parent | 8305409e797f9b62dad0720141ca8ed2f802a22b (diff) | |
download | samba-9eb368e068076f65083916573cf832988e216b59.tar.gz samba-9eb368e068076f65083916573cf832988e216b59.tar.bz2 samba-9eb368e068076f65083916573cf832988e216b59.zip |
Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt for instructions.
(This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 07f7328b05..949522cf7b 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -4,6 +4,7 @@ Copyright (C) Andrew Tridgell 1992-1998 Copyright (C) Jeremy Allison 2001-2002 Copyright (C) Simo Sorce 2001 + Copyright (C) Anthony Liguori 2003 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -2190,6 +2191,17 @@ char *lib_path(const char *name) return fname; } +/** + * @brief Returns the platform specific shared library extension. + * + * @retval Pointer to a static #fstring containing the extension. + **/ + +const char *shlib_ext(void) +{ + return dyn_SHLIBEXT; +} + /******************************************************************* Given a filename - get its directory name NB: Returned in static storage. Caveats: |