-
Developer Guides Overview
-
Application Framework Bindings
-
Application Framework Bindings C
- Using the data
- How to write a binding version 4
- Developping bindings on a desktop
- Bindings Version 4 References
- How to write a binding version 3
- Migration from v3 to v4 guide
- Bindings Version 3 References
-
Application Framework
-
Binder's client tool
-
Using the CMAKE Applications Module
-
Controller Guides
-
AFB Helper Guide
-
Monitoring
Escaping helpers functions reference
char *escape_url(const char *base, const char *path, const char * const *args, size_t *length)
Escape an url
and arguments
and returned it as a string.
-
base
: representing the FQDN of the url. -
path
: the path to the requested page. -
args
: optionnal array of arguments provided for the GET request. -
length
: length of the returnedurl
.
Returns the escaped url
.
const char *escape_args(const char * const *args, size_t *length)
Escape an array of arguments and returned the lenght of the escaped arguments string.
-
args
: array of arguments provided for the GET request. -
length
: length of the returnedarguments
.
Returns the escaped arguments
.
const char *escape_str(const char *str, size_t *length)
Escape a string and returns it.
-
str
: the string to escape. -
length
: length of the returned string.
Returns the escaped string.
const char **unescape_args(const char *args)
Unescape an argument and returns it.
-
args
: the argument to unescape.