Commit Graph

33 Commits

Author SHA1 Message Date
Jeffrey Altman
6850d6a65f avoid uninit variable and unreachable code warnings
most of these warnings are not problems because of ample
use of abort() calls.  However, the large number of warnings
makes it difficult to identify real problems.  Initialize
the variables to shut up the compilers.

Change-Id: I8477c11b17c7b6a7d9074c721fdd2d7303b186a8
2011-05-17 12:02:16 -04:00
Asanka C. Herath
0f853405fe Add missing export and calling convention annotations 2010-11-24 15:32:49 -05:00
Asanka C. Herath
03694f3505 Trim trailing slashes of plug-in paths 2010-11-24 15:32:11 -05:00
Asanka C. Herath
6abe08a0a3 Validate plug-in names before loading
On Windows, we only want to load .dll files are plug-ins, even though
there might be other support files present in the plug-in directory.
2010-11-24 15:32:06 -05:00
Asanka C. Herath
7fea5ff69a Use expanded path names when loading plug-ins 2010-11-24 15:32:05 -05:00
Love Hornquist Astrand
e0a1e0a806 simplify 2010-10-27 20:48:55 -07:00
Love Hornquist Astrand
7259b7deff new way to run plugins that have less overhead (code and performance vice) 2010-10-27 20:42:35 -07:00
Love Hornquist Astrand
788189805c catch error from as.*printf 2010-05-30 13:28:49 -07:00
Love Hornquist Astrand
2664543dd5 spelling 2010-05-27 10:41:39 -05:00
Asanka Herath
5c0f3f99c6 Use path tokens when locating plug-in .dlls 2010-05-26 10:38:44 -04:00
Asanka Herath
68cfbb7e19 Add rk_cloexec_dir() to lib/roken 2009-12-22 14:03:39 -05:00
Asanka Herath
78a237e3cc No dirfd() on Windows 2009-11-24 10:16:49 -08:00
Love Hornquist Astrand
9b710bed81 store is never read again 2009-07-29 22:37:58 +02:00
Love Hornquist Astrand
7e4854250e Actually register new plugins and plug a related memory leak 2009-07-19 21:23:56 -07:00
Love Hornquist Astrand
d4ca938866 Only load plugins once and never unload them
Its expensive to load and unload plugins all the time, so lets stop doing that.
Run over the plugin directory and load all plugins and remember them all.
In the future, something should watch the directory and if it changes,
load the new plugins that was put there.
2009-07-17 15:18:00 -07:00
Love Hörnquist Åstrand
98d9f63c51 find macos framework plugins
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:18:15 +00:00
Love Hörnquist Åstrand
942a821fab remove RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
03babea1e3 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:39 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
f8b6cf5b3a check for duplicates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:14:17 +00:00
Love Hörnquist Åstrand
b2eed84f4c close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:10:30 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
bb38dbf61b doxygen documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-10 10:39:47 +00:00
Love Hörnquist Åstrand
9b1d640943 expose krb5_plugin_register
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-03 21:36:38 +00:00
Love Hörnquist Åstrand
ec87717745 Don't try to do dlopen if system doesn't have dlopen. From Rune of Chalmers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-26 19:12:43 +00:00
Love Hörnquist Åstrand
769f1573b8 Prefix enum plugin_type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 09:11:32 +00:00
Love Hörnquist Åstrand
589de42d6d Prefix enum plugin_type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 09:07:56 +00:00
Love Hörnquist Åstrand
a073113c08 Don't expose free pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:02:23 +00:00
Love Hörnquist Åstrand
d4b0d11e0a update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 17:46:01 +00:00
Love Hörnquist Åstrand
f3b06c771d (loadlib): pass RTLD_LAZY to dlopen, without it linux is unhappy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:31:01 +00:00
Love Hörnquist Åstrand
ec21016cde Read config file and allow multi directories.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:39:43 +00:00
Love Hörnquist Åstrand
d4c6410532 Add first version of the plugin interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 18:58:41 +00:00