pihelper-c/PiHelper/pihelper.h
2019-12-31 14:05:40 -06:00

18 lines
415 B
C

#ifndef PIHELPER
#define PIHELPER
#include "config.h"
#include "log.h"
#include "network.h"
static int PIHELPER_OK = 0;
static int PIHELPER_HELP = 1;
static int PIHELPER_INVALID_COMMANDS = 2;
void pihelper_set_log_level(int level);
int pihelper_get_status(pihole_config * config);
int pihelper_enable_pihole(pihole_config * config);
int pihelper_disable_pihole(pihole_config * config, char * duration);
#endif