mUPnP for C
interface.c File Reference
#include <mupnp/net/interface.h>
#include <mupnp/util/log.h>
#include <string.h>

Functions

mUpnpNetworkInterfacemupnp_net_interface_new ()
 
void mupnp_net_interface_delete (mUpnpNetworkInterface *netIf)
 
mUpnpNetworkInterfacemupnp_net_interface_getany ()
 
void mupnp_net_interface_setname (mUpnpNetworkInterface *netIf, char *name)
 
char * mupnp_net_interface_getname (mUpnpNetworkInterface *netIf)
 
void mupnp_net_interface_setaddress (mUpnpNetworkInterface *netIf, char *value)
 
char * mupnp_net_interface_getaddress (mUpnpNetworkInterface *netIf)
 
void mupnp_net_interface_setnetmask (mUpnpNetworkInterface *netIf, char *value)
 
char * mupnp_net_interface_getnetmask (mUpnpNetworkInterface *netIf)
 
int mupnp_net_interface_cmp (mUpnpNetworkInterface *netIfA, mUpnpNetworkInterface *netIfB)
 

Function Documentation

◆ mupnp_net_interface_cmp()

int mupnp_net_interface_cmp ( mUpnpNetworkInterface * netIfA,
mUpnpNetworkInterface * netIfB )

Compares two interfaces based on IP-address.

◆ mupnp_net_interface_delete()

void mupnp_net_interface_delete ( mUpnpNetworkInterface * netIf)

◆ mupnp_net_interface_getaddress()

char * mupnp_net_interface_getaddress ( mUpnpNetworkInterface * netIf)

◆ mupnp_net_interface_getany()

mUpnpNetworkInterface * mupnp_net_interface_getany ( void )

◆ mupnp_net_interface_getname()

char * mupnp_net_interface_getname ( mUpnpNetworkInterface * netIf)

◆ mupnp_net_interface_getnetmask()

char * mupnp_net_interface_getnetmask ( mUpnpNetworkInterface * netIf)

◆ mupnp_net_interface_new()

mUpnpNetworkInterface * mupnp_net_interface_new ( void )

◆ mupnp_net_interface_setaddress()

void mupnp_net_interface_setaddress ( mUpnpNetworkInterface * netIf,
char * value )

◆ mupnp_net_interface_setname()

void mupnp_net_interface_setname ( mUpnpNetworkInterface * netIf,
char * name )

◆ mupnp_net_interface_setnetmask()

void mupnp_net_interface_setnetmask ( mUpnpNetworkInterface * netIf,
char * value )