In repackaging mod_multicpu as part of ganglia-modules-linux, I've
noticed that it uses two non-public API functions and one #define:


char *skip_whitespace (const char *p);
char *skip_token (const char *p);

#define SYNAPSE_FAILURE -1

Co-incidentally, the IO module uses these too

Should these go in the public API of Ganglia, in other words, in the
include files that are deployed to /usr/include?  Is there a compelling
reason not to do that?  I'm guessing they were just overlooked when the
module architecture was introduced and they could be migrated to the
public API in the next minor release (e.g. 3.3.1)

As a workaround, to enable packaging of ganglia-modules-linux, I've just
copied those items into a header file in the module project:

https://sourceforge.net/p/gmod-linux/code/ci/f6af30aa37cc870d3169276d9f6743771baf1b90/tree/include/ganglia_mod_workaround.h



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to