source: uKadecot/trunk/kadecot/wamp_callee.h@ 107

Last change on this file since 107 was 107, checked in by coas-nagasima, 9 years ago

SHIFT_JISのコードにcharsetプロパティを付けた

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/plain; charset=SHIFT_JIS
File size: 3.6 KB
Line 
1/*
2 * TOPPERS ECHONET Lite Communication Middleware
3 *
4 * Copyright (C) 2015 Cores Co., Ltd. Japan
5 *
6 * 上記著作権者は,以下の(1)〜(4)の条件を満たす場合に限り,本ソフトウェ
7 * ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
8 * 変・再配布(以下,利用と呼ぶ)することを無償で許諾する.
9 * (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
10 * 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
11 * スコード中に含まれていること.
12 * (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
13 * 用できる形で再配布する場合には,再配布に伴うドキュメント(利用
14 * 者マニュアルなど)に,上記の著作権表示,この利用条件および下記
15 * の無保証規定を掲載すること.
16 * (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
17 * 用できない形で再配布する場合には,次のいずれかの条件を満たすこ
18 * と.
19 * (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著
20 * 作権表示,この利用条件および下記の無保証規定を掲載すること.
21 * (b) 再配布の形態を,別に定める方法によって,TOPPERSプロジェクトに
22 * 報告すること.
23 * (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
24 * 害からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
25 * また,本ソフトウェアのユーザまたはエンドユーザからのいかなる理
26 * 由に基づく請求からも,上記著作権者およびTOPPERSプロジェクトを
27 * 免責すること.
28 *
29 * 本ソフトウェアは,無保証で提供されているものである.上記著作権者お
30 * よびTOPPERSプロジェクトは,本ソフトウェアに関して,特定の使用目的
31 * に対する適合性も含めて,いかなる保証も行わない.また,本ソフトウェ
32 * アの利用により直接的または間接的に生じたいかなる損害に関しても,そ
33 * の責任を負わない.
34 *
35 * @(#) $Id: wamp_callee.h 107 2015-06-10 11:40:31Z coas-nagasima $
36 */
37
38#ifndef WAMP_CALLEE_H
39#define WAMP_CALLEE_H
40
41typedef struct wamp_callee
42{
43 struct wamp_state *s;
44 int id;
45} wamp_callee_t;
46
47void wamp_callee_registered(wamp_callee_t *callee);
48void wamp_callee_registered_request_id(wamp_callee_t *s, const char *value);
49void wamp_callee_registered_registration_id(wamp_callee_t *s, const char *value);
50void wamp_callee_registered_close(struct wamp_state *s);
51
52void wamp_callee_unregistered(wamp_callee_t *callee);
53void wamp_callee_unregistered_request_id(wamp_callee_t *s, const char *value);
54void wamp_callee_unregistered_close(struct wamp_state *s);
55
56void wamp_callee_invocation(wamp_callee_t *callee);
57void wamp_callee_invocation_request_id(wamp_callee_t *s, const char *value);
58void wamp_callee_invocation_registration_id(wamp_callee_t *s, const char *value);
59void wamp_callee_invocation_details(wamp_callee_t *s, const char *value);
60void wamp_callee_invocation_details_param(wamp_callee_t *s, jsonsl_action_t action,
61 struct jsonsl_state_st *state, const char *buf);
62void wamp_callee_invocation_arguments(wamp_callee_t *s, const char *value);
63void wamp_callee_invocation_arguments_param(wamp_callee_t *s, jsonsl_action_t action,
64 struct jsonsl_state_st *state, const char *buf);
65void wamp_callee_invocation_argumentskw(wamp_callee_t *s, const char *value);
66void wamp_callee_invocation_argumentskw_param(wamp_callee_t *s, jsonsl_action_t action,
67 struct jsonsl_state_st *state, const char *buf);
68void wamp_callee_invocation_close(struct wamp_state *s);
69
70void wamp_callee_interrupt(wamp_callee_t *callee);
71void wamp_callee_interrupt_request_id(wamp_callee_t *s, const char *value);
72void wamp_callee_interrupt_options(wamp_callee_t *s, const char *value);
73void wamp_callee_interrupt_options_param(wamp_callee_t *s, jsonsl_action_t action,
74 struct jsonsl_state_st *state, const char *buf);
75void wamp_callee_interrupt_close(struct wamp_state *s);
76
77#endif // WAMP_CALLEE_H
Note: See TracBrowser for help on using the repository browser.