projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1699 from tokkee/sh/grpc
[collectd.git]
/
src
/
daemon
/
plugin.h
diff --git
a/src/daemon/plugin.h
b/src/daemon/plugin.h
index
a63f5cd
..
75498c8
100644
(file)
--- a/
src/daemon/plugin.h
+++ b/
src/daemon/plugin.h
@@
-1,5
+1,5
@@
/**
/**
- * collectd - src/plugin.h
+ * collectd - src/
daemon/
plugin.h
* Copyright (C) 2005-2014 Florian octo Forster
*
* Permission is hereby granted, free of charge, to any person obtaining a
* Copyright (C) 2005-2014 Florian octo Forster
*
* Permission is hereby granted, free of charge, to any person obtaining a
@@
-33,13
+33,13
@@
#include "meta_data.h"
#include "utils_time.h"
#include "meta_data.h"
#include "utils_time.h"
-#if HAVE_PTHREAD_H
-# include <pthread.h>
-#endif
+#include <pthread.h>
#define PLUGIN_FLAGS_GLOBAL 0x0001
#define PLUGIN_FLAGS_GLOBAL 0x0001
-#define DATA_MAX_NAME_LEN 64
+#ifndef DATA_MAX_NAME_LEN
+# define DATA_MAX_NAME_LEN 64
+#endif
#define DS_TYPE_COUNTER 0
#define DS_TYPE_GAUGE 1
#define DS_TYPE_COUNTER 0
#define DS_TYPE_GAUGE 1
@@
-240,10
+240,10
@@
void plugin_set_dir (const char *dir);
*/
int plugin_load (const char *name, uint32_t flags);
*/
int plugin_load (const char *name, uint32_t flags);
-
void
plugin_init_all (void);
+
int
plugin_init_all (void);
void plugin_read_all (void);
int plugin_read_all_once (void);
void plugin_read_all (void);
int plugin_read_all_once (void);
-
void
plugin_shutdown_all (void);
+
int
plugin_shutdown_all (void);
/*
* NAME
/*
* NAME