mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-17 06:35:47 +01:00
wmmenugen: Add file name validator function
Add optional interface parsers may choose to implement that, when a directory is being scanned for files to parse, may, based on the file name, decide whether or not said file should be parsed. Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
5377ec8fba
commit
a23b72c32a
@@ -57,3 +57,5 @@ Bool fileInPath(const char *file);
|
||||
*/
|
||||
void parse_xdg(const char *file, void (*addWMMenuEntryCallback)(WMMenuEntry *aEntry));
|
||||
void parse_wmconfig(const char *file, void (*addWMMenuEntryCallback)(WMMenuEntry *aEntry));
|
||||
Bool wmconfig_validate_file(const char *filename, const struct stat *st, int tflags, struct FTW *ftw);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user