denyhosts/disk.h
2024-05-27 16:05:31 +08:00

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