Method

IbisClientstrip_source_prefix

since: 0.8

Declaration [src]

char*
ibis_client_strip_source_prefix (
  IbisClient* client,
  const char* source
)

Description [src]

Strips the Channel Membership Prefix from source according to the prefixes that the server told us in IBIS_RPL_ISUPPORT.

Available since: 0.8

Parameters

source

Type: const char*

The source.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: char*

The source with any prefixes removed.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.