su_os_nw.c File Reference


Detailed Description

Implementation of OS-specific network events interface.

Author:
Martti Mela <Martti.Mela@nokia-email.address.hidden>
Date:
Created: Fri Aug 11 07:30:04 2006 mela

#include "config.h"
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include "sofia-sip/su.h"
#include "sofia-sip/su_alloc.h"
#include "sofia-sip/su_wait.h"
#include "sofia-sip/su_debug.h"
#include "sofia-sip/su_os_nw.h"

Include dependency graph for su_os_nw.c:


Functions

su_network_changed_t * su_root_add_network_changed (su_home_t *home, su_root_t *root, su_network_changed_f *network_changed_cb, su_network_changed_magic_t *magic)
 Register a callback for the network change event.
int su_root_remove_network_changed (su_network_changed_t *snc)
 Remove a callback registered for the network change event.

Function Documentation

su_network_changed_t* su_root_add_network_changed ( su_home_t home,
su_root_t root,
su_network_changed_f network_changed_cb,
su_network_changed_magic_t magic 
)

Register a callback for the network change event.

Since:
New in 1.12.2.

int su_root_remove_network_changed ( su_network_changed_t *  snc  ) 

Remove a callback registered for the network change event.

Since:
New in 1.12.2.


Sofia-SIP 1.12.6 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.