SCIM Bridge 0.4.x
scim-bridge-message.h
Go to the documentation of this file.
1/*
2 * SCIM Bridge
3 *
4 * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
5 *
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation and
10 * appearing in the file LICENSE.LGPL included in the package of this file.
11 * You can also redistribute it and/or modify it under the terms of
12 * the GNU General Public License as published by the Free Software Foundation and
13 * appearing in the file LICENSE.GPL included in the package of this file.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 */
19
25#ifndef SCIMBRIDGEMESSAGE_H_
26#define SCIMBRIDGEMESSAGE_H_
27
28#include "scim-bridge.h"
29
34
35#ifdef __cplusplus
36extern "C"
37{
38#endif
39
48 ScimBridgeMessage *scim_bridge_alloc_message (const char *header, size_t argument_count);
49
56
63 const char *scim_bridge_message_get_header (const ScimBridgeMessage *message);
64
72
80 const char *scim_bridge_message_get_argument (const ScimBridgeMessage *message, size_t index);
81
90 retval_t scim_bridge_message_set_argument (ScimBridgeMessage *message, size_t index, const char *argument);
91
92#ifdef __cplusplus
93}
94#endif
95#endif /*SCIMBRIDGEMESSAGE_H_*/
size_t scim_bridge_message_get_argument_count(const ScimBridgeMessage *message)
Definition scim-bridge-message.c:92
retval_t scim_bridge_message_set_argument(ScimBridgeMessage *message, size_t index, const char *argument)
Definition scim-bridge-message.c:114
ScimBridgeMessage * scim_bridge_alloc_message(const char *header, size_t argument_count)
Definition scim-bridge-message.c:38
struct _ScimBridgeMessage ScimBridgeMessage
Definition scim-bridge-message.h:33
const char * scim_bridge_message_get_header(const ScimBridgeMessage *message)
Definition scim-bridge-message.c:86
void scim_bridge_free_message(ScimBridgeMessage *message)
Definition scim-bridge-message.c:69
const char * scim_bridge_message_get_argument(const ScimBridgeMessage *message, size_t index)
Definition scim-bridge-message.c:98
int retval_t
Definition scim-bridge.h:59
This header describes about fundamental definitions of scim-bridge.
Definition scim-bridge-message.c:29