summaryrefslogtreecommitdiffstats
path: root/IncSet.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-05 14:45:12 +0100
committerBenBE <BenBE@geshi.org>2021-01-11 20:12:34 +0100
commit958112c5a396815da7a731f406dbfd27bf713572 (patch)
tree49b8640137ba6e70072d5ade0bc8260abc59dc8e /IncSet.h
parenta118928dee0874eef98be81531a98577c1ae3f7d (diff)
Refactor setting filter and use safe strncpy
Diffstat (limited to 'IncSet.h')
-rw-r--r--IncSet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/IncSet.h b/IncSet.h
index 28580023..4ff19aad 100644
--- a/IncSet.h
+++ b/IncSet.h
@@ -40,6 +40,8 @@ static inline const char* IncSet_filter(const IncSet* this) {
return this->filtering ? this->modes[INC_FILTER].buffer : NULL;
}
+void IncSet_setFilter(IncSet* this, const char* filter);
+
typedef const char* (*IncMode_GetPanelValue)(Panel*, int);
void IncSet_reset(IncSet* this, IncType type);

© 2014-2024 Faster IT GmbH | imprint | privacy policy