20 lines
320 B
C
20 lines
320 B
C
#ifndef DISK_H
|
|
#define DISK_H
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <mntent.h>
|
|
#include <sys/statvfs.h>
|
|
|
|
#include "rhost.h"
|
|
#include "common.h"
|
|
#include "warning.h"
|
|
|
|
#define INITIAL_SIZE 1024
|
|
#define BUFFER_INCREMENT 512
|
|
|
|
int disk_usage(conf *conf, char *local_ip, int threshold);
|
|
|
|
#endif
|