#include <afb/afb-binding.h>
#include <stdint.h>
#include <glib.h>
Go to the source code of this file.
|
REQ_ERROR | get_value_uint16 (const struct afb_req request, const char *source, uint16_t *out_id) |
|
REQ_ERROR | get_value_int16 (const struct afb_req request, const char *source, int16_t *out_id) |
|
REQ_ERROR | get_value_int32 (const struct afb_req request, const char *source, int32_t *out_id) |
|
void | sm_add_object_to_json_object (struct json_object *j_obj, int count,...) |
|
void | sm_add_object_to_json_object_func (struct json_object *j_obj, const char *verb_name, int count,...) |
|
int | sm_search_event_name_index (const char *value) |
|
int | sm_search_routing_event_name_index (const char *value) |
|
GVariant * | create_source_data (guint16 sourceID, guint16 domainID, const char *appname, guint16 sourceClassID, gint32 sourceState, gint16 volume, gboolean visible, struct availability_s availables, guint16 interrupt, struct sound_property_s soundPropertyList, gint32 connectionFormatList, struct main_sound_property_s mainPropertyList, struct notification_config_s NConfRouting, struct notification_config_s NConfCommand) |
|
GVariant * | create_domain_data (struct domain_data *) |
|
◆ _GNU_SOURCE
◆ AFB_BINDING_VERSION
#define AFB_BINDING_VERSION 2 |
◆ REQ_ERROR
◆ REQ_ERROR
Enumerator |
---|
REQ_FAIL | |
REQ_OK | |
NOT_NUMBER | |
OUT_RANGE | |
Definition at line 26 of file sm-helper.h.
◆ create_domain_data()
◆ create_source_data()
GVariant* create_source_data |
( |
guint16 |
sourceID, |
|
|
guint16 |
domainID, |
|
|
const char * |
appname, |
|
|
guint16 |
sourceClassID, |
|
|
gint32 |
sourceState, |
|
|
gint16 |
volume, |
|
|
gboolean |
visible, |
|
|
struct availability_s |
availables, |
|
|
guint16 |
interrupt, |
|
|
struct sound_property_s |
soundPropertyList, |
|
|
gint32 |
connectionFormatList, |
|
|
struct main_sound_property_s |
mainPropertyList, |
|
|
struct notification_config_s |
NConfRouting, |
|
|
struct notification_config_s |
NConfCommand |
|
) |
| |
◆ get_value_int16()
REQ_ERROR get_value_int16 |
( |
const struct afb_req |
request, |
|
|
const char * |
source, |
|
|
int16_t * |
out_id |
|
) |
| |
◆ get_value_int32()
REQ_ERROR get_value_int32 |
( |
const struct afb_req |
request, |
|
|
const char * |
source, |
|
|
int32_t * |
out_id |
|
) |
| |
◆ get_value_uint16()
REQ_ERROR get_value_uint16 |
( |
const struct afb_req |
request, |
|
|
const char * |
source, |
|
|
uint16_t * |
out_id |
|
) |
| |
◆ sm_add_object_to_json_object()
void sm_add_object_to_json_object |
( |
struct json_object * |
j_obj, |
|
|
int |
count, |
|
|
|
... |
|
) |
| |
◆ sm_add_object_to_json_object_func()
void sm_add_object_to_json_object_func |
( |
struct json_object * |
j_obj, |
|
|
const char * |
verb_name, |
|
|
int |
count, |
|
|
|
... |
|
) |
| |
◆ sm_search_event_name_index()
int sm_search_event_name_index |
( |
const char * |
value | ) |
|
◆ sm_search_routing_event_name_index()
int sm_search_routing_event_name_index |
( |
const char * |
value | ) |
|