poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
client.h File Reference

declarations for client construction of the PSC_Connection class More...

#include <poser/decl.h>
#include <poser/core/proto.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef void(* PSC_ClientCreatedHandler) (void *receiver, PSC_Connection *connection)
 Handler for completed async client creation.
 

Detailed Description

declarations for client construction of the PSC_Connection class

Typedef Documentation

◆ PSC_ClientCreatedHandler

typedef void(* PSC_ClientCreatedHandler) (void *receiver, PSC_Connection *connection)

Handler for completed async client creation.

This will be called once PSC_Connection_createTcpAsync created a PSC_Connection object.

Parameters
receiverthe object receiving the callback
connectionthe newly created connection, or NULL when creation failed