mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
49a009c9de
Signed-off-by: DL6ER <dl6er@dl6er.de>
22 lines
642 B
C
22 lines
642 B
C
/* Pi-hole: A black hole for Internet advertisements
|
|
* (c) 2019 Pi-hole, LLC (https://pi-hole.net)
|
|
* Network-wide ad blocking via your own hardware.
|
|
*
|
|
* FTL Engine
|
|
* gravity database prototypes
|
|
*
|
|
* This file is copyright under the latest version of the EUPL.
|
|
* Please see LICENSE file for your rights under this license. */
|
|
#ifndef GRAVITY_H
|
|
#define GRAVITY_H
|
|
|
|
bool gravityDB_open(void);
|
|
void gravityDB_close(void);
|
|
bool gravityDB_getTable(unsigned char list);
|
|
const char* gravityDB_getDomain(void);
|
|
void gravityDB_finalizeTable(void);
|
|
int gravityDB_count(unsigned char list);
|
|
bool in_whitelist(const char *domain);
|
|
|
|
#endif //GRAVITY_H
|