|
Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
#include "rubysocket.h"Go to the source code of this file.
Data Structures | |
| struct | inetsock_arg |
Macros | |
| #define | return_norevlookup(x) {*norevlookup = (x); return 1;} |
Functions | |
| VALUE | rsock_init_inetsock (VALUE sock, VALUE remote_host, VALUE remote_serv, VALUE local_host, VALUE local_serv, int type) |
| int | rsock_revlookup_flag (VALUE revlookup, int *norevlookup) |
| void | rsock_init_ipsocket (void) |
| #define return_norevlookup | ( | x | ) | {*norevlookup = (x); return 1;} |
| VALUE rsock_init_inetsock | ( | VALUE | sock, |
| VALUE | remote_host, | ||
| VALUE | remote_serv, | ||
| VALUE | local_host, | ||
| VALUE | local_serv, | ||
| int | type | ||
| ) |
Definition at line 159 of file ipsocket.c.
References arg, rb_ensure(), and inetsock_arg::sock.
Definition at line 371 of file ipsocket.c.
References rb_cBasicSocket, rb_cIPSocket, rb_define_class(), and rb_define_method().
Referenced by rsock_init_socket_init().
Definition at line 179 of file ipsocket.c.
References Check_Type, id, Qfalse, Qnil, Qtrue, return_norevlookup, SYM2ID, and T_SYMBOL.