Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRudolfs Kreicbergs <git-no-reply@zabbix.com>2011-05-03 13:43:57 +0400
committerRudolfs Kreicbergs <git-no-reply@zabbix.com>2011-05-03 13:43:57 +0400
commitc1c2f7d514dd98f53ee46383100e19b27463b453 (patch)
tree375974b3326111dcd167352192c0c7609f73c10c /include/alias.h
parent9375e944d51aede5a9d4d4806dbdf858c50f0915 (diff)
- [ZBX-3547] Rewrote performance counters and cpu stats collection for Windows [merged from branches/1.8 r19318
Diffstat (limited to 'include/alias.h')
-rw-r--r--include/alias.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/include/alias.h b/include/alias.h
index 78a4c51ed83..6ba5f59b2ad 100644
--- a/include/alias.h
+++ b/include/alias.h
@@ -22,18 +22,17 @@
#define MAX_ALIAS_NAME 120
-struct zbx_alias
+typedef struct zbx_alias
{
- struct zbx_alias *next;
- char name[MAX_ALIAS_NAME];
- char *value;
-};
-
-typedef struct zbx_alias ALIAS;
+ struct zbx_alias *next;
+ char name[MAX_ALIAS_NAME];
+ char *value;
+}
+ALIAS;
int add_alias(const char *name, const char *value);
int add_alias_from_config(char *value);
-void alias_list_free(void);
+void alias_list_free();
void alias_expand(const char *orig, char *expanded, int exp_buf_len);
-#endif /* ZABBIX_ALIAS_H */
+#endif /* ZABBIX_ALIAS_H */