Add subscription for a given indication type from the given resource.
int g_isi_add_subscription(
GIsiClient * client
uint8_t res
uint8_t type
GIsiIndicationFunc cb
void * data
)
Add subscription for a given indication type from the given resource. If the same type was already subscribed, the old subscription is overriden. Subscriptions for newly added resources do not become effective until g_isi_commit_subscriptions() has been called. @param client ISI client (from g_isi_client_create()) @param res resource id @param type indication type @param cb callback to process received indications @param data data for the callback @return 0 on success, a system error code otherwise.
目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー | client.c