File: soup-path-map.h

package info (click to toggle)
libsoup2.4 2.72.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,856 kB
  • sloc: ansic: 57,273; xml: 1,418; python: 84; php: 75; javascript: 64; sh: 49; makefile: 14
file content (26 lines) | stat: -rw-r--r-- 701 bytes parent folder | download | duplicates (4)
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 <libsoup/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__ */