diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-08-25 08:53:14 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-08-25 08:53:14 +0000 |
commit | 772967d2711cfdc432b2cea0c8df137edbf18bb0 (patch) | |
tree | a264ecb9cdd0bc8dd7c06f5e6900dffd0d807a86 /tools/ddcprobe/minifind.h | |
parent | 5fd67915fadb26d49934abdcafb9c37467ce2949 (diff) | |
download | drakx-772967d2711cfdc432b2cea0c8df137edbf18bb0.tar drakx-772967d2711cfdc432b2cea0c8df137edbf18bb0.tar.gz drakx-772967d2711cfdc432b2cea0c8df137edbf18bb0.tar.bz2 drakx-772967d2711cfdc432b2cea0c8df137edbf18bb0.tar.xz drakx-772967d2711cfdc432b2cea0c8df137edbf18bb0.zip |
Get EDID block from OF (kudzu)
Diffstat (limited to 'tools/ddcprobe/minifind.h')
-rw-r--r-- | tools/ddcprobe/minifind.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/ddcprobe/minifind.h b/tools/ddcprobe/minifind.h new file mode 100644 index 000000000..4f725258c --- /dev/null +++ b/tools/ddcprobe/minifind.h @@ -0,0 +1,42 @@ +/* minifind.h + * + * Copyright (c) 2002 Terra Soft Solutions, Inc. + * Written by Dan Burcaw <dburcaw@terrasoftsolutions.com> + * + * This software may be freely redistributed under the terms of the GNU + * library public license. + * + * You should have received a copy of the GNU Library Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef MINIFIND_H +#define MINIFIND_H + +#include <stdio.h> +#include <string.h> +#include <dirent.h> +#include <malloc.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/types.h> + +struct pathNode +{ + char *path; + struct pathNode *next; +}; + +struct findNode +{ + struct pathNode *result; + struct pathNode *exclude; +}; + +void insert_node(struct pathNode *n, char *path); +char *stripLastChar(char *in); +char *minifind(char *dir, char *search, struct findNode *list); + +#endif /* MINIFIND_H */ |