Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs | Functions
iiimp-dataP.h File Reference
#include <stdio.h>
#include <sys/types.h>
#include <iiimp-data.h>

Go to the source code of this file.

Classes

struct  iiimp_attribute_id
struct  iiimp_data_s

Defines

#define GET_SCOPE_FOR_HOTKEY(n, p, b)
#define GETU15(n, p, b)
#define GETU16(n, r, p, b)
#define GETU32(n, r, p, b)
#define GETU64(n, r, p, b)
#define GET16(n, r, p, b)
#define GET32(n, r, p, b)
#define PUTU16(n, r, p, b)
#define PUTU32(n, r, p, b)
#define PUTU64(n, r, p, b)
#define PUT16(n, r, p, b)
#define PUT32(n, r, p, b)
#define GETU8(n, r, p, b)   (((n) = (*((uint8_t *)(p)))), ((p) += 1), ((r) -= 1))
#define GET8(n, r, p, b)   (((n) = (*((int8_t *)(p)))), ((p) += 1), ((r) -= 1))
#define PUTU8(n, r, p, b)   (((*p) = (n)), ((p) += 1), ((r) -= 1))
#define PUT8(n, r, p, b)   (((*p) = (n)), ((p) += 1), ((r) -= 1))
#define SKIP8(r, p)   (((p) += 1), ((r) -= 1))
#define SKIP16(r, p)   (((p) += 2), ((r) -= 2))
#define SKIP32(r, p)   (((p) += 4), ((r) -= 4))
#define PUT_PACKET_HEADER(ptr, opcode, length)
#define STRING_PAD(len)   ((2 + (len)) % 4)
#define STRING_OBJECT_SIZE(len)   (2 + (len) + (STRING_PAD((len))))
#define PAD2(n)   ((n) & 0x02)
#define PAD(n)   ((4 - ((n) & 0x03)) & 0x03)
#define REQUIRE_PROTOCOL_VERSION(data_s, v)
#define KEY_EVENT_OBJECT_SIZE   (4 * 4)
#define IIIMP_dal

Typedefs

typedef struct iiimp_attribute_id IIIMP_attribute_id

Functions

IIIMP_card16_listiiimp_card16_list_unpack (IIIMP_dal)
IIIMP_card32_listiiimp_card32_list_unpack (IIIMP_dal)
IIIMP_keyevent_listiiimp_keyevent_list_unpack (IIIMP_dal)
HOTKEY_LISTiiimp_hotkey_list_unpack (IIIMP_dal)
IIIMP_stringiiimp_string_unpack (IIIMP_dal)
IIIMP_stringiiimp_string_list_unpack (IIIMP_dal)
IIIMP_utf8stringiiimp_utf8string_unpack (IIIMP_dal)
IIIMP_utf8stringiiimp_utf8string_list_unpack (IIIMP_dal)
IIIMP_feedback_attr_listiiimp_feedback_attr_list_unpack (IIIMP_dal)
IIIMP_char_with_feedbackiiimp_char_with_feedback_unpack (IIIMP_dal)
IIIMP_char_with_feedbackiiimp_char_with_feedback_list_unpack (IIIMP_dal)
IIIMP_operationiiimp_operation_unpack (IIIMP_dal)
IIIMP_operationiiimp_operation_list_unpack (IIIMP_dal)
IIIMP_annotation_valueiiimp_annotation_text_unpack (IIIMP_dal)
IIIMP_annotation_valueiiimp_annotation_string_unpack (IIIMP_dal)
IIIMP_annotationiiimp_annotation_unpack (IIIMP_dal)
IIIMP_text * iiimp_text_unpack (IIIMP_dal)
IIIMP_text * iiimp_text_list_unpack (IIIMP_dal)
IIIMP_client_descriptoriiimp_client_descriptor_unpack (IIIMP_dal)
IIIMP_object_descriptoriiimp_object_descriptor_unpack (IIIMP_dal)
IIIMP_object_descriptoriiimp_object_descriptor_list_unpack (IIIMP_dal)
IIIMP_ccdefiiimp_ccdef_unpack (IIIMP_dal)
IIIMP_languageiiimp_language_unpack (IIIMP_dal)
IIIMP_languageiiimp_language_list_unpack (IIIMP_dal)
IIIMP_imeinfoiiimp_imeinfo_unpack (IIIMP_dal)
IIIMP_imeinfoiiimp_imeinfo_list_unpack (IIIMP_dal)
IIIMP_jarfile_objectiiimp_jarfile_object_unpack (IIIMP_dal)
IIIMP_inputmethod_descriptoriiimp_inputmethod_descriptor_unpack (IIIMP_dal)
IIIMP_inputmethod_descriptoriiimp_inputmethod_descriptor_list_unpack (IIIMP_dal)
IIIMP_binaryfile_objectiiimp_binaryfile_object_unpack (IIIMP_dal)
IIIMP_imattribute * iiimp_imattribute_unpack (IIIMP_dal)
IIIMP_imattribute * iiimp_imattribute_list_unpack (IIIMP_dal)
IIIMP_icattribute * iiimp_icattribute_unpack (IIIMP_dal)
IIIMP_icattribute * iiimp_icattribute_list_unpack (IIIMP_dal)
IIIMP_contentsiiimp_contents_unpack (IIIMP_dal)
IIIMP_openiiimp_open_unpack (IIIMP_dal)
IIIMP_open_replyiiimp_open_reply_unpack (IIIMP_dal)
IIIMP_closeiiimp_close_unpack (IIIMP_dal)
IIIMP_close_replyiiimp_close_reply_unpack (IIIMP_dal)
IIIMP_readiiimp_read_unpack (IIIMP_dal)
IIIMP_read_replyiiimp_read_reply_unpack (IIIMP_dal)
IIIMP_writeiiimp_write_unpack (IIIMP_dal)
IIIMP_write_replyiiimp_write_reply_unpack (IIIMP_dal)
IIIMP_opendiriiimp_opendir_unpack (IIIMP_dal)
IIIMP_opendir_replyiiimp_opendir_reply_unpack (IIIMP_dal)
IIIMP_closedir_replyiiimp_closedir_reply_unpack (IIIMP_dal)
IIIMP_closediriiimp_closedir_unpack (IIIMP_dal)
IIIMP_seekiiimp_seek_unpack (IIIMP_dal)
IIIMP_seek_replyiiimp_seek_reply_unpack (IIIMP_dal)
IIIMP_mkdiriiimp_mkdir_unpack (IIIMP_dal)
IIIMP_mkdir_replyiiimp_mkdir_reply_unpack (IIIMP_dal)
IIIMP_rmdiriiimp_rmdir_unpack (IIIMP_dal)
IIIMP_rmdir_replyiiimp_rmdir_reply_unpack (IIIMP_dal)
IIIMP_symlinkiiimp_symlink_unpack (IIIMP_dal)
IIIMP_symlink_replyiiimp_symlink_reply_unpack (IIIMP_dal)
IIIMP_statiiimp_stat_unpack (IIIMP_dal)
IIIMP_stat_replyiiimp_stat_reply_unpack (IIIMP_dal)
IIIMP_lstatiiimp_lstat_unpack (IIIMP_dal)
IIIMP_lstat_replyiiimp_lstat_reply_unpack (IIIMP_dal)
IIIMP_fstatiiimp_fstat_unpack (IIIMP_dal)
IIIMP_fstat_replyiiimp_fstat_reply_unpack (IIIMP_dal)
IIIMP_creatiiimp_creat_unpack (IIIMP_dal)
IIIMP_creat_replyiiimp_creat_reply_unpack (IIIMP_dal)
IIIMP_lseekiiimp_lseek_unpack (IIIMP_dal)
IIIMP_lseek_replyiiimp_lseek_reply_unpack (IIIMP_dal)
IIIMP_unlinkiiimp_unlink_unpack (IIIMP_dal)
IIIMP_unlink_replyiiimp_unlink_reply_unpack (IIIMP_dal)
IIIMP_renameiiimp_rename_unpack (IIIMP_dal)
IIIMP_rename_replyiiimp_rename_reply_unpack (IIIMP_dal)
IIIMP_fcntliiimp_fcntl_unpack (IIIMP_dal)
IIIMP_fcntl_replyiiimp_fcntl_reply_unpack (IIIMP_dal)
IIIMP_truncateiiimp_truncate_unpack (IIIMP_dal)
IIIMP_truncate_replyiiimp_truncate_reply_unpack (IIIMP_dal)
IIIMP_ftruncateiiimp_ftruncate_unpack (IIIMP_dal)
IIIMP_ftruncate_replyiiimp_ftruncate_reply_unpack (IIIMP_dal)
void iiimp_card16_list_pack (IIIMP_data_s *data_s, IIIMP_card16_list *m, size_t *nbyte, uchar_t **ptr)
void iiimp_card32_list_pack (IIIMP_data_s *data_s, IIIMP_card32_list *m, size_t *nbyte, uchar_t **ptr)
void iiimp_string_pack (IIIMP_data_s *data_s, IIIMP_string *m, size_t *nbyte, uchar_t **ptr)
void iiimp_string_list_pack (IIIMP_data_s *data_s, IIIMP_string *m, size_t *nbyte, uchar_t **ptr)
void iiimp_utf8string_pack (IIIMP_data_s *data_s, IIIMP_utf8string *m, size_t *nbyte, uchar_t **ptr)
void iiimp_utf8string_list_pack (IIIMP_data_s *data_s, IIIMP_utf8string *m, size_t *nbyte, uchar_t **ptr)
void iiimp_feedback_attr_list_pack (IIIMP_data_s *data_s, IIIMP_feedback_attr_list *m, size_t *nbyte, uchar_t **ptr)
void iiimp_char_with_feedback_pack (IIIMP_data_s *data_s, IIIMP_char_with_feedback *m, size_t *nbyte, uchar_t **ptr)
void iiimp_char_with_feedback_list_pack (IIIMP_data_s *data_s, IIIMP_char_with_feedback *m, size_t *nbyte, uchar_t **ptr)
void iiimp_operation_pack (IIIMP_data_s *data_s, IIIMP_operation *m, size_t *nbyte, uchar_t **ptr)
void iiimp_operation_list_pack (IIIMP_data_s *data_s, IIIMP_operation *m, size_t *nbyte, uchar_t **ptr)
void iiimp_annotation_text_pack (IIIMP_data_s *data_s, IIIMP_annotation_value *m, size_t *nbyte, uchar_t **ptr)
void iiimp_annotation_string_pack (IIIMP_data_s *data_s, IIIMP_annotation_value *m, size_t *nbyte, uchar_t **ptr)
void iiimp_annotation_pack (IIIMP_data_s *data_s, IIIMP_annotation *m, size_t *nbyte, uchar_t **ptr)
void iiimp_annotation_list_pack (IIIMP_data_s *data_s, IIIMP_annotation *m, size_t *nbyte, uchar_t **ptr)
void iiimp_text_pack (IIIMP_data_s *data_s, IIIMP_text *m, size_t *nbyte, uchar_t **ptr)
void iiimp_text_list_pack (IIIMP_data_s *data_s, IIIMP_text *text, size_t *nbyte, uchar_t **ptr)
void iiimp_client_descriptor_pack (IIIMP_data_s *data_s, IIIMP_client_descriptor *cd, size_t *nbyte, uchar_t **ptr)
void iiimp_object_descriptor_pack (IIIMP_data_s *data_s, IIIMP_object_descriptor *m, size_t *nbyte, uchar_t **ptr)
void iiimp_object_descriptor_list_pack (IIIMP_data_s *data_s, IIIMP_object_descriptor *m, size_t *nbyte, uchar_t **ptr)
void iiimp_ccdef_pack (IIIMP_data_s *data_s, IIIMP_ccdef *m, size_t *nbyte, uchar_t **ptr)
void iiimp_language_pack (IIIMP_data_s *data_s, IIIMP_language *m, size_t *nbyte, uchar_t **ptr)
void iiimp_language_list_pack (IIIMP_data_s *data_s, IIIMP_language *m, size_t *nbyte, uchar_t **ptr)
void iiimp_imeinfo_pack (IIIMP_data_s *data_s, IIIMP_imeinfo *m, size_t *nbyte, uchar_t **ptr)
void iiimp_imeinfo_list_pack (IIIMP_data_s *data_s, IIIMP_imeinfo *m, size_t *nbyte, uchar_t **ptr)
void iiimp_jarfile_object_pack (IIIMP_data_s *data_s, IIIMP_jarfile_object *m, size_t *nbyte, uchar_t **ptr)
void iiimp_inputmethod_descriptor_pack (IIIMP_data_s *data_s, IIIMP_inputmethod_descriptor *m, size_t *nbyte, uchar_t **ptr)
void iiimp_inputmethod_descriptor_list_pack (IIIMP_data_s *data_s, IIIMP_inputmethod_descriptor *m, size_t *nbyte, uchar_t **ptr)
void iiimp_binaryfile_object_pack (IIIMP_data_s *data_s, IIIMP_binaryfile_object *m, size_t *nbyte, uchar_t **ptr)
void iiimp_imattribute_pack (IIIMP_data_s *data_s, IIIMP_imattribute *m, size_t *nbyte, uchar_t **ptr)
void iiimp_imattribute_list_pack (IIIMP_data_s *data_s, IIIMP_imattribute *m, size_t *nbyte, uchar_t **ptr)
void iiimp_icattribute_pack (IIIMP_data_s *data_s, IIIMP_icattribute *m, size_t *nbyte, uchar_t **ptr)
void iiimp_icattribute_list_pack (IIIMP_data_s *data_s, IIIMP_icattribute *m, size_t *nbyte, uchar_t **ptr)
void iiimp_keyevent_list_pack (IIIMP_data_s *data_s, IIIMP_keyevent_list *m, size_t *nbyte, uchar_t **ptr)
void iiimp_hotkey_list_pack (IIIMP_data_s *data_s, HOTKEY_LIST *m, size_t *nbyte, uchar_t **ptr)
void iiimp_hotkey_list_delete (IIIMP_data_s *data_s, HOTKEY_LIST *m)
void iiimp_contents_pack (IIIMP_data_s *data_s, IIIMP_contents *m, size_t *nbyte, uchar_t **ptr)
void iiimp_open_pack (IIIMP_data_s *data_s, IIIMP_open *m, size_t *nbyte, uchar_t **ptr)
void iiimp_open_reply_pack (IIIMP_data_s *data_s, IIIMP_open_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_read_pack (IIIMP_data_s *data_s, IIIMP_read *m, size_t *nbyte, uchar_t **ptr)
void iiimp_read_reply_pack (IIIMP_data_s *data_s, IIIMP_read_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_write_pack (IIIMP_data_s *data_s, IIIMP_write *m, size_t *nbyte, uchar_t **ptr)
void iiimp_write_reply_pack (IIIMP_data_s *data_s, IIIMP_write_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_close_pack (IIIMP_data_s *data_s, IIIMP_close *m, size_t *nbyte, uchar_t **ptr)
void iiimp_close_reply_pack (IIIMP_data_s *data_s, IIIMP_close_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_seek_pack (IIIMP_data_s *data_s, IIIMP_seek *m, size_t *nbyte, uchar_t **ptr)
void iiimp_seek_reply_pack (IIIMP_data_s *data_s, IIIMP_seek_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_opendir_pack (IIIMP_data_s *data_s, IIIMP_opendir *m, size_t *nbyte, uchar_t **ptr)
void iiimp_opendir_reply_pack (IIIMP_data_s *data_s, IIIMP_opendir_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_closedir_pack (IIIMP_data_s *data_s, IIIMP_closedir *m, size_t *nbyte, uchar_t **ptr)
void iiimp_closedir_reply_pack (IIIMP_data_s *data_s, IIIMP_closedir_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_mkdir_pack (IIIMP_data_s *data_s, IIIMP_mkdir *m, size_t *nbyte, uchar_t **ptr)
void iiimp_mkdir_reply_pack (IIIMP_data_s *data_s, IIIMP_mkdir_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_rmdir_pack (IIIMP_data_s *data_s, IIIMP_rmdir *m, size_t *nbyte, uchar_t **ptr)
void iiimp_rmdir_reply_pack (IIIMP_data_s *data_s, IIIMP_rmdir_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_symlink_pack (IIIMP_data_s *data_s, IIIMP_symlink *m, size_t *nbyte, uchar_t **ptr)
void iiimp_symlink_reply_pack (IIIMP_data_s *data_s, IIIMP_symlink_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_stat_pack (IIIMP_data_s *data_s, IIIMP_stat *m, size_t *nbyte, uchar_t **ptr)
void iiimp_stat_reply_pack (IIIMP_data_s *data_s, IIIMP_stat_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_lstat_pack (IIIMP_data_s *data_s, IIIMP_lstat *m, size_t *nbyte, uchar_t **ptr)
void iiimp_lstat_reply_pack (IIIMP_data_s *data_s, IIIMP_lstat_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_fstat_pack (IIIMP_data_s *data_s, IIIMP_fstat *m, size_t *nbyte, uchar_t **ptr)
void iiimp_fstat_reply_pack (IIIMP_data_s *data_s, IIIMP_fstat_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_creat_pack (IIIMP_data_s *data_s, IIIMP_creat *m, size_t *nbyte, uchar_t **ptr)
void iiimp_creat_reply_pack (IIIMP_data_s *data_s, IIIMP_creat_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_lseek_pack (IIIMP_data_s *data_s, IIIMP_lseek *m, size_t *nbyte, uchar_t **ptr)
void iiimp_lseek_reply_pack (IIIMP_data_s *data_s, IIIMP_lseek_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_unlink_pack (IIIMP_data_s *data_s, IIIMP_unlink *m, size_t *nbyte, uchar_t **ptr)
void iiimp_unlink_reply_pack (IIIMP_data_s *data_s, IIIMP_unlink_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_rename_pack (IIIMP_data_s *data_s, IIIMP_rename *m, size_t *nbyte, uchar_t **ptr)
void iiimp_rename_reply_pack (IIIMP_data_s *data_s, IIIMP_rename_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_fcntl_pack (IIIMP_data_s *data_s, IIIMP_fcntl *m, size_t *nbyte, uchar_t **ptr)
void iiimp_fcntl_reply_pack (IIIMP_data_s *data_s, IIIMP_fcntl_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_truncate_pack (IIIMP_data_s *data_s, IIIMP_truncate *m, size_t *nbyte, uchar_t **ptr)
void iiimp_truncate_reply_pack (IIIMP_data_s *data_s, IIIMP_truncate_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_ftruncate_pack (IIIMP_data_s *data_s, IIIMP_ftruncate *m, size_t *nbyte, uchar_t **ptr)
void iiimp_ftruncate_reply_pack (IIIMP_data_s *data_s, IIIMP_ftruncate_reply *m, size_t *nbyte, uchar_t **ptr)
void iiimp_message_header_print (IIIMP_data_s *data_s, int opcode, int im_id, int ic_id)
void iiimp_card16_list_print (IIIMP_data_s *data_s, IIIMP_card16_list *m)
void iiimp_card32_list_print (IIIMP_data_s *data_s, IIIMP_card32_list *m)
void iiimp_byte_stream_print (IIIMP_data_s *data_s, IIIMP_byte_stream *m)
void iiimp_string_print (IIIMP_data_s *data_s, IIIMP_string *m)
void iiimp_string_list_print (IIIMP_data_s *data_s, IIIMP_string *m)
void iiimp_utf8string_print (IIIMP_data_s *data_s, IIIMP_utf8string *m)
void iiimp_utf8string_list_print (IIIMP_data_s *data_s, IIIMP_utf8string *m)
void iiimp_feedback_attr_print (IIIMP_data_s *data_s, IIIMP_feedback_attr *m)
void iiimp_feedback_attr_list_print (IIIMP_data_s *data_s, IIIMP_feedback_attr_list *m)
void iiimp_char_with_feedback_print (IIIMP_data_s *data_s, IIIMP_char_with_feedback *m)
void iiimp_char_with_feedback_list_print (IIIMP_data_s *data_s, IIIMP_char_with_feedback *m)
void iiimp_operation_print (IIIMP_data_s *data_s, IIIMP_operation *m)
void iiimp_operation_list_print (IIIMP_data_s *data_s, IIIMP_operation *m)
void iiimp_annotation_print (IIIMP_data_s *data_s, IIIMP_annotation *m)
void iiimp_text_print (IIIMP_data_s *data_s, IIIMP_text *m)
void iiimp_text_list_print (IIIMP_data_s *data_s, IIIMP_text *m)
void iiimp_client_descriptor_print (IIIMP_data_s *data_s, IIIMP_client_descriptor *m)
void iiimp_object_descriptor_print (IIIMP_data_s *data_s, IIIMP_object_descriptor *m)
void iiimp_object_descriptor_list_print (IIIMP_data_s *data_s, IIIMP_object_descriptor *m)
void iiimp_ccdef_print (IIIMP_data_s *data_s, IIIMP_ccdef *m)
void iiimp_language_print (IIIMP_data_s *data_s, IIIMP_language *m)
void iiimp_jarfile_object_print (IIIMP_data_s *data_s, IIIMP_jarfile_object *m)
void iiimp_binaryfile_object_print (IIIMP_data_s *data_s, IIIMP_binaryfile_object *m)
void iiimp_inputmethod_descriptor_print (IIIMP_data_s *data_s, IIIMP_inputmethod_descriptor *m)
void iiimp_inputmethod_descriptor_list_print (IIIMP_data_s *data_s, IIIMP_inputmethod_descriptor *m)
void iiimp_imattribute_print (IIIMP_data_s *data_s, IIIMP_imattribute *m)
void iiimp_imattribute_list_print (IIIMP_data_s *data_s, IIIMP_imattribute *m)
void iiimp_character_subsets_print (IIIMP_data_s *data_s, IIIMP_card32 *m)
void iiimp_character_subsets_list_print (IIIMP_data_s *data_s, IIIMP_card32_list *m)
void iiimp_icattribute_print (IIIMP_data_s *data_s, IIIMP_icattribute *m)
void iiimp_icattribute_list_print (IIIMP_data_s *data_s, IIIMP_icattribute *m)
void iiimp_keyevent_print (IIIMP_data_s *data_s, IIIMP_keyevent *m)
void iiimp_keyevent_list_print (IIIMP_data_s *data_s, IIIMP_keyevent_list *m)
void iiimp_contents_print (IIIMP_data_s *data_s, IIIMP_contents *m)
void iiimp_open_print (IIIMP_data_s *data_s, IIIMP_open *m)
void iiimp_open_reply_print (IIIMP_data_s *data_s, IIIMP_open_reply *m)
void iiimp_read_print (IIIMP_data_s *data_s, IIIMP_read *m)
void iiimp_read_reply_print (IIIMP_data_s *data_s, IIIMP_read_reply *m)
void iiimp_write_print (IIIMP_data_s *data_s, IIIMP_write *m)
void iiimp_write_reply_print (IIIMP_data_s *data_s, IIIMP_write_reply *m)
void iiimp_close_print (IIIMP_data_s *data_s, IIIMP_close *m)
void iiimp_close_reply_print (IIIMP_data_s *data_s, IIIMP_close_reply *m)
void iiimp_seek_print (IIIMP_data_s *data_s, IIIMP_seek *m)
void iiimp_seek_reply_print (IIIMP_data_s *data_s, IIIMP_seek_reply *m)
void iiimp_opendir_print (IIIMP_data_s *data_s, IIIMP_opendir *m)
void iiimp_opendir_reply_print (IIIMP_data_s *data_s, IIIMP_opendir_reply *m)
void iiimp_closedir_print (IIIMP_data_s *data_s, IIIMP_closedir *m)
void iiimp_closedir_reply_print (IIIMP_data_s *data_s, IIIMP_closedir_reply *m)
void iiimp_mkdir_print (IIIMP_data_s *data_s, IIIMP_mkdir *m)
void iiimp_mkdir_reply_print (IIIMP_data_s *data_s, IIIMP_mkdir_reply *m)
void iiimp_rmdir_print (IIIMP_data_s *data_s, IIIMP_rmdir *m)
void iiimp_rmdir_reply_print (IIIMP_data_s *data_s, IIIMP_rmdir_reply *m)
void iiimp_symlink_print (IIIMP_data_s *data_s, IIIMP_symlink *m)
void iiimp_symlink_reply_print (IIIMP_data_s *data_s, IIIMP_symlink_reply *m)
void iiimp_stat_print (IIIMP_data_s *data_s, IIIMP_stat *m)
void iiimp_stat_reply_print (IIIMP_data_s *data_s, IIIMP_stat_reply *m)
void iiimp_lstat_print (IIIMP_data_s *data_s, IIIMP_lstat *m)
void iiimp_lstat_reply_print (IIIMP_data_s *data_s, IIIMP_lstat_reply *m)
void iiimp_fstat_print (IIIMP_data_s *data_s, IIIMP_fstat *m)
void iiimp_fstat_reply_print (IIIMP_data_s *data_s, IIIMP_fstat_reply *m)
void iiimp_creat_print (IIIMP_data_s *data_s, IIIMP_creat *m)
void iiimp_creat_reply_print (IIIMP_data_s *data_s, IIIMP_creat_reply *m)
void iiimp_lseek_print (IIIMP_data_s *data_s, IIIMP_lseek *m)
void iiimp_lseek_reply_print (IIIMP_data_s *data_s, IIIMP_lseek_reply *m)
void iiimp_unlink_print (IIIMP_data_s *data_s, IIIMP_unlink *m)
void iiimp_unlink_reply_print (IIIMP_data_s *data_s, IIIMP_unlink_reply *m)
void iiimp_rename_print (IIIMP_data_s *data_s, IIIMP_rename *m)
void iiimp_rename_reply_print (IIIMP_data_s *data_s, IIIMP_rename_reply *m)
void iiimp_fcntl_print (IIIMP_data_s *data_s, IIIMP_fcntl *m)
void iiimp_fcntl_reply_print (IIIMP_data_s *data_s, IIIMP_fcntl_reply *m)
void iiimp_truncate_print (IIIMP_data_s *data_s, IIIMP_truncate *m)
void iiimp_truncate_reply_print (IIIMP_data_s *data_s, IIIMP_truncate_reply *m)
void iiimp_ftruncate_print (IIIMP_data_s *data_s, IIIMP_ftruncate *m)
void iiimp_ftruncate_reply_print (IIIMP_data_s *data_s, IIIMP_ftruncate_reply *m)
void iiimp_simple_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_simple_im_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_invalid_message_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_aux_simple_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_aux_value_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_connect_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_connect_reply_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_register_trigger_keys_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_trigger_notify_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_select_hotkey_profile_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_register_hotkeys_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_hotkey_list_print (IIIMP_data_s *data_s, HOTKEY_LIST *m)
void iiimp_hotkey_notify_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_hotkey_state_notify_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_file_operation_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_file_operation_reply_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_setimvalues_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_getimvalues_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_getimvalues_reply_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_createic_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_seticvalues_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_geticvalues_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_geticvalues_reply_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_preedit_start_reply_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_preedit_draw_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_status_draw_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_forward_event_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_forward_event_with_operations_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_forward_event_with_operations_reply_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_commit_string_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_lookup_choice_start_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_lookup_choice_draw_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_lookup_choice_process_print (IIIMP_data_s *data_s, IIIMP_message *m)
void iiimp_protocol_version_print (IIIMP_data_s *data_s, IIIMP_message *m)
IIIMP_card16 iiimp_attribute_id_search (IIIMP_data_s *data_s, IIIMP_card16 id_dynamic)
void iiimp_attribute_id_update (IIIMP_data_s *data_s, IIIMP_card16 id_predefined, IIIMP_card16 id_dynamic)
void iiimp_attribute_id_destroy (IIIMP_data_s *data_s)

Class Documentation

struct iiimp_attribute_id

Definition at line 373 of file iiimp-dataP.h.

Collaboration diagram for iiimp_attribute_id:
Class Members
int id_dynamic
int id_predefined
struct iiimp_attribute_id * next
struct iiimp_data_s

Definition at line 380 of file iiimp-dataP.h.

Collaboration diagram for iiimp_data_s:
Class Members
IIIMP_attribute_id * attribute_id
int byte_swap
IIIMP_card32_list * capability
uint_t print_flag
FILE * print_fp
int protocol_version
int status

Define Documentation

#define GET16 (   n,
  r,
  p,
 
)
Value:
(((n) = ((0 == (b)) ? \
                             (int16_t)(((*((uchar_t *)(p + 0))) << 0) + \
                                      ((*((uchar_t *)(p + 1))) << 8)) : \
                             (int16_t)(((*((uchar_t *)(p + 0))) << 8) + \
                                      ((*((uchar_t *)(p + 1))) << 0)))), \
                      ((p) += 2), \
                      ((r) -= 2))

Definition at line 239 of file iiimp-dataP.h.

#define GET32 (   n,
  r,
  p,
 
)
Value:
(((n) = ((0 == (b)) ? \
                             ((int32_t)(((*((uchar_t *)(p + 0))) << 0) + \
                                       ((*((uchar_t *)(p + 1))) << 8) + \
                                       ((*((uchar_t *)(p + 2))) << 16) + \
                                       ((*((uchar_t *)(p + 3))) << 24))) : \
                             ((int32_t)(((*((uchar_t *)(p + 0))) << 24) + \
                                       ((*((uchar_t *)(p + 1))) << 16) + \
                                       ((*((uchar_t *)(p + 2))) << 8) + \
                                       ((*((uchar_t *)(p + 3))) << 0))))), \
                      ((p) += 4), \
                      ((r) -= 4))

Definition at line 248 of file iiimp-dataP.h.

#define GET8 (   n,
  r,
  p,
 
)    (((n) = (*((int8_t *)(p)))), ((p) += 1), ((r) -= 1))

Definition at line 339 of file iiimp-dataP.h.

#define GET_SCOPE_FOR_HOTKEY (   n,
  p,
 
)
Value:
if (0 == (b)) { \
                                     if ((*((uchar_t *)(p + 1)) & 0x80)) \
                                       (n) = 1; \
                                     else \
                                       (n) = 0; \
                                   } else { \
                                     if ((*((uchar_t *)(p + 0)) & 0x80)) \
                                       (n) = 1; \
                                     else \
                                       (n) = 0; \
                                   };

Definition at line 180 of file iiimp-dataP.h.

#define GETU15 (   n,
  p,
 
)
Value:
((n) = ((0 == (b)) ? \
                                    (((*((uchar_t *)(p + 0))) << 0) + \
                                     (((*((uchar_t *)(p + 1))) & 0x7F) << 8)) : \
                                    ((((*((uchar_t *)(p + 0))) & 0x7F) << 8) + \
                                     ((*((uchar_t *)(p + 1))) << 0))))

Definition at line 193 of file iiimp-dataP.h.

#define GETU16 (   n,
  r,
  p,
 
)
Value:
(((n) = ((0 == (b)) ? \
                                    (((*((uchar_t *)(p + 0))) << 0) + \
                                     ((*((uchar_t *)(p + 1))) << 8)) : \
                                    (((*((uchar_t *)(p + 0))) << 8) + \
                                     ((*((uchar_t *)(p + 1))) << 0)))), \
                             ((p) += 2), \
                             ((r) -= 2))

Definition at line 199 of file iiimp-dataP.h.

#define GETU32 (   n,
  r,
  p,
 
)
Value:
(((n) = ((0 == (b)) ? \
                                    (((*((uchar_t *)(p + 0))) << 0) + \
                                     ((*((uchar_t *)(p + 1))) << 8) + \
                                     ((*((uchar_t *)(p + 2))) << 16) + \
                                     ((*((uchar_t *)(p + 3))) << 24)) : \
                                    (((*((uchar_t *)(p + 0))) << 24) + \
                                     ((*((uchar_t *)(p + 1))) << 16) + \
                                     ((*((uchar_t *)(p + 2))) << 8) + \
                                     ((*((uchar_t *)(p + 3))) << 0)))), \
                             ((p) += 4), \
                             ((r) -= 4))

Definition at line 207 of file iiimp-dataP.h.

#define GETU64 (   n,
  r,
  p,
 
)
Value:
(((n) = ((0 == (b)) ? \
                                    (((uint64_t)(*((uchar_t *)(p + 0))) << 0) + \
                                     ((uint64_t)(*((uchar_t *)(p + 1))) << 8) + \
                                     ((uint64_t)(*((uchar_t *)(p + 2))) << 16) + \
                                     ((uint64_t)(*((uchar_t *)(p + 3))) << 24) + \
                                     ((uint64_t)(*((uchar_t *)(p + 4))) << 32) + \
                                     ((uint64_t)(*((uchar_t *)(p + 5))) << 40) + \
                                     ((uint64_t)(*((uchar_t *)(p + 6))) << 48) + \
                                     ((uint64_t)(*((uchar_t *)(p + 7))) << 56)) : \
                                    (((uint64_t)(*((uchar_t *)(p + 0))) << 56) + \
                                     ((uint64_t)(*((uchar_t *)(p + 1))) << 48) + \
                                     ((uint64_t)(*((uchar_t *)(p + 2))) << 40) + \
                                     ((uint64_t)(*((uchar_t *)(p + 3))) << 32) + \
                                     ((uint64_t)(*((uchar_t *)(p + 4))) << 24) + \
                                     ((uint64_t)(*((uchar_t *)(p + 5))) << 16) + \
                                     ((uint64_t)(*((uchar_t *)(p + 6))) << 8) + \
                                     ((uint64_t)(*((uchar_t *)(p + 7))) << 0)))), \
                             ((p) += 8), \
                             ((r) -= 8))

Definition at line 219 of file iiimp-dataP.h.

#define GETU8 (   n,
  r,
  p,
 
)    (((n) = (*((uint8_t *)(p)))), ((p) += 1), ((r) -= 1))

Definition at line 338 of file iiimp-dataP.h.

#define IIIMP_dal
Value:
IIIMP_data_s *              data_s, \
       size_t *             nbyte, \
       const uchar_t **     ptr, \
       size_t               byte_length

Definition at line 393 of file iiimp-dataP.h.

#define KEY_EVENT_OBJECT_SIZE   (4 * 4)

Definition at line 370 of file iiimp-dataP.h.

#define PAD (   n)    ((4 - ((n) & 0x03)) & 0x03)

Definition at line 359 of file iiimp-dataP.h.

#define PAD2 (   n)    ((n) & 0x02)

Definition at line 358 of file iiimp-dataP.h.

#define PUT16 (   n,
  r,
  p,
 
)
Value:
if (0 == (b)) { \
                            (*((p) + 0)) = (((n) & 0x00ff) >> 0); \
                            (*((p) + 1)) = (((n) & 0xff00) >> 8); \
                     } else { \
                            (*((p) + 0)) = (((n) & 0xff00) >> 8); \
                            (*((p) + 1)) = (((n) & 0x00ff) >> 0); \
                     }; \
                     ((p) += 2); \
                     ((r) -= 2)

Definition at line 310 of file iiimp-dataP.h.

#define PUT32 (   n,
  r,
  p,
 
)
Value:
if (0 == (b)) { \
                            (*((p) + 0)) = (((n) & 0x000000ff) >> 0); \
                            (*((p) + 1)) = (((n) & 0x0000ff00) >> 8); \
                            (*((p) + 2)) = (((n) & 0x00ff0000) >> 16); \
                            (*((p) + 3)) = (((n) & 0xff000000) >> 24); \
                     } else { \
                            (*((p) + 0)) = (((n) & 0xff000000) >> 24); \
                            (*((p) + 1)) = (((n) & 0x00ff0000) >> 16); \
                            (*((p) + 2)) = (((n) & 0x0000ff00) >> 8); \
                            (*((p) + 3)) = (((n) & 0x000000ff) >> 0); \
                     }; \
                     ((p) += 4); \
                     ((r) -= 4)

Definition at line 321 of file iiimp-dataP.h.

#define PUT8 (   n,
  r,
  p,
 
)    (((*p) = (n)), ((p) += 1), ((r) -= 1))

Definition at line 342 of file iiimp-dataP.h.

#define PUT_PACKET_HEADER (   ptr,
  opcode,
  length 
)
Value:
(*((ptr) + 0) = (((opcode) & 0x7f)), \
        *((ptr) + 1) = (((length) & 0x00ff0000) >> 16), \
        *((ptr) + 2) = (((length) & 0x0000ff00) >> 8), \
        *((ptr) + 3) = (((length) & 0x000000ff) >> 0))

Definition at line 349 of file iiimp-dataP.h.

#define PUTU16 (   n,
  r,
  p,
 
)
Value:
if (0 == (b)) { \
                            (*((p) + 0)) = (((n) & 0x00ff) >> 0); \
                            (*((p) + 1)) = (((n) & 0xff00) >> 8); \
                     } else { \
                            (*((p) + 0)) = (((n) & 0xff00) >> 8); \
                            (*((p) + 1)) = (((n) & 0x00ff) >> 0); \
                     }; \
                     ((p) += 2); \
                     ((r) -= 2)

Definition at line 261 of file iiimp-dataP.h.

#define PUTU32 (   n,
  r,
  p,
 
)
Value:
if (0 == (b)) { \
                            (*((p) + 0)) = (((n) & 0x000000ff) >> 0); \
                            (*((p) + 1)) = (((n) & 0x0000ff00) >> 8); \
                            (*((p) + 2)) = (((n) & 0x00ff0000) >> 16); \
                            (*((p) + 3)) = (((n) & 0xff000000) >> 24); \
                     } else { \
                            (*((p) + 0)) = (((n) & 0xff000000) >> 24); \
                            (*((p) + 1)) = (((n) & 0x00ff0000) >> 16); \
                            (*((p) + 2)) = (((n) & 0x0000ff00) >> 8); \
                            (*((p) + 3)) = (((n) & 0x000000ff) >> 0); \
                     }; \
                     ((p) += 4); \
                     ((r) -= 4)

Definition at line 272 of file iiimp-dataP.h.

#define PUTU64 (   n,
  r,
  p,
 
)
Value:
if (0 == (b)) { \
                            (*((p) + 0)) = (((n) & 0x00000000000000ffULL) >> 0); \
                            (*((p) + 1)) = (((n) & 0x000000000000ff00ULL) >> 8); \
                            (*((p) + 2)) = (((n) & 0x0000000000ff0000ULL) >> 16); \
                            (*((p) + 3)) = (((n) & 0x00000000ff000000ULL) >> 24); \
                            (*((p) + 4)) = (((n) & 0x000000ff00000000ULL) >> 32); \
                            (*((p) + 5)) = (((n) & 0x0000ff0000000000ULL) >> 40); \
                            (*((p) + 6)) = (((n) & 0x00ff000000000000ULL) >> 48); \
                            (*((p) + 7)) = (((n) & 0xff00000000000000ULL) >> 56); \
                     } else { \
                            (*((p) + 0)) = (((n) & 0xff00000000000000ULL) >> 56); \
                            (*((p) + 1)) = (((n) & 0x00ff000000000000ULL) >> 48); \
                            (*((p) + 2)) = (((n) & 0x0000ff0000000000ULL) >> 40); \
                            (*((p) + 3)) = (((n) & 0x000000ff00000000ULL) >> 32); \
                            (*((p) + 4)) = (((n) & 0x00000000ff000000ULL) >> 24); \
                            (*((p) + 5)) = (((n) & 0x0000000000ff0000ULL) >> 16); \
                            (*((p) + 6)) = (((n) & 0x000000000000ff00ULL) >> 8); \
                            (*((p) + 7)) = (((n) & 0x00000000000000ffULL) >> 0); \
                     }; \
                     ((p) += 8); \
                     ((r) -= 8)

Definition at line 287 of file iiimp-dataP.h.

#define PUTU8 (   n,
  r,
  p,
 
)    (((*p) = (n)), ((p) += 1), ((r) -= 1))

Definition at line 341 of file iiimp-dataP.h.

#define REQUIRE_PROTOCOL_VERSION (   data_s,
 
)
Value:
do { \
    if ((v) > (data_s)->protocol_version) { \
       (data_s)->status = IIIMP_DATA_PROTOCOL_VERSION_ERROR; \
       return NULL; \
    } \
} while(0)

Definition at line 361 of file iiimp-dataP.h.

#define SKIP16 (   r,
 
)    (((p) += 2), ((r) -= 2))

Definition at line 345 of file iiimp-dataP.h.

#define SKIP32 (   r,
 
)    (((p) += 4), ((r) -= 4))

Definition at line 346 of file iiimp-dataP.h.

#define SKIP8 (   r,
 
)    (((p) += 1), ((r) -= 1))

Definition at line 344 of file iiimp-dataP.h.

#define STRING_OBJECT_SIZE (   len)    (2 + (len) + (STRING_PAD((len))))

Definition at line 357 of file iiimp-dataP.h.

#define STRING_PAD (   len)    ((2 + (len)) % 4)

Definition at line 356 of file iiimp-dataP.h.


Typedef Documentation


Function Documentation

void iiimp_annotation_list_pack ( IIIMP_data_s *  data_s,
IIIMP_annotation m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 99 of file comp-annotation.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_annotation_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_annotation_pack ( IIIMP_data_s *  data_s,
IIIMP_annotation m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 64 of file comp-annotation.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->id, rest, p, data_s->byte_swap);

    switch (m->id) {
    case IIIMP_ANNOTATION_TEXT_INPUT_BEFORE_CONVERSION:
    case IIIMP_ANNOTATION_READING_OF_THE_TEXT:
       iiimp_annotation_text_pack(data_s, m->value, &rest, &p);
       break;
    case IIIMP_ANNOTATION_TYPE_OF_SPEECH:
    case IIIMP_ANNOTATION_TYPE_OF_CLAUSE:
       iiimp_annotation_string_pack(data_s, m->value, &rest, &p);
       break;
    default:
       break;
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_annotation_print ( IIIMP_data_s *  data_s,
IIIMP_annotation m 
)

Definition at line 188 of file comp-annotation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp,
                "\tannotation: %s: start_index=%d end_index=%d length=%d\n",
                annotation_id_string_get(m->id),
                m->value->start_index, m->value->end_index, m->value->length);

    switch (m->id) {
    case IIIMP_ANNOTATION_TEXT_INPUT_BEFORE_CONVERSION:
    case IIIMP_ANNOTATION_READING_OF_THE_TEXT:
       iiimp_text_print(data_s, m->value->v.text);
       break;
    case IIIMP_ANNOTATION_TYPE_OF_SPEECH:
    case IIIMP_ANNOTATION_TYPE_OF_CLAUSE:
       iiimp_string_print(data_s, m->value->v.string);
       break;
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_annotation_string_pack ( IIIMP_data_s *  data_s,
IIIMP_annotation_value m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 142 of file comp-annotation-value.c.

{
    size_t                  rest;
    uchar_t *               p;
    IIIMP_annotation_value *       v;
    size_t                  length;

    rest = *nbyte;
    p = *ptr;

    length = 0;
    for (v = m; NULL != v; v = v->next) {
       length += (4 + 4 + 4 + v->v.string->nbyte);
    }
    PUTU32(length, rest, p, data_s->byte_swap);

    for (; NULL != m; m = m->next) {
       PUT32(m->start_index, rest, p, data_s->byte_swap);
       PUT32(m->end_index, rest, p, data_s->byte_swap);
       PUT32(m->length, rest, p, data_s->byte_swap);
       iiimp_string_pack(data_s, m->v.string, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_annotation_text_pack ( IIIMP_data_s *  data_s,
IIIMP_annotation_value m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 107 of file comp-annotation-value.c.

{
    size_t                  rest;
    uchar_t *               p;
    IIIMP_annotation_value *       v;
    size_t                  length;

    rest = *nbyte;
    p = *ptr;

    length = 0;
    for (v = m; NULL != v; v = v->next) {
       length += (4 + 4 + 4 + v->v.text->nbyte);
    }
    PUTU32(length, rest, p, data_s->byte_swap);

    for (; NULL != m; m = m->next) {
       PUT32(m->start_index, rest, p, data_s->byte_swap);
       PUT32(m->end_index, rest, p, data_s->byte_swap);
       PUT32(m->length, rest, p, data_s->byte_swap);
       iiimp_text_pack(data_s, m->v.text, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_attribute_id_destroy ( IIIMP_data_s *  data_s)

Definition at line 158 of file iiimp-misc.c.

{
    IIIMP_attribute_id *    attr;
    IIIMP_attribute_id *    attr_next;

    for (attr = data_s->attribute_id; NULL != attr; attr = attr_next) {
       attr_next = attr->next;
       free(attr);
    }
    data_s->attribute_id = NULL;

    return;
}

Here is the caller graph for this function:

IIIMP_card16 iiimp_attribute_id_search ( IIIMP_data_s *  data_s,
IIIMP_card16  id_dynamic 
)

Definition at line 118 of file iiimp-misc.c.

{
    IIIMP_attribute_id *    attr;

    for (attr = data_s->attribute_id; NULL != attr; attr = attr->next) {
       if (id_dynamic == attr->id_dynamic) {
           return attr->id_predefined;
       }
    }

    return 0;
}

Here is the caller graph for this function:

void iiimp_attribute_id_update ( IIIMP_data_s *  data_s,
IIIMP_card16  id_predefined,
IIIMP_card16  id_dynamic 
)

Definition at line 133 of file iiimp-misc.c.

{
    IIIMP_attribute_id *    attr;

    for (attr = data_s->attribute_id; NULL != attr; attr = attr->next) {
       if (id_dynamic == attr->id_dynamic) {
           attr->id_predefined = id_predefined;
           return;
       }
    }
    attr = (IIIMP_attribute_id *)malloc(sizeof (IIIMP_attribute_id));
    if (NULL == attr) return;
    attr->id_predefined = id_predefined;
    attr->id_dynamic = id_dynamic;
    attr->next = data_s->attribute_id;
    data_s->attribute_id = attr;

    return;
}

Here is the caller graph for this function:

void iiimp_aux_simple_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 134 of file im-aux-simple.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\tindex=%d name=",
                m->v.aux_simple.class_index);
    iiimp_string_print(data_s, m->v.aux_simple.input_method_name);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

void iiimp_aux_value_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 197 of file im-aux-value.c.

{
    IIIMP_aux_value_v *     v;
    IIIMP_string *   s;

    v = &(m->v.aux_value);
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\tindex=%d name=", v->class_index);
    iiimp_string_print(data_s, v->input_method_name);
    (void)fputc('\n', data_s->print_fp);
    iiimp_card32_list_print(data_s, v->integer_value);
    for (s = v->string_value; NULL != s; s = s->next) {
       (void)fprintf(data_s->print_fp, "       *");
       iiimp_string_print(data_s, s);
       (void)fputc('\n', data_s->print_fp);
    }
}

Here is the call graph for this function:

void iiimp_binaryfile_object_pack ( IIIMP_data_s *  data_s,
IIIMP_binaryfile_object m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 49 of file comp-binaryfile-object.c.

{
    size_t                  rest;
    uchar_t *               p;

    rest = *nbyte;
    p = *ptr;

    iiimp_string_pack(data_s, m->object, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_binaryfile_object_print ( IIIMP_data_s *  data_s,
IIIMP_binaryfile_object m 
)

Definition at line 110 of file comp-binaryfile-object.c.

{
    if (NULL == m) return;

    iiimp_string_print(data_s, m->object);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_byte_stream_print ( IIIMP_data_s *  data_s,
IIIMP_byte_stream m 
)

Definition at line 427 of file comp-misc.c.

{
    int       i;
    int       n;

    if (NULL == m) return;

    for (i = 0; i < m->nbyte;) {
       (void)fprintf(data_s->print_fp, "%8d", i);
       for (n = 0; (n < 16) && (i < m->nbyte); i++, n++) {
           (void)fprintf(data_s->print_fp, " %02x", *(m->ptr + i));
       }
       (void)fputc('\n', data_s->print_fp);
    }
}

Here is the caller graph for this function:

void iiimp_card16_list_pack ( IIIMP_data_s *  data_s,
IIIMP_card16_list m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 75 of file comp-misc.c.

{
    uchar_t * p;
    size_t    rest;
    int              i;

    if (NULL == m) return;

    rest = *nbyte;
    p = *ptr;

    for (i = 0; i < m->count; i++) {
       PUTU16(*(m->ptr + i), rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_card16_list_print ( IIIMP_data_s *  data_s,
IIIMP_card16_list m 
)

Definition at line 157 of file comp-misc.c.

{
    int       i;
    int       n;

    if (NULL == m) return;

    for (i = 0; i < m->count;) {
       (void)fprintf(data_s->print_fp, "%8d", i);
       for (n = 0; (n < 8) && (i < m->count); i++, n++) {
           (void)fprintf(data_s->print_fp, " %04x", *(m->ptr + i));
       }
       (void)fputc('\n', data_s->print_fp);
    }
}
void iiimp_card32_list_pack ( IIIMP_data_s *  data_s,
IIIMP_card32_list m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 236 of file comp-misc.c.

{
    uchar_t * p;
    size_t    rest;
    int              i;

    if (NULL == m) return;

    rest = *nbyte;
    p = *ptr;

    for (i = 0; i < m->count; i++) {
       PUTU32(*(m->ptr + i), rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_card32_list_print ( IIIMP_data_s *  data_s,
IIIMP_card32_list m 
)

Definition at line 317 of file comp-misc.c.

{
    int       i;
    int       n;

    if (NULL == m) return;

    for (i = 0; i < m->count;) {
       (void)fprintf(data_s->print_fp, "%8d", i);
       for (n = 0; (n < 8) && (i < m->count); i++, n++) {
           (void)fprintf(data_s->print_fp, " %08x", *(m->ptr + i));
       }
       (void)fputc('\n', data_s->print_fp);
    }
}

Here is the caller graph for this function:

void iiimp_ccdef_pack ( IIIMP_data_s *  data_s,
IIIMP_ccdef m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 48 of file comp-ccdef.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    iiimp_string_pack(data_s, m->contents, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_ccdef_print ( IIIMP_data_s *  data_s,
IIIMP_ccdef m 
)

Definition at line 108 of file comp-ccdef.c.

{
    if (NULL == m) return;

    iiimp_string_print(data_s, m->contents);
}

Here is the call graph for this function:

void iiimp_char_with_feedback_list_pack ( IIIMP_data_s *  data_s,
IIIMP_char_with_feedback m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 85 of file comp-char-with-feedback.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_char_with_feedback_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_char_with_feedback_list_print ( IIIMP_data_s *  data_s,
IIIMP_char_with_feedback m 
)

Definition at line 215 of file comp-char-with-feedback.c.

{
    for (; NULL != m; m = m->next) {
       (void)fputc('\t', data_s->print_fp);
       iiimp_char_with_feedback_print(data_s, m);
       (void)fputc('\n', data_s->print_fp);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_char_with_feedback_pack ( IIIMP_data_s *  data_s,
IIIMP_char_with_feedback m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 61 of file comp-char-with-feedback.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    PUTU16(m->code, rest, p, data_s->byte_swap);
    PUTU16(m->feedback_attr->nbyte, rest, p, data_s->byte_swap);
    iiimp_feedback_attr_list_pack(data_s, m->feedback_attr, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_char_with_feedback_print ( IIIMP_data_s *  data_s,
IIIMP_char_with_feedback m 
)

Definition at line 204 of file comp-char-with-feedback.c.

{
    if (NULL == m) return;
    (void)fprintf(data_s->print_fp, "U+%04x", m->code);
    iiimp_feedback_attr_list_print(data_s, m->feedback_attr);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_character_subsets_list_print ( IIIMP_data_s *  data_s,
IIIMP_card32_list m 
)

Definition at line 458 of file comp-misc.c.

{
    int       i;

    if ((NULL == m) || (m->count <= 0)) return;

    iiimp_character_subsets_print(data_s, m->ptr);

    for (i = 1; i < m->count; i++) {
       (void)fputc(' ', data_s->print_fp);
       iiimp_character_subsets_print(data_s, m->ptr + i);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_character_subsets_print ( IIIMP_data_s *  data_s,
IIIMP_card32 m 
)

Definition at line 447 of file comp-misc.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "%s", character_subsets_string_get(*m));
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_client_descriptor_pack ( IIIMP_data_s *  data_s,
IIIMP_client_descriptor cd,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 94 of file comp-client-descriptor.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    iiimp_string_pack(data_s, cd->type, &rest, &p);
    iiimp_string_pack(data_s, cd->os_name, &rest, &p);
    iiimp_string_pack(data_s, cd->arch, &rest, &p);
    iiimp_string_pack(data_s, cd->version, &rest, &p);

    if (NULL != cd->X_display_name) {
       iiimp_string_pack(data_s, cd->X_display_name, &rest, &p);
    } else if (NULL != cd->X_server_vendor) {
       PUTU32(0, rest, p, data_s->byte_swap);
    }
    if (NULL != cd->X_server_vendor) {
       iiimp_string_pack(data_s, cd->X_server_vendor, &rest, &p);
    } else if (NULL != cd->X_display_name) {
       PUTU32(0, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_client_descriptor_print ( IIIMP_data_s *  data_s,
IIIMP_client_descriptor m 
)

Definition at line 204 of file comp-client-descriptor.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tApplication type=");
    iiimp_string_print(data_s, m->type);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tOperating system name=");
    iiimp_string_print(data_s, m->os_name);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tOperating system architecture=");
    iiimp_string_print(data_s, m->arch);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tOperating system version=");
    iiimp_string_print(data_s, m->version);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tX Display Name=");
    iiimp_string_print(data_s, m->X_display_name);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tX Server Vendor=");
    iiimp_string_print(data_s, m->X_server_vendor);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_close_pack ( IIIMP_data_s *  data_s,
IIIMP_close m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9323 of file comp-file-operation.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_close_print ( IIIMP_data_s *  data_s,
IIIMP_close m 
)

Definition at line 10509 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_close_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_close_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 695 of file comp-file-operation-reply.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_close_reply_print ( IIIMP_data_s *  data_s,
IIIMP_close_reply m 
)

Definition at line 1987 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_closedir_pack ( IIIMP_data_s *  data_s,
IIIMP_closedir m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9392 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_closedir_print ( IIIMP_data_s *  data_s,
IIIMP_closedir m 
)

Definition at line 10546 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_closedir_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_closedir_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 767 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_closedir_reply_print ( IIIMP_data_s *  data_s,
IIIMP_closedir_reply m 
)

Definition at line 2031 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_commit_string_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 128 of file im-commit-string.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    iiimp_contents_print(data_s, m->v.commit_string.contents);
}

Here is the call graph for this function:

void iiimp_connect_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 205 of file im-connect.c.

{
    IIIMP_connect_v *       v;

    v = &(m->v.connect);

    iiimp_message_header_print(data_s, m->opcode, -1, -1);

    switch (v->byte_order) {
    case IM_CONNECT_BIG_ENDIAN:
       (void)fprintf(data_s->print_fp, "\t%s\n", "big endian");
       break;
    case IM_CONNECT_LITTLE_ENDIAN:
       (void)fprintf(data_s->print_fp, "\t%s\n", "little endian");
       break;
    default:
       (void)fprintf(data_s->print_fp, "\t%s\n", "unknown endian");
       break;
    }

    (void)fprintf(data_s->print_fp, "\tprotocol_version = 0x%02x\n",
                v->protocol_version);

    (void)fprintf(data_s->print_fp, "\tuser name = ");
    iiimp_string_print(data_s, v->user_name);
    (void)fputc('\n', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "\tauth protocol name = ");
    iiimp_string_list_print(data_s, v->auth);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

void iiimp_connect_reply_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 140 of file im-connect-reply.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    (void)fprintf(data_s->print_fp, "\tlanguage_list=(");
    iiimp_string_list_print(data_s, m->v.connect_reply.language);
    (void)fprintf(data_s->print_fp, ")\n");
}

Here is the call graph for this function:

void iiimp_contents_pack ( IIIMP_data_s *  data_s,
IIIMP_contents m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 108 of file comp-contents.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->type, rest, p, data_s->byte_swap);
    switch (m->type) {
    case IIIMP_CONTENTS_STRING:    /* string */
       iiimp_string_pack(data_s, m->value.string, &rest, &p);
       break;
    case IIIMP_CONTENTS_TEXT: /* text */
       iiimp_text_pack(data_s, m->value.text, &rest, &p);
       break;
    case IIIMP_CONTENTS_KEYEVENT: /* keyevent */
       PUTU32(m->value.keyevent_list->nbyte, rest, p, data_s->byte_swap);
       iiimp_keyevent_list_pack(data_s, m->value.keyevent_list, &rest, &p);
       break;
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_contents_print ( IIIMP_data_s *  data_s,
IIIMP_contents m 
)

Definition at line 210 of file comp-contents.c.

{
    if (NULL == m) return;

    switch (m->type) {
    case IIIMP_CONTENTS_STRING: /* string */
       (void)fprintf(data_s->print_fp, "\t*");
       iiimp_string_print(data_s, m->value.string);
       (void)fputc('\n', data_s->print_fp);
       break;
    case IIIMP_CONTENTS_TEXT: /* text */
       iiimp_text_print(data_s, m->value.text);
       break;
    case IIIMP_CONTENTS_KEYEVENT: /* keyevent */
       iiimp_keyevent_list_print(data_s, m->value.keyevent_list);
       break;
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_creat_pack ( IIIMP_data_s *  data_s,
IIIMP_creat m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9553 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->mode, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->path, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_creat_print ( IIIMP_data_s *  data_s,
IIIMP_creat m 
)

Definition at line 10638 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->path);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_creat_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_creat_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 982 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_creat_reply_print ( IIIMP_data_s *  data_s,
IIIMP_creat_reply m 
)

Definition at line 2122 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_createic_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 144 of file im-createic.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    iiimp_icattribute_list_print(data_s, m->v.createic.attr_list);
}

Here is the call graph for this function:

void iiimp_fcntl_pack ( IIIMP_data_s *  data_s,
IIIMP_fcntl m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9648 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->cmd, rest, p, data_s->byte_swap);
    PUTU32(m->arg, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_fcntl_print ( IIIMP_data_s *  data_s,
IIIMP_fcntl m 
)

Definition at line 10693 of file comp-file-operation.c.

{   
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tcmd = %d\n", m->cmd);
    (void)fprintf(data_s->print_fp, "\targ = %d\n", m->arg);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_fcntl_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_fcntl_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 1075 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);
    PUTU32(m->return_value, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_fcntl_reply_print ( IIIMP_data_s *  data_s,
IIIMP_fcntl_reply m 
)

Definition at line 2175 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fprintf(data_s->print_fp, "\treturn_value = %d\n", m->return_value);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_feedback_attr_list_pack ( IIIMP_data_s *  data_s,
IIIMP_feedback_attr_list m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 78 of file comp-feedback-attr.c.

{
    size_t    rest;
    uchar_t * p;
    int              i;

    rest = *nbyte;
    p = *ptr;

    for (i = 0; i < m->count; i++) {
       PUTU32((m->ptr + i)->id, rest, p, data_s->byte_swap);
       PUTU32((m->ptr + i)->feedback, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_feedback_attr_list_print ( IIIMP_data_s *  data_s,
IIIMP_feedback_attr_list m 
)

Definition at line 171 of file comp-feedback-attr.c.

{
    int       i;

    if (NULL == m) return;

    for (i = 0; i < m->count; i++) {
       (void)fputc(' ', data_s->print_fp);
       iiimp_feedback_attr_print(data_s, m->ptr + i);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_feedback_attr_print ( IIIMP_data_s *  data_s,
IIIMP_feedback_attr m 
)

Definition at line 156 of file comp-feedback-attr.c.

{
    if (NULL == m) return;
    if (0 == m->id) {
       (void)fprintf(data_s->print_fp, "%s", feedback_string_get(m->feedback));
    } else {
       (void)fprintf(data_s->print_fp, "\n\tFeedback ID=%d Feedback=%d\n",
                    m->id, m->feedback);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_file_operation_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 378 of file im-file-operation.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    (void)fprintf(data_s->print_fp, "\ttype = %d\n", m->v.file_operation.type);
    // (void)fprintf(data_s->print_fp, "\tnbyte = %d\n", m->v.file_operation.nbyte);
    (void)fputc('\n', data_s->print_fp);

    switch (m->v.file_operation.type) {
      case IIIMP_FILE_OPERATION_TYPE_OPEN:
       iiimp_open_print(data_s, (IIIMP_open *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_READ:
       iiimp_read_print(data_s, (IIIMP_read *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_WRITE:
       iiimp_write_print(data_s, (IIIMP_write *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_CLOSE:
       iiimp_close_print(data_s, (IIIMP_close *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_OPENDIR:
       iiimp_opendir_print(data_s, (IIIMP_opendir *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_CLOSEDIR:
       iiimp_closedir_print(data_s, (IIIMP_closedir *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_SEEK:
       iiimp_seek_print(data_s, (IIIMP_seek *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_MKDIR:
       iiimp_mkdir_print(data_s, (IIIMP_mkdir *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_RMDIR:
       iiimp_rmdir_print(data_s, (IIIMP_rmdir *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_SYMLINK:
       iiimp_symlink_print(data_s, (IIIMP_symlink *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_STAT:
       iiimp_stat_print(data_s, (IIIMP_stat *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_LSTAT:
       iiimp_lstat_print(data_s, (IIIMP_lstat *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_FSTAT:
       iiimp_fstat_print(data_s, (IIIMP_fstat *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_CREAT:
       iiimp_creat_print(data_s, (IIIMP_creat *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_LSEEK:
       iiimp_lseek_print(data_s, (IIIMP_lseek *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_UNLINK:
       iiimp_unlink_print(data_s, (IIIMP_unlink *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_RENAME:
       iiimp_rename_print(data_s, (IIIMP_rename *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_FCNTL:
       iiimp_fcntl_print(data_s, (IIIMP_fcntl *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_TRUNCATE:
       iiimp_truncate_print(data_s, (IIIMP_truncate *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_FTRUNCATE:
       iiimp_ftruncate_print(data_s, (IIIMP_ftruncate *)m->v.file_operation.value);
       break;
    } 
}

Here is the call graph for this function:

void iiimp_file_operation_reply_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 379 of file im-file-operation-reply.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    (void)fprintf(data_s->print_fp, "\ttype = %d\n", m->v.file_operation_reply.type);
    (void)fputc('\n', data_s->print_fp);

    switch (m->v.file_operation_reply.type) {
      case IIIMP_FILE_OPERATION_TYPE_OPEN_REPLY:
       iiimp_open_reply_print(data_s, (IIIMP_open_reply *)m->v.file_operation_reply.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_READ_REPLY:
       iiimp_read_reply_print(data_s, (IIIMP_read_reply *)m->v.file_operation_reply.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_WRITE_REPLY:
       iiimp_write_reply_print(data_s, (IIIMP_write_reply *)m->v.file_operation_reply.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_CLOSE_REPLY:
       iiimp_close_reply_print(data_s, (IIIMP_close_reply *)m->v.file_operation_reply.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_OPENDIR_REPLY:
       iiimp_opendir_reply_print(data_s, (IIIMP_opendir_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_CLOSEDIR_REPLY:
       iiimp_closedir_reply_print(data_s, (IIIMP_closedir_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_SEEK_REPLY:
       iiimp_seek_reply_print(data_s, (IIIMP_seek_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_MKDIR_REPLY:
       iiimp_mkdir_reply_print(data_s, (IIIMP_mkdir_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_RMDIR_REPLY:
       iiimp_rmdir_reply_print(data_s, (IIIMP_rmdir_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_SYMLINK_REPLY:
       iiimp_symlink_reply_print(data_s, (IIIMP_symlink_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_STAT_REPLY:
       iiimp_stat_reply_print(data_s, (IIIMP_stat_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_LSTAT_REPLY:
       iiimp_lstat_reply_print(data_s, (IIIMP_lstat_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_FSTAT_REPLY:
       iiimp_fstat_reply_print(data_s, (IIIMP_fstat_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_CREAT_REPLY:
       iiimp_creat_reply_print(data_s, (IIIMP_creat_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_LSEEK_REPLY:
       iiimp_lseek_reply_print(data_s, (IIIMP_lseek_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_UNLINK_REPLY:
       iiimp_unlink_reply_print(data_s, (IIIMP_unlink_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_RENAME_REPLY:
       iiimp_rename_reply_print(data_s, (IIIMP_rename_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_FCNTL_REPLY:
       iiimp_fcntl_reply_print(data_s, (IIIMP_fcntl_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_TRUNCATE_REPLY:
       iiimp_truncate_reply_print(data_s, (IIIMP_truncate_reply *)m->v.file_operation.value);
       break;
      case IIIMP_FILE_OPERATION_TYPE_FTRUNCATE_REPLY:
       iiimp_ftruncate_reply_print(data_s, (IIIMP_ftruncate_reply *)m->v.file_operation.value);
       break;
    } 
}

Here is the call graph for this function:

void iiimp_forward_event_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 129 of file im-forward-event.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    iiimp_contents_print(data_s, m->v.forward_event.contents);
}

Here is the call graph for this function:

void iiimp_forward_event_with_operations_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 159 of file im-forward-event-with-operations.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    iiimp_contents_print(data_s, m->v.forward_event_with_operations.contents);
    iiimp_operation_print(data_s, m->v.forward_event_with_operations.operation);
}

Here is the call graph for this function:

void iiimp_forward_event_with_operations_reply_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 146 of file im-forward-event-with-operations-reply.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    iiimp_operation_print(data_s,
                       m->v.forward_event_with_operations_reply.operation);
}

Here is the call graph for this function:

void iiimp_fstat_pack ( IIIMP_data_s *  data_s,
IIIMP_fstat m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9531 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_fstat_print ( IIIMP_data_s *  data_s,
IIIMP_fstat m 
)

Definition at line 10627 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_fstat_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_fstat_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 941 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    if (m->ns_id > 0) {
       PUTU32(m->stat_buf->s_mode, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_nlink, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_uid, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_gid, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_atime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_mtime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_ctime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_blksize, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_attr, rest, p, data_s->byte_swap);

       PUTU64(m->stat_buf->s_dev, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_rdev, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_ino, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_size, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_blocks, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_fstat_reply_print ( IIIMP_data_s *  data_s,
IIIMP_fstat_reply m 
)

Definition at line 2109 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_ftruncate_pack ( IIIMP_data_s *  data_s,
IIIMP_ftruncate m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9696 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->length, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_ftruncate_print ( IIIMP_data_s *  data_s,
IIIMP_ftruncate m 
)

Definition at line 10720 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tlength = %d\n", m->length);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_ftruncate_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_ftruncate_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 1122 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_ftruncate_reply_print ( IIIMP_data_s *  data_s,
IIIMP_ftruncate_reply m 
)

Definition at line 2202 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_geticvalues_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 151 of file im-geticvalues.c.

{
    IIIMP_geticvalues_v *   v;
    int                            i;

    v = &(m->v.geticvalues);
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    for (i = 0; i < v->attr_list->count; i++) {
       (void)fprintf(data_s->print_fp, "\t%s\n",
                    icattribute_id_string_get(*(v->attr_list->ptr + i)));
    }
}

Here is the call graph for this function:

void iiimp_geticvalues_reply_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 155 of file im-geticvalues-reply.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    iiimp_icattribute_list_print(data_s, m->v.geticvalues_reply.attr_list);
}

Here is the call graph for this function:

void iiimp_getimvalues_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 154 of file im-getimvalues.c.

{
    IIIMP_getimvalues_v *   v;
    int                            i;
    int                            id;
    int                            id_pre;
    int                            id_dyn;

    v = &(m->v.getimvalues);
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);

    for (i = 0; i < v->attr_list->count; i++) {
       id = *(v->attr_list->ptr + i);
       if (0x1000 & id) {
           id_pre = id;
           id_dyn = 0;
       } else {
           id_pre = iiimp_attribute_id_search(data_s, id);
           id_dyn = id;
       }
       (void)fprintf(data_s->print_fp, "\t%s",
                    imattribute_id_string_get(id_pre));
       if (0 != id_dyn) {
           (void)fprintf(data_s->print_fp, " (dynamic=%d)", id_dyn);
       }
       (void)fputc('\n', data_s->print_fp);
    }
}

Here is the call graph for this function:

void iiimp_getimvalues_reply_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 149 of file im-getimvalues-reply.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    iiimp_imattribute_list_print(data_s, m->v.getimvalues_reply.attr_list);
}

Here is the call graph for this function:

void iiimp_hotkey_list_delete ( IIIMP_data_s *  data_s,
HOTKEY_LIST m 
)

Definition at line 90 of file comp-hotkeys.c.

{
    int i;
    if (NULL == m) return;

    for (i = 0; i < m->count; i++) {
       iiimp_keyevent_list_delete(data_s, m->hotkey[i].hotkeylist);
       iiimp_string_delete(data_s, m->hotkey[i].label);
    }
    if (m->hotkey) free (m->hotkey);
    free(m);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_hotkey_list_pack ( IIIMP_data_s *  data_s,
HOTKEY_LIST m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 61 of file comp-hotkeys.c.

{
    size_t    rest;
    uchar_t * p;
    int         i;

    rest = *nbyte;
    p = *ptr;

    for (i = 0; i < m->count; i++) {
       PUTU16(m->hotkey[i].hotkeyctrl.hotkey_id, rest, p, data_s->byte_swap);
       PUTU8(m->hotkey[i].hotkeyctrl.state_flag, rest, p, data_s->byte_swap);
       PUTU8(m->hotkey[i].hotkeyctrl.action_flag, rest, p, data_s->byte_swap);
       PUTU32(m->hotkey[i].nbyte, rest, p, data_s->byte_swap);
       iiimp_keyevent_list_pack(data_s, m->hotkey[i].hotkeylist, &rest, &p);
       iiimp_string_pack(data_s, m->hotkey[i].label, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_hotkey_list_print ( IIIMP_data_s *  data_s,
HOTKEY_LIST m 
)

Definition at line 166 of file comp-hotkeys.c.

{
    int i;

    if (NULL == m) return;

    for (i = 0; i < m->count; i++) {
       (void)fprintf(data_s->print_fp, "\tHOTKEY ID = ");
       (void)fprintf(data_s->print_fp, "(%d)\n", m->hotkey[i].hotkeyctrl.hotkey_id);
       (void)fprintf(data_s->print_fp, "\tSTATE FLAG = ");
       (void)fprintf(data_s->print_fp, "(%d)\n", m->hotkey[i].hotkeyctrl.state_flag);
       (void)fputc('\n', data_s->print_fp);
       (void)fprintf(data_s->print_fp, "\tACTION FLAG = ");
       (void)fprintf(data_s->print_fp, "(%d)\n", m->hotkey[i].hotkeyctrl.action_flag);
       (void)fputc('\n', data_s->print_fp);
       (void)fprintf(data_s->print_fp, "\tHOTKEY List = \n");
       iiimp_keyevent_list_print(data_s, m->hotkey[i].hotkeylist);
       (void)fprintf(data_s->print_fp, "\tText Label = ");
       iiimp_string_print(data_s, m->hotkey[i].label);
       (void)fputc('\n', data_s->print_fp);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_hotkey_notify_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 136 of file im-hotkey-notify.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\thotkey_id = %d\n",
                m->v.hotkey_notify.hotkey_id);
    (void)fprintf(data_s->print_fp, "\tIndex of KeyEvent = %d\n", m->v.hotkey_notify.index);
}

Here is the call graph for this function:

void iiimp_hotkey_state_notify_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 136 of file im-hotkey-state-notify.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\thotkey_id = %d\n",
                m->v.hotkey_state_notify.hotkey_id);
    (void)fprintf(data_s->print_fp, "\tcurrent_state_flag = %d\n", m->v.hotkey_state_notify.current_state_flag);
}

Here is the call graph for this function:

void iiimp_icattribute_list_pack ( IIIMP_data_s *  data_s,
IIIMP_icattribute *  m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 192 of file comp-icattribute.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_icattribute_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_icattribute_list_print ( IIIMP_data_s *  data_s,
IIIMP_icattribute *  m 
)

Definition at line 378 of file comp-icattribute.c.

{
    for (; NULL != m; m = m->next) {
       iiimp_icattribute_print(data_s, m);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

IIIMP_icattribute* iiimp_icattribute_list_unpack ( IIIMP_dal  )
void iiimp_icattribute_pack ( IIIMP_data_s *  data_s,
IIIMP_icattribute *  m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 153 of file comp-icattribute.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    PUTU16(m->id, rest, p, data_s->byte_swap);
    PUTU16(m->value_nbyte, rest, p, data_s->byte_swap);

    switch(m->id) {
    case IIIMP_ICATTRIBUTE_INPUT_LANGUAGE: /* Input Language */
       iiimp_string_pack(data_s, m->value.input_language, &rest, &p);
       break;
    case IIIMP_ICATTRIBUTE_CHARACTER_SUBSETS: /* Character Subsets */
       iiimp_card32_list_pack(data_s, m->value.character_subsets, &rest, &p);
       break;
    case IIIMP_ICATTRIBUTE_INPUT_METHOD_NAME: /* Input Mehtod Name */
       iiimp_string_pack(data_s, m->value.input_method_name, &rest, &p);
       break;
    case IIIMP_ICATTRIBUTE_INPUT_METHOD: /* Input Mehtod */
       PUTU16(m->value.input_method, rest, p, data_s->byte_swap);
       PUTU16(0, rest, p, data_s->byte_swap);
       break;
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_icattribute_print ( IIIMP_data_s *  data_s,
IIIMP_icattribute *  m 
)

Definition at line 346 of file comp-icattribute.c.

{
    if (NULL == m) return;

    switch (m->id) {
    case IIIMP_ICATTRIBUTE_INPUT_LANGUAGE:       /* Input Language */
       (void)fprintf(data_s->print_fp, "\tInput Language=");
       iiimp_string_print(data_s, m->value.input_language);
       (void)fputc('\n', data_s->print_fp);
       break;
    case IIIMP_ICATTRIBUTE_CHARACTER_SUBSETS:    /* Character Subsets */
       (void)fprintf(data_s->print_fp, "\tcharacter subsets=(");
       iiimp_character_subsets_list_print(data_s, m->value.character_subsets);
       (void)fprintf(data_s->print_fp, ")\n");
       break;
    case IIIMP_ICATTRIBUTE_INPUT_METHOD_NAME:    /* Input Method Name */
       (void)fprintf(data_s->print_fp, "\tInput Method=");
       iiimp_string_print(data_s, m->value.input_language);
       (void)fputc('\n', data_s->print_fp);
       break;
    case IIIMP_ICATTRIBUTE_INPUT_METHOD:  /* Input Method */
       (void)fprintf(data_s->print_fp, "\tInput Method=%d",
                    m->value.input_method);
       (void)fputc('\n', data_s->print_fp);
       break;
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

IIIMP_icattribute* iiimp_icattribute_unpack ( IIIMP_dal  )
void iiimp_imattribute_list_pack ( IIIMP_data_s *  data_s,
IIIMP_imattribute *  m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 339 of file comp-imattribute.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_imattribute_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_imattribute_list_print ( IIIMP_data_s *  data_s,
IIIMP_imattribute *  m 
)

Definition at line 586 of file comp-imattribute.c.

{
    for (; NULL != m; m = m->next) {
       iiimp_imattribute_print(data_s, m);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

IIIMP_imattribute* iiimp_imattribute_list_unpack ( IIIMP_dal  )
void iiimp_imattribute_pack ( IIIMP_data_s *  data_s,
IIIMP_imattribute *  m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 281 of file comp-imattribute.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    PUTU16(m->id, rest, p, data_s->byte_swap);
    PUTU16(0, rest, p, data_s->byte_swap);

    PUT32(m->value_nbyte, rest, p, data_s->byte_swap);

    switch(m->id_pre) {
    case IIIMP_IMATTRIBUTE_INPUT_METHOD_LIST:
       iiimp_inputmethod_descriptor_list_pack(data_s,
                                          m->value.inputmethod_descriptor,
                                          &rest, &p);
       break;
    case IIIMP_IMATTRIBUTE_OBJECT_DESCRIPTOR_LIST:
       iiimp_object_descriptor_list_pack(data_s, m->value.object_descriptor,
                                     &rest, &p);
       break;
    case IIIMP_IMATTRIBUTE_CLIENT_DESCRIPTOR:
       iiimp_client_descriptor_pack(data_s,
                                 m->value.client_descriptor, &rest, &p);
       break;
    case IIIMP_IMATTRIBUTE_CHARACTER_CONVERSION_DEFINITION_RULE:
       iiimp_ccdef_pack(data_s, m->value.ccdef, &rest, &p);
       break;
    case IIIMP_IMATTRIBUTE_JAR_GUI_OBJECT:
    case IIIMP_IMATTRIBUTE_JAR_LIGHT_WEIGHT_ENGINE_OBJECT:
       iiimp_jarfile_object_pack(data_s, m->value.jarfile_object, &rest, &p);
       break;
    case IIIMP_IMATTRIBUTE_BINARY_GUI_OBJECT:
    case IIIMP_IMATTRIBUTE_BINARY_LIGHT_WEIGHT_ENGINE_OBJECT:
    case IIIMP_IMATTRIBUTE_SCRIPT_GUI_OBJECT:
    case IIIMP_IMATTRIBUTE_SCRIPT_LIGHT_WEIGHT_ENGINE_OBJECT:
       iiimp_binaryfile_object_pack(data_s, m->value.binaryfile_object,
                                 &rest, &p);
       break;
    case IIIMP_IMATTRIBUTE_CAPABILITY:
       iiimp_card32_list_pack(data_s, m->value.capability, &rest, &p);
       break;
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_imattribute_print ( IIIMP_data_s *  data_s,
IIIMP_imattribute *  m 
)

Definition at line 525 of file comp-imattribute.c.

{
    if (NULL == m) return;

    switch (m->id_pre) {
    case IIIMP_IMATTRIBUTE_INPUT_METHOD_LIST:
       (void)fprintf(data_s->print_fp, "\tInput Method Descriptor List:\n");
       iiimp_inputmethod_descriptor_list_print(
           data_s, m->value.inputmethod_descriptor);
       break;
    case IIIMP_IMATTRIBUTE_OBJECT_DESCRIPTOR_LIST:
       (void)fprintf(data_s->print_fp, "\tObject Descriptor List:\n");
       iiimp_object_descriptor_list_print(data_s, m->value.object_descriptor);
       break;
    case IIIMP_IMATTRIBUTE_CLIENT_DESCRIPTOR:
       (void)fprintf(data_s->print_fp, "\tClient Descriptor:\n");
       iiimp_client_descriptor_print(data_s, m->value.client_descriptor);
       break;
    case IIIMP_IMATTRIBUTE_CHARACTER_CONVERSION_DEFINITION_RULE:
       (void)fprintf(data_s->print_fp,
                    "\tCharacter Conversion Definition Rule\n");
       break;
    case IIIMP_IMATTRIBUTE_JAR_GUI_OBJECT:
       (void)fprintf(data_s->print_fp, "\tJar GUI Object:\n");
       iiimp_jarfile_object_print(data_s, m->value.jarfile_object);
       break;
    case IIIMP_IMATTRIBUTE_JAR_LIGHT_WEIGHT_ENGINE_OBJECT:
       (void)fprintf(data_s->print_fp, "\tJar Light Weight Engine Object:\n");
       iiimp_jarfile_object_print(data_s, m->value.jarfile_object);
       break;
    case IIIMP_IMATTRIBUTE_BINARY_GUI_OBJECT:
       (void)fprintf(data_s->print_fp, "\tBinary GUI Object: ");
       iiimp_binaryfile_object_print(data_s, m->value.binaryfile_object);
       (void)fputc('\n', data_s->print_fp);
       break;
    case IIIMP_IMATTRIBUTE_BINARY_LIGHT_WEIGHT_ENGINE_OBJECT:
       (void)fprintf(data_s->print_fp,
                    "\tBinary Light Weight Engine Object: ");
       iiimp_binaryfile_object_print(data_s, m->value.binaryfile_object);
       (void)fputc('\n', data_s->print_fp);
       break;
    case IIIMP_IMATTRIBUTE_SCRIPT_GUI_OBJECT:
       (void)fprintf(data_s->print_fp, "\tSCRIPT GUI Object:\n");
       iiimp_binaryfile_object_print(data_s, m->value.binaryfile_object);
       break;
    case IIIMP_IMATTRIBUTE_SCRIPT_LIGHT_WEIGHT_ENGINE_OBJECT:
       (void)fprintf(data_s->print_fp,
                    "\tSCRIPT Light Weight Engine Object:\n");
       iiimp_binaryfile_object_print(data_s, m->value.binaryfile_object);
       break;
    case IIIMP_IMATTRIBUTE_CAPABILITY:
       (void)fprintf(data_s->print_fp, "\tCapability:\n");
       iiimp_card32_list_print(data_s, m->value.capability);
       break;
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

IIIMP_imattribute* iiimp_imattribute_unpack ( IIIMP_dal  )
void iiimp_imeinfo_list_pack ( IIIMP_data_s *  data_s,
IIIMP_imeinfo m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 148 of file comp-imeinfo.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_imeinfo_pack(data_s, m, &rest, &p);
    }

    *nbyte -= rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_imeinfo_pack ( IIIMP_data_s *  data_s,
IIIMP_imeinfo m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 118 of file comp-imeinfo.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    PUT32(m->enable, rest, p, data_s->byte_swap);
    iiimp_string_pack(data_s, m->ime_id, &rest, &p);
    iiimp_string_pack(data_s, m->imename, &rest, &p);
    iiimp_string_pack(data_s, m->version, &rest, &p);
    iiimp_string_pack(data_s, m->description, &rest, &p);
    iiimp_string_pack(data_s, m->author, &rest, &p);
    iiimp_string_pack(data_s, m->copyright, &rest, &p);
    iiimp_string_pack(data_s, m->reserved1, &rest, &p);
    iiimp_string_pack(data_s, m->reserved2, &rest, &p);

    *nbyte -= rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_inputmethod_descriptor_list_pack ( IIIMP_data_s *  data_s,
IIIMP_inputmethod_descriptor m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 152 of file comp-inputmethod-descriptor.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_inputmethod_descriptor_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_inputmethod_descriptor_list_print ( IIIMP_data_s *  data_s,
IIIMP_inputmethod_descriptor m 
)

Definition at line 325 of file comp-inputmethod-descriptor.c.

{
    for (; NULL != m; m = m->next) {
       iiimp_inputmethod_descriptor_print(data_s, m);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_inputmethod_descriptor_pack ( IIIMP_data_s *  data_s,
IIIMP_inputmethod_descriptor m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 122 of file comp-inputmethod-descriptor.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    PUTU16(m->id, rest, p, data_s->byte_swap);
    PUTU16(0, rest, p, data_s->byte_swap);
    iiimp_string_pack(data_s, m->idname, &rest, &p);
    iiimp_string_pack(data_s, m->hrn, &rest, &p);
    PUT32(m->language_nbyte, rest, p, data_s->byte_swap);
    iiimp_language_list_pack(data_s, m->language, &rest, &p);
    iiimp_string_pack(data_s, m->rdun, &rest, &p);
    PUT32(m->imeinfo_nbyte, rest, p, data_s->byte_swap);
    if (m->imeinfo) iiimp_imeinfo_list_pack (data_s, m->imeinfo, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_inputmethod_descriptor_print ( IIIMP_data_s *  data_s,
IIIMP_inputmethod_descriptor m 
)

Definition at line 293 of file comp-inputmethod-descriptor.c.

{
    IIIMP_language * l;

    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\t\tinput method identifier = %d\n",
                m->id);

    (void)fprintf(data_s->print_fp, "\t\tid name = ");
    iiimp_string_print(data_s, m->idname);
    (void)fputc('\n', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "\t\tname (hrn) = ");
    iiimp_string_print(data_s, m->hrn);
    (void)fputc('\n', data_s->print_fp);

    for (l = m->language; NULL != l; l = l->next) {
       (void)fprintf(data_s->print_fp, "\t\tsupported language=(");
       iiimp_language_print(data_s, l);
       (void)fprintf(data_s->print_fp, ")\n");
    }

    (void)fprintf(data_s->print_fp, "\t\treverse domain name = ");
    iiimp_string_print(data_s, m->rdun);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_invalid_message_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 44 of file im-invalid-message.c.

{
    (void)fprintf(data_s->print_fp, "unknown message packet ");
    if (NULL == m) {
       (void)fprintf(data_s->print_fp, "(NULL)\n");
    } else {
       (void)fprintf(data_s->print_fp, "(%d)\n", m->opcode);
    }
}
void iiimp_jarfile_object_pack ( IIIMP_data_s *  data_s,
IIIMP_jarfile_object m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 65 of file comp-jarfile-object.c.

{
    size_t    rest;
    uchar_t * p;
    size_t    pad;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->class_names_nbyte, rest, p, data_s->byte_swap);
    iiimp_string_list_pack(data_s, m->class_names, &rest, &p);
    PUTU32(m->value.nbyte, rest, p, data_s->byte_swap);
    (void)memcpy(p, m->value.ptr, m->value.nbyte);
    p += m->value.nbyte;
    rest -= m->value.nbyte;
    for (pad = PAD(m->value.nbyte); 0 < pad; --pad) {
       PUTU8(0, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_jarfile_object_print ( IIIMP_data_s *  data_s,
IIIMP_jarfile_object m 
)

Definition at line 169 of file comp-jarfile-object.c.

{
    IIIMP_string *   s;

    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tname=");
    for (s = m->class_names; NULL != s; s = s->next) {
       if (s != m->class_names) {
           (void)fprintf(data_s->print_fp, "\t     ");
       }
       iiimp_string_print(data_s, s);
       (void)fputc('\n', data_s->print_fp);
    }
    (void)fprintf(data_s->print_fp, "\tjarfile object=");
    if (IIIMP_PRINT_JARFILE & data_s->print_flag) {
       (void)fputc('\n', data_s->print_fp);
       iiimp_byte_stream_print(data_s, &(m->value));
    } else {
       (void)fprintf(data_s->print_fp, "(%d)\n", m->value.nbyte);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_keyevent_list_pack ( IIIMP_data_s *  data_s,
IIIMP_keyevent_list m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 66 of file comp-keyevent.c.

{
    size_t    rest;
    uchar_t * p;
    int              i;

    rest = *nbyte;
    p = *ptr;

    for (i = 0; i < m->count; i++) {
       PUT32((m->keyevent + i)->keycode, rest, p, data_s->byte_swap);
       PUT32((m->keyevent + i)->keychar, rest, p, data_s->byte_swap);
       PUT32((m->keyevent + i)->modifier, rest, p, data_s->byte_swap);
       PUT32((m->keyevent + i)->time_stamp, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_keyevent_list_print ( IIIMP_data_s *  data_s,
IIIMP_keyevent_list m 
)

Definition at line 173 of file comp-keyevent.c.

{
    int       i;

    if (NULL == m) return;

    for (i = 0; i < m->count; i++) {
       iiimp_keyevent_print(data_s, m->keyevent + i);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_keyevent_print ( IIIMP_data_s *  data_s,
IIIMP_keyevent m 
)

Definition at line 160 of file comp-keyevent.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp,
                "\tcode=%02x char=%02x modifier=%02x time_stamp=%x\n",
                m->keycode, m->keychar, m->modifier, m->time_stamp);
}

Here is the caller graph for this function:

void iiimp_language_list_pack ( IIIMP_data_s *  data_s,
IIIMP_language m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 93 of file comp-language.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_language_pack(data_s, m, &rest, &p);
    }

    *nbyte -= rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_language_pack ( IIIMP_data_s *  data_s,
IIIMP_language m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 70 of file comp-language.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    iiimp_string_pack(data_s, m->hrn, &rest, &p);
    iiimp_string_pack(data_s, m->id, &rest, &p);

    *nbyte -= rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_language_print ( IIIMP_data_s *  data_s,
IIIMP_language m 
)

Definition at line 212 of file comp-language.c.

{
    if (NULL == m) return;

    iiimp_string_print(data_s, m->hrn);
    (void)fputc(' ', data_s->print_fp);
    iiimp_string_print(data_s, m->id);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_lookup_choice_draw_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 215 of file im-lookup-choice-draw.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);

    (void)fputc('\t', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "first=%d ", m->v.lookup_choice_draw.first);
    (void)fprintf(data_s->print_fp, "last=%d ", m->v.lookup_choice_draw.last);
    (void)fprintf(data_s->print_fp, "current=%d ",
                m->v.lookup_choice_draw.current);
    (void)fprintf(data_s->print_fp, "\n\tchoice=\n");
    iiimp_text_list_print(data_s, m->v.lookup_choice_draw.choice);
    (void)fprintf(data_s->print_fp, "\tlabel=\n");
    iiimp_text_list_print(data_s, m->v.lookup_choice_draw.index_label);
    (void)fprintf(data_s->print_fp, "\ttitle=\n");
    iiimp_text_print(data_s, m->v.lookup_choice_draw.title);
}

Here is the call graph for this function:

void iiimp_lookup_choice_process_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 144 of file im-lookup-choice-process.c.

{
    IIIMP_lookup_choice_process_v *       v;

    v = &(m->v.lookup_choice_process);
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    switch (v->type) {
    case IM_LOOKUP_CHOICE_PROCESS_INDEX: /* index of selected choice */
       (void)fprintf(data_s->print_fp, "index=%d", v->value);
       break;
    case IM_LOOKUP_CHOICE_PROCESS_PAGE: /* page change */
       (void)fprintf(data_s->print_fp, "%s (%d)",
                    lookup_choice_process_page_string_get(v->value),
                    v->value);
       break;
    default:
       (void)fprintf(data_s->print_fp, "unknown operation type");
    }
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

void iiimp_lookup_choice_start_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 160 of file im-lookup-choice-start.c.

{
    IIIMP_lookup_choice_start_v *  v;

    v = &(m->v.lookup_choice_start);
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);

    (void)fputc('\t', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "%s ",
                lookup_choice_master_string_get(v->master));
    (void)fprintf(data_s->print_fp, "choices_per_window=%d ",
                v->choice_per_window);
    (void)fprintf(data_s->print_fp, "rows=%d ", v->rows);
    (void)fprintf(data_s->print_fp, "columns=%d\n", v->columns);
    (void)fputc('\t', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "%s ",
                lookup_choice_direction_string_get(v->direction));
    (void)fputc('\t', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "%s",
                lookup_choice_label_owner_string_get(v->label_owner));
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

void iiimp_lseek_pack ( IIIMP_data_s *  data_s,
IIIMP_lseek m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9577 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->offset, rest, p, data_s->byte_swap);
    PUTU32(m->whence, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_lseek_print ( IIIMP_data_s *  data_s,
IIIMP_lseek m 
)

Definition at line 10651 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\toffset = %d\n", m->offset);
    (void)fprintf(data_s->print_fp, "\twhence = %d\n", m->whence);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_lseek_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_lseek_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 1005 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);
    PUTU32(m->offset, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_lseek_reply_print ( IIIMP_data_s *  data_s,
IIIMP_lseek_reply m 
)

Definition at line 2135 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fprintf(data_s->print_fp, "\toffset = %d\n", m->offset);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_lstat_pack ( IIIMP_data_s *  data_s,
IIIMP_lstat m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9508 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->path, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_lstat_print ( IIIMP_data_s *  data_s,
IIIMP_lstat m 
)

Definition at line 10614 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->path);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_lstat_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_lstat_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 900 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    if (m->ns_id > 0) {
       PUTU32(m->stat_buf->s_mode, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_nlink, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_uid, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_gid, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_atime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_mtime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_ctime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_blksize, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_attr, rest, p, data_s->byte_swap);

       PUTU64(m->stat_buf->s_dev, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_rdev, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_ino, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_size, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_blocks, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_lstat_reply_print ( IIIMP_data_s *  data_s,
IIIMP_lstat_reply m 
)

Definition at line 2096 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_message_header_print ( IIIMP_data_s *  data_s,
int  opcode,
int  im_id,
int  ic_id 
)

Definition at line 596 of file im-message.c.

{
    if (im_id < 0) {
       (void)fprintf(data_s->print_fp, ":*:*:");
    } else if (ic_id < 0) {
       (void)fprintf(data_s->print_fp, ":%d:*:", im_id);
    } else {
       (void)fprintf(data_s->print_fp, ":%d:%d:", im_id, ic_id);
    }
    (void)fprintf(data_s->print_fp, " %s\n", opcode_string_get(opcode));
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_mkdir_pack ( IIIMP_data_s *  data_s,
IIIMP_mkdir m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9414 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->mode, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->path, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_mkdir_print ( IIIMP_data_s *  data_s,
IIIMP_mkdir m 
)

Definition at line 10557 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tmode = %d\n", m->mode);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->path);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_mkdir_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_mkdir_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 790 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_mkdir_reply_print ( IIIMP_data_s *  data_s,
IIIMP_mkdir_reply m 
)

Definition at line 2044 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_object_descriptor_list_pack ( IIIMP_data_s *  data_s,
IIIMP_object_descriptor m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 128 of file comp-object-descriptor.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_object_descriptor_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_object_descriptor_list_print ( IIIMP_data_s *  data_s,
IIIMP_object_descriptor m 
)

Definition at line 310 of file comp-object-descriptor.c.

{
    for (; NULL != m; m = m->next) {
       iiimp_object_descriptor_print(data_s, m);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_object_descriptor_pack ( IIIMP_data_s *  data_s,
IIIMP_object_descriptor m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 98 of file comp-object-descriptor.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    PUTU16(m->category, rest, p, data_s->byte_swap);
    PUTU16(0, rest, p, data_s->byte_swap);
    PUTU32(m->size, rest, p, data_s->byte_swap);
    PUTU16(m->id_pre, rest, p, data_s->byte_swap);
    PUTU16(m->id_dyn, rest, p, data_s->byte_swap);
    iiimp_string_pack(data_s, m->rdun, &rest, &p);
    iiimp_string_pack(data_s, m->hrn, &rest, &p);
    iiimp_string_pack(data_s, m->signature, &rest, &p);
    iiimp_string_pack(data_s, m->user, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_object_descriptor_print ( IIIMP_data_s *  data_s,
IIIMP_object_descriptor m 
)

Definition at line 274 of file comp-object-descriptor.c.

{
    if (NULL == m) return;

    (void)fputc('\t', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "%s (%d)",
                object_descriptor_category_string_get(m->category),
                m->category);
    (void)fputc(' ', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "size=%d ", m->size);
    (void)fprintf(data_s->print_fp, "predefined=0x%x ", m->id_pre);
    (void)fprintf(data_s->print_fp, "dynamic=0x%x ", m->id_dyn);
    (void)fputc('\n', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "\tname=");
    iiimp_string_print(data_s, m->rdun);
    (void)fputc('\n', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "\tdescription=");
    iiimp_string_print(data_s, m->hrn);
    (void)fputc('\n', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "\tsignature=");
    iiimp_string_print(data_s, m->signature);
    (void)fputc('\n', data_s->print_fp);

    (void)fprintf(data_s->print_fp, "\tuser=");
    iiimp_string_print(data_s, m->user);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_open_pack ( IIIMP_data_s *  data_s,
IIIMP_open m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9245 of file comp-file-operation.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->flags, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->filename, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_open_print ( IIIMP_data_s *  data_s,
IIIMP_open m 
)

Definition at line 10471 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tflags = %d\n", m->flags);
    (void)fprintf(data_s->print_fp, "\tfilename = ");
    iiimp_utf8string_print(data_s, m->filename);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_open_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_open_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 614 of file comp-file-operation-reply.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_open_reply_print ( IIIMP_data_s *  data_s,
IIIMP_open_reply m 
)

Definition at line 1946 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_opendir_pack ( IIIMP_data_s *  data_s,
IIIMP_opendir m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9369 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->dirname, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_opendir_print ( IIIMP_data_s *  data_s,
IIIMP_opendir m 
)

Definition at line 10533 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->dirname);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_opendir_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_opendir_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 742 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);
    PUTU32(m->nitems, rest, p, data_s->byte_swap);
    iiimp_utf8string_list_pack(data_s, m->d_name, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_opendir_reply_print ( IIIMP_data_s *  data_s,
IIIMP_opendir_reply m 
)

Definition at line 2014 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fprintf(data_s->print_fp, "\tnitems = %d\n", m->nitems);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\td_name = ");
    iiimp_utf8string_list_print(data_s, m->d_name);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_operation_list_pack ( IIIMP_data_s *  data_s,
IIIMP_operation m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 113 of file comp-operation.c.

{
    size_t    rest;
    uchar_t * p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_operation_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_operation_list_print ( IIIMP_data_s *  data_s,
IIIMP_operation m 
)

Definition at line 259 of file comp-operation.c.

{
    for (; NULL != m; m = m->next) {
       iiimp_operation_print(data_s, m);
    }
}

Here is the call graph for this function:

void iiimp_operation_pack ( IIIMP_data_s *  data_s,
IIIMP_operation m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 81 of file comp-operation.c.

{
    size_t    rest;
    uchar_t * p;
    int              pad;
    int              i;

    rest = *nbyte;
    p = *ptr;

    iiimp_string_pack(data_s, m->id, &rest, &p);
    PUTU16(m->value.nbyte, rest, p, data_s->byte_swap);
    pad = PAD(2 + m->value.nbyte);
    (void)memcpy(p, m->value.ptr, m->value.nbyte);
    p += (m->value.nbyte);
    rest -= (m->value.nbyte);
    for (i = 0; i < pad; i++) {
       PUT8(0, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_operation_print ( IIIMP_data_s *  data_s,
IIIMP_operation m 
)

Definition at line 245 of file comp-operation.c.

{
    if (NULL == m) return;
    (void)fprintf(data_s->print_fp, "\toperation-id=");
    iiimp_string_print(data_s, m->id);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\toperation-value=\n");
    iiimp_byte_stream_print(data_s, &(m->value));
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_preedit_draw_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 147 of file im-preedit-draw.c.

{
    IIIMP_preedit_draw_v *  v;

    v = &(m->v.preedit_draw);
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\tcaret=%d ", v->caret);
    (void)fprintf(data_s->print_fp, "change_first=%d ", v->change_first);
    (void)fprintf(data_s->print_fp, "change_length=%d\n", v->change_length);
    iiimp_contents_print(data_s, v->preedit);
}

Here is the call graph for this function:

void iiimp_preedit_start_reply_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 129 of file im-preedit-start-reply.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\tmax length of preedit string=%d\n",
                m->v.preedit_start_reply.maximum_length);
}

Here is the call graph for this function:

void iiimp_protocol_version_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 143 of file im-protocol-version.c.

{
    IIIMP_protocol_version_v *     v;

    v = &(m->v.protocol_version);

    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    (void)fprintf(data_s->print_fp, "\tprotocol_version = 0x%02x\n",
                v->number);
}

Here is the call graph for this function:

void iiimp_read_pack ( IIIMP_data_s *  data_s,
IIIMP_read m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9269 of file comp-file-operation.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->size, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_read_print ( IIIMP_data_s *  data_s,
IIIMP_read m 
)

Definition at line 10485 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tsize = %d\n", m->size);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_read_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_read_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 637 of file comp-file-operation-reply.c.

{
    size_t           rest;
    uchar_t *        p;
    int                 i, count, object_size;
    IIIMP_card32 *      buf;

    object_size = m->size + PAD((m->size) % 4);
    count = (object_size / 4);

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->size, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    buf = (IIIMP_card32 *)m->object;
    for (i=0; i<count; i++) {
       PUTU32(*(buf + i), rest, p, data_s->byte_swap); 
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_read_reply_print ( IIIMP_data_s *  data_s,
IIIMP_read_reply m 
)

Definition at line 1959 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tsize = %d\n", m->size);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_register_hotkeys_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 152 of file im-register-hotkeys.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    iiimp_hotkey_list_print(data_s, m->v.register_hotkeys.hotkeys);
}

Here is the call graph for this function:

void iiimp_register_trigger_keys_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 173 of file im-register-trigger-keys.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    (void)fprintf(data_s->print_fp, "\ttrigger key to turn on =\n");
    iiimp_keyevent_list_print(data_s, m->v.register_trigger_keys.trigger_on);
    (void)fprintf(data_s->print_fp, "\ttrigger key to turn off =\n");
    iiimp_keyevent_list_print(data_s, m->v.register_trigger_keys.trigger_off);
}

Here is the call graph for this function:

void iiimp_rename_pack ( IIIMP_data_s *  data_s,
IIIMP_rename m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9624 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->old_name, &rest, &p);
    iiimp_utf8string_pack(data_s, m->new_name, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_rename_print ( IIIMP_data_s *  data_s,
IIIMP_rename m 
)

Definition at line 10677 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\told name = ");
    iiimp_utf8string_print(data_s, m->old_name);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tnew name = ");
    iiimp_utf8string_print(data_s, m->new_name);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_rename_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_rename_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 1052 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_rename_reply_print ( IIIMP_data_s *  data_s,
IIIMP_rename_reply m 
)

Definition at line 2162 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_rmdir_pack ( IIIMP_data_s *  data_s,
IIIMP_rmdir m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9438 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->path, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_rmdir_print ( IIIMP_data_s *  data_s,
IIIMP_rmdir m 
)

Definition at line 10571 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->path);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_rmdir_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_rmdir_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 813 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_rmdir_reply_print ( IIIMP_data_s *  data_s,
IIIMP_rmdir_reply m 
)

Definition at line 2057 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_seek_pack ( IIIMP_data_s *  data_s,
IIIMP_seek m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9345 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->offset, rest, p, data_s->byte_swap);
    PUTU32(m->whence, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_seek_print ( IIIMP_data_s *  data_s,
IIIMP_seek m 
)

Definition at line 10520 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\toffset = %d\n", m->offset);
    (void)fprintf(data_s->print_fp, "\twhence = %d\n", m->whence);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_seek_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_seek_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 718 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);
    PUTU32(m->offset, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_seek_reply_print ( IIIMP_data_s *  data_s,
IIIMP_seek_reply m 
)

Definition at line 2000 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fprintf(data_s->print_fp, "\toffset = %d\n", m->offset);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_select_hotkey_profile_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 132 of file im-select-hotkey-profile.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\tSCOPE = %d\n",
                m->v.select_hotkey_profile.scope);
    (void)fprintf(data_s->print_fp, "\tPROFILE_ID = %d\n", m->v.select_hotkey_profile.profile_id);
}

Here is the call graph for this function:

void iiimp_seticvalues_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 150 of file im-seticvalues.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    iiimp_icattribute_list_print(data_s, m->v.seticvalues.attr_list);
}

Here is the call graph for this function:

void iiimp_setimvalues_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 144 of file im-setimvalues.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
    iiimp_imattribute_list_print(data_s, m->v.setimvalues.attr_list);
}

Here is the call graph for this function:

void iiimp_simple_im_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 157 of file im-simple.c.

{
    if (NULL == m) return;
    iiimp_message_header_print(data_s, m->opcode, m->im_id, -1);
}

Here is the call graph for this function:

void iiimp_simple_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 167 of file im-simple.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
}

Here is the call graph for this function:

void iiimp_stat_pack ( IIIMP_data_s *  data_s,
IIIMP_stat m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9485 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->path, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_stat_print ( IIIMP_data_s *  data_s,
IIIMP_stat m 
)

Definition at line 10601 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->path);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_stat_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_stat_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 859 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    if (m->ns_id > 0) {
       PUTU32(m->stat_buf->s_mode, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_nlink, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_uid, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_gid, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_atime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_mtime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_ctime, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_blksize, rest, p, data_s->byte_swap);
       PUTU32(m->stat_buf->s_attr, rest, p, data_s->byte_swap);

       PUTU64(m->stat_buf->s_dev, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_rdev, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_ino, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_size, rest, p, data_s->byte_swap);
       PUTU64(m->stat_buf->s_blocks, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_stat_reply_print ( IIIMP_data_s *  data_s,
IIIMP_stat_reply m 
)

Definition at line 2083 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_status_draw_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 129 of file im-status-draw.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    iiimp_contents_print(data_s, m->v.status_draw.status);
}

Here is the call graph for this function:

void iiimp_string_list_pack ( IIIMP_data_s *  data_s,
IIIMP_string m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 118 of file comp-string.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_string_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_string_list_print ( IIIMP_data_s *  data_s,
IIIMP_string m 
)

Definition at line 290 of file comp-string.c.

{
    if (NULL == m) return;
    iiimp_string_print(data_s, m);
    for (m = m->next; NULL != m; m = m->next) {
       (void)fputc(' ', data_s->print_fp);
       iiimp_string_print(data_s, m);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_string_pack ( IIIMP_data_s *  data_s,
IIIMP_string m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 87 of file comp-string.c.

{
    uchar_t * p;
    size_t    rest;
    int              i;

    rest = *nbyte;
    p = *ptr;

    PUTU16((2 * m->len), rest, p, data_s->byte_swap);

    for (i = 0; i < m->len; i++) {
       PUTU16(*(m->ptr + i), rest, p, data_s->byte_swap);
    }

    if (0 == (1 & m->len)) {
       PUTU16(0, rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_string_print ( IIIMP_data_s *  data_s,
IIIMP_string m 
)

Definition at line 249 of file comp-string.c.

{
    int                     i;
    const uchar_t *  p;
    int                     byte_len;

    if ((NULL == m) || (0 == m->len)) {
       return;
    }

    /* ASCII or UTF-8 */
    for (i = 0; i < m->len; i++) {
       if ((*(m->ptr + i) < 0x20) || (0x7f <= *(m->ptr + i))) {
           break;
       }
    }

    if (i == m->len) { /* ASCII */
       (void)fputc('"', data_s->print_fp);
       for (i = 0; i < m->len; i++) {
           (void)fprintf(data_s->print_fp, "%c", *(m->ptr + i));
       }
       (void)fputc('"', data_s->print_fp);
    } else { /* UTF-16 */
       p = (uchar_t *)(m->ptr);
       byte_len = (m->len * 2);

       for (i = 0; i < byte_len; i += 2) {
           (void)fprintf(data_s->print_fp, " U+%04x ", ((*p << 8) | *(p + 1)));
           (void)fprintf(data_s->print_fp, "%c", isprint(*p) ? *p : ' ');
           p++;
           (void)fprintf(data_s->print_fp, "%c", isprint(*p) ? *p : ' ');
           p++;
       }
    }
}

Here is the caller graph for this function:

void iiimp_symlink_pack ( IIIMP_data_s *  data_s,
IIIMP_symlink m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9461 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->dest, &rest, &p);
    iiimp_utf8string_pack(data_s, m->src, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_symlink_print ( IIIMP_data_s *  data_s,
IIIMP_symlink m 
)

Definition at line 10584 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tdest = ");
    iiimp_utf8string_print(data_s, m->dest);
    (void)fputc('\n', data_s->print_fp);
    (void)fprintf(data_s->print_fp, "\tsrc = ");
    iiimp_utf8string_print(data_s, m->src);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_symlink_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_symlink_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 836 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_symlink_reply_print ( IIIMP_data_s *  data_s,
IIIMP_symlink_reply m 
)

Definition at line 2070 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_text_list_pack ( IIIMP_data_s *  data_s,
IIIMP_text *  text,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 122 of file comp-text.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != text; text = text->next) {
       iiimp_text_pack(data_s, text, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_text_list_print ( IIIMP_data_s *  data_s,
IIIMP_text *  m 
)

Definition at line 271 of file comp-text.c.

{
    for (; NULL != m; m = m->next) {
       iiimp_text_print(data_s, m);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

IIIMP_text* iiimp_text_list_unpack ( IIIMP_dal  )
void iiimp_text_pack ( IIIMP_data_s *  data_s,
IIIMP_text *  m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 78 of file comp-text.c.

{
    uchar_t *               p;
    size_t                  rest;
    IIIMP_char_with_feedback *     cwf;
    IIIMP_annotation *             anno;
    size_t                  n;

    rest = *nbyte;
    p = *ptr;

    n = 0;
    cwf = ((NULL == m) ? NULL : m->char_with_feedback);
    for (; NULL != cwf; cwf = cwf->next) {
       n += cwf->nbyte;
    }
    PUT32(n, rest, p, data_s->byte_swap);
    if (0 < n) {
       iiimp_char_with_feedback_list_pack(data_s, m->char_with_feedback,
                                      &rest, &p);
    }

    n = 0;
    anno = ((NULL == m) ? NULL : m->annotation);
    for (; NULL != anno; anno = anno->next) {
       n += anno->nbyte;
    }
    PUT32(n, rest, p, data_s->byte_swap);
    if (0 < n) {
       iiimp_annotation_list_pack(data_s, m->annotation, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_text_print ( IIIMP_data_s *  data_s,
IIIMP_text *  m 
)

Definition at line 260 of file comp-text.c.

{
    if (NULL == m) return;
    iiimp_char_with_feedback_list_print(data_s, m->char_with_feedback);
    iiimp_annotation_print(data_s, m->annotation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

IIIMP_text* iiimp_text_unpack ( IIIMP_dal  )
void iiimp_trigger_notify_print ( IIIMP_data_s *  data_s,
IIIMP_message m 
)

Definition at line 136 of file im-trigger-notify.c.

{
    iiimp_message_header_print(data_s, m->opcode, m->im_id, m->ic_id);
    (void)fprintf(data_s->print_fp, "\tflag = %s\n",
                ((0 == m->v.trigger_notify.flag) ?
                 "on" : ((1 == m->v.trigger_notify.flag) ?
                        "off" : "unknown")));
}

Here is the call graph for this function:

void iiimp_truncate_pack ( IIIMP_data_s *  data_s,
IIIMP_truncate m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9672 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->length, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->path, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_truncate_print ( IIIMP_data_s *  data_s,
IIIMP_truncate m 
)

Definition at line 10706 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tlength = %d\n", m->length);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->path);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_truncate_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_truncate_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 1099 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_truncate_reply_print ( IIIMP_data_s *  data_s,
IIIMP_truncate_reply m 
)

Definition at line 2189 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_unlink_pack ( IIIMP_data_s *  data_s,
IIIMP_unlink m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9601 of file comp-file-operation.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;
    
    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    iiimp_utf8string_pack(data_s, m->path, &rest, &p);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_unlink_print ( IIIMP_data_s *  data_s,
IIIMP_unlink m 
)

Definition at line 10664 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tpath = ");
    iiimp_utf8string_print(data_s, m->path);
    (void)fputc('\n', data_s->print_fp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_unlink_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_unlink_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 1029 of file comp-file-operation-reply.c.

{
    size_t              rest;
    uchar_t *           p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;
    
    return;
}   

Here is the caller graph for this function:

void iiimp_unlink_reply_print ( IIIMP_data_s *  data_s,
IIIMP_unlink_reply m 
)

Definition at line 2149 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_utf8string_list_pack ( IIIMP_data_s *  data_s,
IIIMP_utf8string m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 119 of file comp-utf8string.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    for (; NULL != m; m = m->next) {
       iiimp_utf8string_pack(data_s, m, &rest, &p);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_utf8string_list_print ( IIIMP_data_s *  data_s,
IIIMP_utf8string m 
)

Definition at line 294 of file comp-utf8string.c.

{
    if (NULL == m) return;
    iiimp_utf8string_print(data_s, m);
    for (m = m->next; NULL != m; m = m->next) {
       (void)fputc(' ', data_s->print_fp);
       iiimp_utf8string_print(data_s, m);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void iiimp_utf8string_pack ( IIIMP_data_s *  data_s,
IIIMP_utf8string m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 86 of file comp-utf8string.c.

{
    uchar_t * p;
    size_t    rest;
    int              i;
    int              pad;

    rest = *nbyte;
    p = *ptr;

    PUTU16((m->len), rest, p, data_s->byte_swap);

    pad = PAD(2 + (m->len));

    for (i = 0; i < m->len; i++) {
       PUTU8(*(m->ptr + i), rest, p, data_s->byte_swap);
    }

    for (i = 0; i < pad; i++)
       PUTU8(0, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_utf8string_print ( IIIMP_data_s *  data_s,
IIIMP_utf8string m 
)

Definition at line 254 of file comp-utf8string.c.

{
    int                     i;
    const uchar_t *     p;
    int                 byte_len;

    if ((NULL == m) || (0 == m->len)) {
       return;
    }

    /* ASCII or UTF-8 */
    for (i = 0; i < m->len; i++) {
       if ((*(m->ptr + i) < 0x20) || (0x7f <= *(m->ptr + i))) {
           break;
       }
    }

    if (i == m->len) { /* ASCII */
       (void)fputc('"', data_s->print_fp);
       for (i = 0; i < m->len; i++) {
           (void)fprintf(data_s->print_fp, "%c", *(m->ptr + i));
       }
       (void)fputc('"', data_s->print_fp);
    } else {
        p = (uchar_t *)(m->ptr);
        byte_len = m->len; 

        (void)fputc('\n', data_s->print_fp);
        (void)fputc('\t', data_s->print_fp);
        for (i = 0; i < byte_len; i++) {
            (void)fprintf(data_s->print_fp, "%c", *p);
            p++;
        }
    }
}

Here is the caller graph for this function:

void iiimp_write_pack ( IIIMP_data_s *  data_s,
IIIMP_write m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 9292 of file comp-file-operation.c.

{
    size_t           rest;
    uchar_t *        p;
    int                 i, count, object_size;

    object_size = m->size + PAD((m->size) % 4);
    count = (object_size / 4);

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->size, rest, p, data_s->byte_swap);

    for (i=0; i<count; i++) {
       PUTU32(*((IIIMP_card32 *)m->object + i), rest, p, data_s->byte_swap);
    }

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_write_print ( IIIMP_data_s *  data_s,
IIIMP_write m 
)

Definition at line 10497 of file comp-file-operation.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tsize = %d\n", m->size);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function:

void iiimp_write_reply_pack ( IIIMP_data_s *  data_s,
IIIMP_write_reply m,
size_t *  nbyte,
uchar_t **  ptr 
)

Definition at line 671 of file comp-file-operation-reply.c.

{
    size_t           rest;
    uchar_t *        p;

    rest = *nbyte;
    p = *ptr;

    PUTU32(m->nbyte, rest, p, data_s->byte_swap);
    PUTU32(m->ns_id, rest, p, data_s->byte_swap);
    PUTU32(m->size, rest, p, data_s->byte_swap);
    PUT32(m->ns_errno, rest, p, data_s->byte_swap);

    *nbyte = rest;
    *ptr = p;

    return;
}

Here is the caller graph for this function:

void iiimp_write_reply_print ( IIIMP_data_s *  data_s,
IIIMP_write_reply m 
)

Definition at line 1973 of file comp-file-operation-reply.c.

{
    if (NULL == m) return;

    (void)fprintf(data_s->print_fp, "\tns_id = %d\n", m->ns_id);
    (void)fprintf(data_s->print_fp, "\tsize = %d\n", m->size);
    (void)fprintf(data_s->print_fp, "\tns_errno = %d\n", m->ns_errno);
    (void)fputc('\n', data_s->print_fp);
}

Here is the caller graph for this function: