denyhosts/disk.h

20 lines
320 B
C
Raw Normal View History

2024-05-22 15:10:19 +08:00
#ifndef DISK_H
#define DISK_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mntent.h>
#include <sys/statvfs.h>
2024-05-23 18:12:04 +08:00
#include "rhost.h"
2024-05-27 16:05:31 +08:00
#include "common.h"
#include "warning.h"
2024-05-23 18:12:04 +08:00
#define INITIAL_SIZE 1024
#define BUFFER_INCREMENT 512
int disk_usage(conf *conf, char *local_ip, int threshold);
2024-05-22 15:10:19 +08:00
#endif