32#ifndef _PURPLE_NAT_PMP_H
33#define _PURPLE_NAT_PMP_H
37#define PURPLE_PMP_LIFETIME 3600
52char *purple_pmp_get_public_ip(
void);
64gboolean
purple_pmp_create_map(PurplePmpType type,
unsigned short privateport,
unsigned short publicport,
int lifetime);
gboolean purple_pmp_create_map(PurplePmpType type, unsigned short privateport, unsigned short publicport, int lifetime)
Remove the NAT-PMP mapping for a specified type on a specified port.
gboolean purple_pmp_destroy_map(PurplePmpType type, unsigned short privateport)
Remove the NAT-PMP mapping for a specified type on a specified port.
void purple_pmp_init(void)
Initialize nat-pmp.