Ruby
2.4.2p198(2017-09-14revision59899)
|
Go to the source code of this file.
Macros | |
#define | NTDDI_VERSION 0x06000000 |
Functions | |
static VALUE | w32error_make_error (DWORD e) |
static void | w32error_raise (DWORD e) |
static VALUE | get_dns_server_list (VALUE self) |
void | InitVM_resolv (void) |
void | Init_resolv (void) |
Definition at line 23 of file resolv.c.
References ALLOCV, ALLOCV_END, buf, NULL, Qnil, rb_ary_new(), rb_ary_push(), rb_str_new_cstr(), ULONG(), and w32error_raise().
Referenced by InitVM_resolv().
void InitVM_resolv | ( | void | ) |
Definition at line 53 of file resolv.c.
References get_dns_server_list(), rb_define_module(), rb_define_module_under(), rb_define_private_method(), and rb_singleton_class().
Definition at line 10 of file resolv.c.
References rb_class_new_instance(), rb_path2class(), and ULONG2NUM.
Referenced by w32error_raise().
|
static |
Definition at line 17 of file resolv.c.
References rb_exc_raise(), and w32error_make_error().
Referenced by get_dns_server_list().