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