Logo Search packages:      
Sourcecode: sofia-sip version File versions

urlmap.c File Reference


Detailed Description

Mapping with hierarchical URLs.

For internal use only.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>
Date:
Created: Wed Mar 10 17:05:23 2004 ppessi

Definition in file urlmap.c.

#include "config.h"
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include "urlmap.h"

Go to the source code of this file.

Functions

static void left_rotate (UrlMap **top, UrlMap *x)
static void red_black_balance_delete (UrlMap **top, UrlMap *um)
static void red_black_balance_insert (UrlMap **top, UrlMap *um)
static void right_rotate (UrlMap **top, UrlMap *x)
UrlMapurl_map_find (UrlMap *root, url_string_t const *url, int relative)
int url_map_insert (UrlMap **const tree, UrlMap *const um, UrlMap **return_old)
UrlMapurl_map_new (su_home_t *home, url_string_t const *url, unsigned size)
void url_map_remove (UrlMap **top, UrlMap *um)
su_inline int urlmap_pathcmp (url_t const *a, url_t const *b, int *return_hostmatch)


Generated by  Doxygen 1.6.0   Back to index