diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-09-29 15:21:20 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-09-29 15:21:20 +0000 |
| commit | aa78f2b7b5db7e99db5713031b769da2e9ef673f (patch) | |
| tree | cb8ba86811395f5c862cf78f05ff24fe769de19a /include | |
| parent | 5e63748e28881095925f8183e2baccdf788b12e6 (diff) | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2084 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
| -rw-r--r-- | include/sysinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index 75f48b5b..ab412b72 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -42,6 +42,7 @@ void init_metrics(); void add_user_parameter(char *key,char *command); void test_parameters(void); int getPROC(char *file,int lineno,int fieldno, double *value); +int get_param(char *param, int num, char *buf, int maxlen); int VM_MEMORY_BUFFERS(const char *cmd, const char *parameter,double *value); int VM_MEMORY_CACHED(const char *cmd, const char *parameter,double *value); @@ -77,6 +78,8 @@ int VFS_FILE_CKSUM(const char *cmd, const char *filename,double *value); int VFS_FILE_CTIME(const char *cmd, const char *filename,double *value); int VFS_FILE_MD5SUM(const char *cmd, const char *filename, char **value); int VFS_FILE_MTIME(const char *cmd, const char *filename,double *value); +int VFS_FILE_REGEXP(const char *cmd, const char *filename, char **value); +int VFS_FILE_REGMATCH(const char *cmd, const char *filename,double *value); int VFS_FILE_SIZE(const char *cmd, const char *filename,double *value); int VFS_FILE_EXISTS(const char *cmd, const char *filename,double *value); |
