|
SCIMBridge 0.4.x
|
00001 /* 00002 * SCIM Bridge 00003 * 00004 * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> 00005 * 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation and 00010 * appearing in the file LICENSE.LGPL included in the package of this file. 00011 * You can also redistribute it and/or modify it under the terms of 00012 * the GNU General Public License as published by the Free Software Foundation and 00013 * appearing in the file LICENSE.GPL included in the package of this file. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 */ 00019 00025 #ifndef SCIMBRIDGEMESSAGE_H_ 00026 #define SCIMBRIDGEMESSAGE_H_ 00027 00028 #include "scim-bridge.h" 00029 00033 typedef struct _ScimBridgeMessage ScimBridgeMessage; 00034 00035 #ifdef __cplusplus 00036 extern "C" 00037 { 00038 #endif 00039 00048 ScimBridgeMessage *scim_bridge_alloc_message (const char *header, size_t argument_count); 00049 00055 void scim_bridge_free_message (ScimBridgeMessage *message); 00056 00063 const char *scim_bridge_message_get_header (const ScimBridgeMessage *message); 00064 00071 size_t scim_bridge_message_get_argument_count (const ScimBridgeMessage *message); 00072 00080 const char *scim_bridge_message_get_argument (const ScimBridgeMessage *message, size_t index); 00081 00090 retval_t scim_bridge_message_set_argument (ScimBridgeMessage *message, size_t index, const char *argument); 00091 00092 #ifdef __cplusplus 00093 } 00094 #endif 00095 #endif /*SCIMBRIDGEMESSAGE_H_*/
1.7.3