api: add some endpoints (&more)
This commit is contained in:
parent
e1413fe803
commit
2577732bb4
9 changed files with 386 additions and 34 deletions
26
libmxclient/API.md
Normal file
26
libmxclient/API.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# libmxclient api doc
|
||||
|
||||
C API
|
||||
|
||||
simple highlevel matrix api intended for bindings to script languages
|
||||
|
||||
`everything is a string`™
|
||||
|
||||
this should make bindings easier.
|
||||
|
||||
parameters are strings, either a simple name or json strings
|
||||
|
||||
return values are either a strings starting with `ERR:` or a json result
|
||||
|
||||
some funktions might return `SUCCESS.` as equivalent for `ret 0`
|
||||
|
||||
returned strings must be free'ed y the caller
|
||||
|
||||
it's the callers task to keep passed callback pointers alive
|
||||
|
||||
## versions
|
||||
|
||||
`v0` unstable, devolopment version
|
||||
|
||||
all other version are stable, may get additions and security fixes, no other changes
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue