Ruby 1.9.2p136(2010-12-25revision30365)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Defines | Typedefs

# ext/nkf/nkf-utf8/nkf.h File Reference

`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string.h>`
`#include <sys/stat.h>`
`#include <unistd.h>`
`#include <utime.h>`
`#include <langinfo.h>`
`#include <locale.h>`
Include dependency graph for nkf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | MIME_DECODE_DEFAULT STRICT_MIME
#define | X0201_DEFAULT TRUE
#define | DEFAULT_NEWLINE 0x0A
#define | PUT_NEWLINE(func) func(0x0A)
#define | OCONV_NEWLINE(func) func(0, 0x0A)
#define | HELP_OUTPUT stdout
#define | NKF_INT32_C(n) (n)
#define | setbinmode(fp)
#define | setvbuffer(fp, buf, size) setbuffer(fp, buf, size)
#define | DEFAULT_CODE_LOCALE
#define | HAVE_LANGINFO_H
#define | HAVE_LOCALE_H
#define | FALSE 0
#define | TRUE 1
## Typedefs
typedef int | nkf_char

## Define Documentation

#define DEFAULT_CODE_LOCALE

Definition at line 149 of file nkf.h.

Referenced by show_configuration().

#define DEFAULT_NEWLINE 0x0A

Definition at line 32 of file nkf.h.

Referenced by oconv_newline(), put_newline(), and show_configuration().

#define FALSE 0

Definition at line 185 of file nkf.h.

Referenced by argf_next_argv(), assign_heap_slot(), basic_obj_respond_to(), big5_is_allowed_reverse_match(), call_trace_func(), code_page_installed(), cp1251_is_code_ctype(), cp949_is_allowed_reverse_match(), defined_expr(), dir_initialize(), dir_s_chdir(), discrete_object_p(), do_coerce(), e_oconv(), enc_capable(), enc_set_default_encoding(), enum_zip(), euckr_is_allowed_reverse_match(), euctw_is_allowed_reverse_match(), EVENTSINK_Invoke(), exec_recursive_i(), find_coclass(), find_iid(), fole_invoke(), fole_missing(), fole_s_create_guid(), fole_setproperty(), foletypelib_guid(), garbage_collect(), gb18030_is_allowed_reverse_match(), gbk_is_allowed_reverse_match(), gc_profile_disable(), get_special_folder(), GetCurrentThreadHandle(), has_redirection(), heaps_increment(), init_env(), installed_code_page_proc(), installed_lcid_proc(), is_allowed_reverse_match(), is_code_ctype(), is_pointer_to_heap(), is_socket(), kanji_convert(), kill(), koi8_r_is_code_ctype(), koi8_u_is_code_ctype(), lcid_installed(), load_file_internal(), main(), mime_begin(), mime_begin_strict(), mime_getc(), module_connection(), nkf_split_options(), nkf_str_caseeql(), num_step(), obj2int(), obj2subsecx(), obj2vint(), ole_initialize(), ole_search_event(), ole_search_handler_method(), ole_type_guid(), ole_type_progid(), ole_uninitialize(), ole_variant2val(), onigenc_always_false_is_allowed_reverse_match(), onigenc_ascii_is_code_ctype(), onigenc_mb2_is_code_ctype(), onigenc_mb4_is_code_ctype(), options(), overlapped_socket_io(), parser_magic_comment(), parser_whole_match_p(), parser_yylex(), pipe_open_v(), print_backtrace(), process_sflag(), r_object0(), rb_ary_fill(), rb_ary_join(), rb_attr_get(), rb_big2ulong_pack(), rb_big_aref(), rb_block_given_p(), rb_block_proc(), rb_check_convert_type(), rb_check_to_integer(), rb_const_defined(), rb_const_defined_at(), rb_const_get(), rb_const_get_at(), rb_convert_to_integer(), rb_cvar_set(), rb_define_attr(), rb_enc_str_asciionly_p(), rb_enc_symname2_p(), rb_exc_fatal(), rb_exc_raise(), rb_f_open(), rb_f_system(), rb_feature_provided(), rb_gc_enable(), rb_group_member(), rb_hash_equal(), rb_include_module(), rb_io_close(), rb_io_close_read(), rb_io_wait_readable(), rb_io_wait_writable(), rb_load_internal(), rb_method_boundp(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_instance_method(), rb_nkf_convert(), rb_nkf_guess(), rb_num_coerce_cmp(), rb_num_coerce_relop(), rb_obj_method(), rb_proc_s_new(), rb_reg_eqq(), rb_rescue2(), rb_respond_to(), rb_str_comparable(), rb_str_hex(), rb_str_oct(), rb_str_partition(), rb_str_rpartition(), rb_str_to_f(), rb_str_to_i(), rb_str_upto(), rb_syswait(), rb_time_timespec(), rb_time_timeval(), rb_w32_aspawn(), rb_w32_asynchronize(), rb_w32_pipe(), rb_w32_send(), rb_w32_sendto(), rb_w32_wopen(), recvmsg(), reinit(), ruby_debug_print_indent(), ruby_direct_conv(), ruby_executable_node(), ruby_float_step(), s_oconv(), search_required(), sendmsg(), set_input_encoding(), set_output_encoding(), status_disable(), swallow(), sym_printable(), time_s_mktime(), tr_find(), typelib_file_from_typelib(), unswitch_mime_getc(), usec2subsecx(), value_expr_gen(), vm_backtrace_each(), w_object(), w_oconv(), w_oconv16(), w_oconv32(), win32_direct_conv(), window_idlok(), window_scrollok(), wmkdir(), wrmdir(), and wunlink().

#define HAVE_LANGINFO_H

Definition at line 169 of file nkf.h.

#define HAVE_LOCALE_H

Definition at line 172 of file nkf.h.

#define HELP_OUTPUT stdout

Definition at line 39 of file nkf.h.

Referenced by show_configuration(), usage(), and version().

#define MIME_DECODE_DEFAULT STRICT_MIME

Definition at line 13 of file nkf.h.

Referenced by reinit(), and show_configuration().

#define NKF_INT32_C | ( |  | n | ) | (n)

Definition at line 51 of file nkf.h.

Referenced by e2w_conv(), encode_fallback_html(), nkf_each_char_to_hex(), unicode_to_jis_common2(), and w_oconv16().

#define OCONV_NEWLINE | ( |  | func | ) | func(0, 0x0A)

Definition at line 34 of file nkf.h.

#define PUT_NEWLINE | ( |  | func | ) | func(0x0A)

Definition at line 33 of file nkf.h.

#define setbinmode | ( |  | fp | ) |

Definition at line 97 of file nkf.h.

Referenced by main().

#define setvbuffer | ( |  | fp,
|  |  | buf,
|  |  | size
| ) |  | setbuffer(fp, buf, size)

Definition at line 103 of file nkf.h.

Referenced by main().

#define TRUE 1

Definition at line 186 of file nkf.h.

Referenced by argf_next_argv(), basic_obj_respond_to(), big5_is_allowed_reverse_match(), chdir_yield(), check_bom(), class_instance_method_list(), code_status(), cp949_is_allowed_reverse_match(), CreateChild(), defined_expr(), dir_globs(), do_coerce(), enc_capable(), enc_set_default_encoding(), enum_zip(), euckr_is_allowed_reverse_match(), euctw_is_allowed_reverse_match(), EVENTSINK_Constructor(), exec_recursive(), find_coclass(), find_iid(), fole_getproperty_with_bracket(), fole_setproperty_with_bracket(), garbage_collect(), garbage_collect_with_gvl(), gb18030_is_allowed_reverse_match(), gbk_is_allowed_reverse_match(), gc_profile_enable(), gc_sweep(), h_conv(), has_redirection(), heaps_increment(), init_env(), inspect_ary(), inspect_enumerator(), installed_code_page_proc(), installed_lcid_proc(), is_allowed_reverse_match(), is_code_ctype(), is_pointer_to_heap(), is_socket(), iseq_set_sequence(), kanji_convert(), main(), mime_begin_strict(), module_connection(), nkf_split_options(), nkf_str_caseeql(), num_uminus(), ole_initialize(), ole_search_event(), ole_search_handler_method(), onigenc_always_true_is_allowed_reverse_match(), onigenc_mb2_is_code_ctype(), onigenc_mb4_is_code_ctype(), options(), overlapped_socket_io(), parser_initialize(), parser_magic_comment(), parser_yylex(), pipe_open_s(), proc_new(), proc_options(), process_sflag(), r_ivar(), r_object0(), rb_ary_fill(), rb_ary_join(), rb_big2long(), rb_big2ulong(), rb_big_lshift(), rb_big_rshift(), rb_block_given_p(), rb_block_lambda(), rb_const_defined(), rb_const_defined_at(), rb_const_defined_from(), rb_const_get(), rb_const_get_at(), rb_const_get_from(), rb_const_set(), rb_convert_to_integer(), rb_convert_type(), rb_enc_str_asciionly_p(), rb_enc_symname2_p(), rb_exec_arg_prepare(), rb_f_exec(), rb_f_open(), rb_f_spawn(), rb_feature_provided(), rb_Float(), rb_gc_disable(), rb_group_member(), rb_hash_eql(), rb_include_module(), rb_io_close(), rb_io_fptr_finalize(), rb_io_wait_readable(), rb_io_wait_writable(), rb_ivar_get(), rb_load_internal(), rb_make_exception(), rb_mod_attr(), rb_mod_attr_accessor(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_define_method(), rb_mod_public_instance_method(), rb_nkf_guess(), rb_num_coerce_bin(), rb_obj_public_method(), rb_path_check(), rb_push_glob(), rb_reg_s_quote(), rb_rescue2(), rb_spawn(), rb_spawn_err(), rb_str_comparable(), rb_str_format(), rb_str_partition(), rb_str_rpartition(), rb_syswait(), rb_thread_fd_writable(), rb_time_interval(), rb_to_integer(), rb_w32_asynchronize(), rb_w32_read(), rb_w32_recv(), rb_w32_recvfrom(), rb_w32_wopen(), rb_w32_write(), recvmsg(), reg_match_pos(), reinit(), ruby_debug_print_indent(), ruby_direct_conv(), ruby_executable_node(), ruby_float_step(), search_required(), sendmsg(), set_iconv(), set_input_encoding(), set_output_encoding(), swallow(), sym_printable(), time_s_mkutc(), tr_find(), typelib_file_from_typelib(), value_expr_gen(), vm_backtrace_each(), w_object(), w_uclass(), win32_direct_conv(), window_idlok(), window_scrollok(), yycompile(), and yyparse().

#define X0201_DEFAULT TRUE

Definition at line 16 of file nkf.h.

Referenced by module_connection(), and show_configuration().

## Typedef Documentation

typedef int nkf_char

Definition at line 50 of file nkf.h.