summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-02-14 00:48:28 +0000
committerJim McDonough <jmcd@samba.org>2003-02-14 00:48:28 +0000
commit49d3f7bc81d3ce96513128f3e504ae1228e53d68 (patch)
tree3dcf850272d78fef0d576a941bb0ac08d1ff5c01 /source3/lib
parent3807a1dadf1905567d70a7dd2b6344b884cf0ef7 (diff)
downloadsamba-49d3f7bc81d3ce96513128f3e504ae1228e53d68.tar.gz
samba-49d3f7bc81d3ce96513128f3e504ae1228e53d68.tar.bz2
samba-49d3f7bc81d3ce96513128f3e504ae1228e53d68.zip
merge from HEAD - enable dynamic RPC modules
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index d13d993da7..b4d9e9f16f 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
@@ -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: