Go to the source code of this file.
|
|
typedef struct LSHandle | LSHandle |
| |
|
typedef struct LSMessage | LSMessage |
| |
|
typedef unsigned long | LSMessageToken |
| |
|
typedef bool(* | LSFilterFunc) (LSHandle *sh, LSMessage *reply, void *ctx) |
| |
◆ HLunaServiceCall()
| int HLunaServiceCall |
( |
const char * |
uri, |
|
|
const char * |
payload, |
|
|
HContext * |
context |
|
) |
| |
Send luna call.
- Parameters
-
- Returns
- 0 if succeeded
◆ HLunaServiceMessage()
| const char * HLunaServiceMessage |
( |
LSMessage * |
msg | ) |
|
Get payload message from luna call response.
- Parameters
-
- Returns
- Payload message (JSON string)
◆ HUnregisterServiceCallback()
| int HUnregisterServiceCallback |
( |
HContext * |
context | ) |
|
Unregister a service callback.
- Parameters
-
| context | Same context used in HLunaServiceCall |
- Returns
- 0 if succeeded