pm.h

00001 #ifndef _KLONE_PM_H_
00002 #define _KLONE_PM_H_
00003 
00004 /* pattern matching object */
00005 struct pm_s;
00006 typedef struct pm_s pm_t;
00007 
00008 int pm_create(pm_t **ppm);
00009 int pm_free(pm_t *pm);
00010 int pm_is_empty(pm_t *pm);
00011 int pm_add(pm_t *pm, const char *pattern);
00012 int pm_remove(pm_t *pm, const char *pattern);
00013 int pm_match(pm_t *pm, const char *uri);
00014 
00015 #endif

←Products
Copyright © 2005-2012 - KoanLogic S.r.l. - All rights reserved