/*1* Copyright (c) 2018-2025 CTCaer2*3* This program is free software; you can redistribute it and/or modify it4* under the terms and conditions of the GNU General Public License,5* version 2, as published by the Free Software Foundation.6*7* This program is distributed in the hope it will be useful, but WITHOUT8* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or9* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for10* more details.11*12* You should have received a copy of the GNU General Public License13* along with this program. If not, see <http://www.gnu.org/licenses/>.14*/1516#include <utils/types.h>1718#ifndef _DIRLIST_H_19#define _DIRLIST_H_2021#define DIR_MAX_ENTRIES 642223#define DIR_SHOW_HIDDEN BIT(0)24#define DIR_SHOW_DIRS BIT(1)25#define DIR_ASCII_ORDER BIT(2)2627typedef struct _dirlist_t28{29char *name[DIR_MAX_ENTRIES];30char data[DIR_MAX_ENTRIES * 256];31} dirlist_t;3233dirlist_t *dirlist(const char *directory, const char *pattern, u32 flags);3435#endif363738