00001 // @(#)root/base:$Id: Match.h 30815 2009-10-20 13:49:22Z rdm $ 00002 // Author: Fons Rademakers 04/08/95 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_Match 00013 #define ROOT_Match 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // Declarations for regular expression routines. // 00019 // // 00020 ////////////////////////////////////////////////////////////////////////// 00021 00022 #if !defined(__CINT__) 00023 #include <sys/types.h> 00024 #endif 00025 00026 typedef unsigned short Pattern_t; 00027 00028 int Makepat(const char*, Pattern_t*, int); 00029 const char* Matchs(const char*, size_t len, const Pattern_t*, 00030 const char**); 00031 00032 #endif