From 772967d2711cfdc432b2cea0c8df137edbf18bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Wed, 25 Aug 2004 08:53:14 +0000 Subject: Get EDID block from OF (kudzu) --- tools/ddcprobe/minifind.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tools/ddcprobe/minifind.h (limited to 'tools/ddcprobe/minifind.h') 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 + * + * 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 +#include +#include +#include +#include +#include +#include + +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 */ -- cgit v1.2.1