* Java representation of collectd/src/filter_chain.h:fc_register_target
*
* @return Zero when successful, non-zero otherwise.
- * @see CollectdTargetTargetInterface
+ * @see CollectdTargetFactoryInterface
*/
native public static int registerTarget (String name,
CollectdTargetFactoryInterface object);
native private static void log (int severity, String message);
/**
+ * Yield contents of collectd/src/collectd.h:hostname_g
+ *
+ * @return The hostname as set in the collectd configuration.
+ */
+ native public static java.lang.String getHostname ();
+
+ /**
* Prints an error message.
*/
public static void logError (String message)