Faspstream Manager C/C++ API
3.6.1
A C and C++ language interface to basic streaming over the fasp protocol
|
Go to the source code of this file.
Macros | |
#define | FASPSTREAM_BINARY "./faspstream" |
#define | ASCP_BINARY "./ascp" |
#define | FASPSTREAM_CHANNEL_TIMEOUT 100000 |
Typedefs | |
typedef void(* | log_callback_f) (char const *s) |
#define ASCP_BINARY "./ascp" |
#define FASPSTREAM_BINARY "./faspstream" |
#define FASPSTREAM_CHANNEL_TIMEOUT 100000 |
Timeout used for tunneling, in microseconds.
typedef void(* log_callback_f) (char const *s) |
Function type definition for registering a logging callback
Provide your own logging function by registering a funcion of this type (void return, const char* argument) with the faspstream client or server. (Will not log if NULL, by default)
The simplest implementation of the callback might look like this:
static void log_function( char const *s ) {
fprintf( stderr, "%s\n", s );
}