poser
A C framework for POsix SERvices
|
declarations for the PSC_Connection class More...
#include <poser/decl.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef const char *(* | PSC_MessageEndLocator) (const char *str) |
Callback to find the end of a text message. | |
declarations for the PSC_Connection class
typedef const char *(* PSC_MessageEndLocator) (const char *str) |
Callback to find the end of a text message.
When receiving in text mode, this is called to find the end of the message. It should return the position where the message ends (which means the first position that should NOT be included in a string passed in a PSC_Connection_dataReceived() event), or NULL if no end was found in the given string.
str | the string to search for a message end |