pm.c File Reference

Go to the source code of this file.

Typedefs

typedef struct pm_list_s pm_list_t

Functions

 TAILQ_HEAD (pm_list_s, pm_s)
int pm_free (pm_t *pm)
int pm_create (pm_t **ppm)
int pm_add (pm_t *pm, const char *pattern)
int pm_remove (pm_t *pm, const char *pattern)
int pm_is_empty (pm_t *pm)
int pm_match (pm_t *pm, const char *uri)

Typedef Documentation

typedef struct pm_list_s pm_list_t

Definition at line 5 of file pm.c.


Function Documentation

int pm_add ( pm_t pm,
const char *  pattern 
)

Definition at line 57 of file pm.c.

int pm_create ( pm_t **  ppm  ) 

Definition at line 39 of file pm.c.

int pm_free ( pm_t pm  ) 

Definition at line 16 of file pm.c.

int pm_is_empty ( pm_t pm  ) 

Definition at line 99 of file pm.c.

int pm_match ( pm_t pm,
const char *  uri 
)

Definition at line 108 of file pm.c.

int pm_remove ( pm_t pm,
const char *  pattern 
)

Definition at line 78 of file pm.c.

TAILQ_HEAD ( pm_list_s  ,
pm_s   
)