aboutsummaryrefslogtreecommitdiff
path: root/src/querymanager.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-09-12 23:48:00 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-09-12 23:48:00 -0300
commit5e980ee99afd161d6258e5ea68f7284f715e5577 (patch)
tree18d6e5aea316321da83aab9fc3b4cf03724ed2d6 /src/querymanager.hh
parent6694516890d12e11b89f76a480032cc60c1ab4e2 (diff)
downloadquerymanager-5e980ee99afd161d6258e5ea68f7284f715e5577.tar.gz
querymanager-5e980ee99afd161d6258e5ea68f7284f715e5577.zip
fix queries where the IP address is optional
Diffstat (limited to 'src/querymanager.hh')
-rw-r--r--src/querymanager.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/querymanager.hh b/src/querymanager.hh
index c1e48eb..0137f64 100644
--- a/src/querymanager.hh
+++ b/src/querymanager.hh
@@ -110,6 +110,7 @@ bool StringEqCI(const char *A, const char *B);
bool StringCopyN(char *Dest, int DestCapacity, const char *Src, int SrcLength);
bool StringCopy(char *Dest, int DestCapacity, const char *Src);
bool ParseIPAddress(const char *String, int *OutAddr);
+bool ParseOptionalIPAddress(const char *String, int *OutAddr);
bool ReadBooleanConfig(bool *Dest, const char *Val);
bool ReadIntegerConfig(int *Dest, const char *Val);