/usr/include/x86_64-linux-gnu/chewing/mod_aux.h is in libchewing3-dev 0.4.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | /*
* mod_aux.h
*
* Copyright (c) 2005, 2008
* libchewing Core Team. See ChangeLog for details.
*
* See the file "COPYING" for information on usage and redistribution
* of this file.
*/
/* *INDENT-OFF* */
#ifndef CHEWING_MOD_AUX_H
#define CHEWING_MOD_AUX_H
/* *INDENT-ON* */
/*! \file mod_aux.h
* \brief Auxiliary module
* \author libchewing Core Team
*/
#include "global.h"
/**
* @brief Chewing the state for input context during commit process
* @param ctx handle to Chewing IM context
* @retval TRUE if its currnet input state is at the "end-of-a-char"
*/
CHEWING_API int chewing_commit_Check(const ChewingContext *ctx);
/**
* @brief Get current commit string regardless of current input state
* @param ctx handle to Chewing IM context
*
* Alwasy returns a char pointer, caller must free it.
*/
CHEWING_API char *chewing_commit_String(const ChewingContext *ctx);
CHEWING_API const char *chewing_commit_String_static(const ChewingContext *ctx);
/*! \name Preedit string buffer
*/
/*@{*/
CHEWING_API char *chewing_buffer_String(const ChewingContext *ctx);
CHEWING_API const char *chewing_buffer_String_static(const ChewingContext *ctx);
CHEWING_API int chewing_buffer_Check(const ChewingContext *ctx);
CHEWING_API int chewing_buffer_Len(const ChewingContext *ctx);
/*@}*/
/*@{*/
CHEWING_API const char *chewing_bopomofo_String_static(const ChewingContext *ctx);
CHEWING_API int chewing_bopomofo_Check(const ChewingContext *ctx);
/*@}*/
CHEWING_API int chewing_cursor_Current(const ChewingContext *ctx);
/*@{*/
CHEWING_API int chewing_cand_CheckDone(const ChewingContext *ctx);
CHEWING_API int chewing_cand_TotalPage(const ChewingContext *ctx);
CHEWING_API int chewing_cand_ChoicePerPage(const ChewingContext *ctx);
CHEWING_API int chewing_cand_TotalChoice(const ChewingContext *ctx);
CHEWING_API int chewing_cand_CurrentPage(const ChewingContext *ctx);
CHEWING_API void chewing_cand_Enumerate(ChewingContext *ctx);
CHEWING_API int chewing_cand_hasNext(ChewingContext *ctx);
CHEWING_API char *chewing_cand_String(ChewingContext *ctx);
CHEWING_API const char *chewing_cand_String_static(ChewingContext *ctx);
CHEWING_API char *chewing_cand_string_by_index(ChewingContext *ctx, int index);
CHEWING_API const char *chewing_cand_string_by_index_static(ChewingContext *ctx, int index);
CHEWING_API int chewing_cand_choose_by_index(ChewingContext *ctx, int index);
CHEWING_API int chewing_cand_open(ChewingContext *ctx);
CHEWING_API int chewing_cand_close(ChewingContext *ctx);
/*@}*/
/*@{*/
CHEWING_API void chewing_interval_Enumerate(ChewingContext *ctx);
CHEWING_API int chewing_interval_hasNext(ChewingContext *ctx);
CHEWING_API void chewing_interval_Get(ChewingContext *ctx, IntervalType * it);
/*@}*/
/*@{*/
CHEWING_API int chewing_aux_Check(const ChewingContext *ctx);
CHEWING_API int chewing_aux_Length(const ChewingContext *ctx);
CHEWING_API char *chewing_aux_String(const ChewingContext *ctx);
CHEWING_API const char *chewing_aux_String_static(const ChewingContext *ctx);
/*@}*/
/*@{*/
CHEWING_API int chewing_keystroke_CheckIgnore(const ChewingContext *ctx);
CHEWING_API int chewing_keystroke_CheckAbsorb(const ChewingContext *ctx);
/*@}*/
/*@{*/
CHEWING_API int chewing_kbtype_Total(const ChewingContext *ctx);
CHEWING_API void chewing_kbtype_Enumerate(ChewingContext *ctx);
CHEWING_API int chewing_kbtype_hasNext(ChewingContext *ctx);
CHEWING_API char *chewing_kbtype_String(ChewingContext *ctx);
CHEWING_API char *chewing_kbtype_String_static(ChewingContext *ctx);
/*@}*/
/* *INDENT-OFF* */
#endif /* CHEWING_MOD_AUX_H */
/* *INDENT-ON* */
|