• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2007 Novell, Inc.
4  */
5 
6 #ifndef __SOUP_PATH_MAP_H__
7 #define __SOUP_PATH_MAP_H__ 1
8 
9 #include <libsoup/soup-types.h>
10 
11 typedef struct SoupPathMap SoupPathMap;
12 
13 SoupPathMap *soup_path_map_new    (GDestroyNotify  data_free_func);
14 void         soup_path_map_free   (SoupPathMap    *map);
15 
16 void         soup_path_map_add    (SoupPathMap    *map,
17 				   const char     *path,
18 				   gpointer        data);
19 void         soup_path_map_remove (SoupPathMap    *map,
20 				   const char     *path);
21 
22 gpointer     soup_path_map_lookup (SoupPathMap    *map,
23 				   const char     *path);
24 
25 
26 #endif /* __SOUP_PATH_MAP_H__ */
27