libguac 1.5.5
Loading...
Searching...
No Matches
Macros
argv-constants.h File Reference

Constants related to automatic handling of received "argv" instructions. More...

Go to the source code of this file.

Macros

#define GUAC_ARGV_OPTION_ONCE   1
 Option flag which declares to guac_argv_register() that the associated argument should be processed exactly once.
 
#define GUAC_ARGV_OPTION_ECHO   2
 Option flag which declares to guac_argv_register() that the values received and accepted for the associated argument should be echoed to all connected users via outbound "argv" streams.
 
#define GUAC_ARGV_MAX_LENGTH   16384
 The maximum number of bytes to allow for any argument value received via an argv stream and processed using guac_argv_received(), including null terminator.
 
#define GUAC_ARGV_MAX_NAME_LENGTH   256
 The maximum number of bytes to allow within the name of any argument registered with guac_argv_register(), including null terminator.
 
#define GUAC_ARGV_MAX_MIMETYPE_LENGTH   4096
 The maximum number of bytes to allow within the mimetype of any received argument value passed to a callback registered with guac_argv_register(), including null terminator.
 
#define GUAC_ARGV_MAX_REGISTERED   128
 The maximum number of arguments that may be registered via guac_argv_await() or guac_argv_await_async() before further argument registrations will fail.
 

Detailed Description

Constants related to automatic handling of received "argv" instructions.

Macro Definition Documentation

◆ GUAC_ARGV_OPTION_ONCE

#define GUAC_ARGV_OPTION_ONCE   1

Option flag which declares to guac_argv_register() that the associated argument should be processed exactly once.

If multiple "argv" streams are received for the argument, only the first such stream is processed. Additional streams will be rejected.