diff options
author | Jim McDonough <jmcd@samba.org> | 2003-02-14 00:48:28 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-02-14 00:48:28 +0000 |
commit | d9c485b01017594d113502f9de2248d6c120cfa3 (patch) | |
tree | a74f93c1699af87f92186c87f2142da909e4172f /source/lib/util.c | |
parent | 5cfb30551a713caa3d69406450c1eac4541a30fa (diff) | |
download | samba-d9c485b01017594d113502f9de2248d6c120cfa3.tar.gz samba-d9c485b01017594d113502f9de2248d6c120cfa3.tar.xz samba-d9c485b01017594d113502f9de2248d6c120cfa3.zip |
merge from HEAD - enable dynamic RPC modules
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index d13d993da7c..b4d9e9f16fe 100644 --- a/source/lib/util.c +++ b/source/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 @@ -2182,6 +2183,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: |