Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
Data Structures | Macros | Functions
ipsocket.c File Reference
#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, VALUE resolv_timeout, VALUE connect_timeout)
 
int rsock_revlookup_flag (VALUE revlookup, int *norevlookup)
 
void rsock_init_ipsocket (void)
 

Macro Definition Documentation

◆ return_norevlookup

#define return_norevlookup (   x)    {*norevlookup = (x); return 1;}

Function Documentation

◆ rsock_init_inetsock()

VALUE rsock_init_inetsock ( VALUE  sock,
VALUE  remote_host,
VALUE  remote_serv,
VALUE  local_host,
VALUE  local_serv,
int  type,
VALUE  resolv_timeout,
VALUE  connect_timeout 
)

◆ rsock_init_ipsocket()

void rsock_init_ipsocket ( void  )

◆ rsock_revlookup_flag()

int rsock_revlookup_flag ( VALUE  revlookup,
int norevlookup 
)

Definition at line 194 of file ipsocket.c.

References id, Qfalse, Qnil, Qtrue, rb_eArgError, rb_id2name(), rb_raise(), return_norevlookup, SYM2ID, and T_SYMBOL.