Jump to main content

##

# NET_PRES_EncProviderConnectionClose Type

## C

    typedef NET_PRES_EncSessionStatus (* NET_PRES_EncProviderConnectionClose)(void * providerData);

## Returns

- NET_PRES_ENC_SS_CLOSING - Connection is closing, function must be called again to pump the close

- NET_PRES_ENC_SS_CLOSED - The connection is closed and can be cleaned up

## Description

Presentation Encryption Provider Close Function Pointer Prototype This function pointer defines the close function. It is called by the Networking Presentation Layer after a connection has been closed by the client.

## Preconditions

A connection must have already been created.

## Parameters

Parameters | Description
--- | ---
providerData | A pointer to the buffer for the provider to keep connection specific data.