openbsd-ports/sysutils/collectd/patches/patch-src_utils_db_query_h
landry da4ec499a5 Import of collectd 4.10, yet another monitoring daemon :
collectd gathers statistics about the system it is running on and stores
this information. Those statistics can then be used to find current
performance bottlenecks (i.e. performance analysis) and predict future
system load (i.e. capacity planning). Or if you just want pretty graphs
of your private server and are fed up with some homegrown solution
you're at the right place, too ;).

Reworked by bernd@ to use MULTI_PACKAGES instead of FLAVORS, thanks!
With feedback from Nico Szalay.

ok bernd@
2010-06-23 18:04:26 +00:00

21 lines
983 B
Plaintext

$OpenBSD: patch-src_utils_db_query_h,v 1.1.1.1 2010/06/23 18:04:26 landry Exp $
--- src/utils_db_query.h.orig Sat May 1 11:15:45 2010
+++ src/utils_db_query.h Sat Jun 19 11:22:07 2010
@@ -65,13 +65,13 @@ void *udb_query_get_user_data (udb_query_t *q);
*/
int udb_query_check_version (udb_query_t *q, unsigned int version);
-int udb_query_prepare_result (const udb_query_t const *q,
+int udb_query_prepare_result (const udb_query_t *q,
udb_query_preparation_area_t *prep_area,
const char *host, const char *plugin, const char *db_name,
char **column_names, size_t column_num, int interval);
-int udb_query_handle_result (const udb_query_t const *q,
+int udb_query_handle_result (const udb_query_t *q,
udb_query_preparation_area_t *prep_area, char **column_values);
-void udb_query_finish_result (const udb_query_t const *q,
+void udb_query_finish_result (const udb_query_t *q,
udb_query_preparation_area_t *prep_area);
udb_query_preparation_area_t *