Ruby  2.0.0p247(2013-06-27revision41674)
Functions | Variables
ext/socket/constants.c File Reference
#include "rubysocket.h"
#include "constdefs.c"

Go to the source code of this file.

Functions

static int constant_arg (VALUE arg, int(*str_to_int)(const char *, long, int *), const char *errmsg)
int rsock_family_arg (VALUE domain)
int rsock_socktype_arg (VALUE type)
int rsock_level_arg (int family, VALUE level)
int rsock_optname_arg (int family, int level, VALUE optname)
int rsock_cmsg_type_arg (int family, int level, VALUE type)
int rsock_shutdown_how_arg (VALUE how)
void rsock_init_socket_constants (void)

Variables

static VALUE rb_mSockConst

Function Documentation

static int constant_arg ( VALUE  arg,
int(*)(const char *, long, int *)  str_to_int,
const char *  errmsg 
) [static]
int rsock_cmsg_type_arg ( int  family,
int  level,
VALUE  type 
)
int rsock_family_arg ( VALUE  domain)
void rsock_init_socket_constants ( void  )

Definition at line 141 of file constants.c.

References init_constants().

Referenced by rsock_init_socket_init().

int rsock_level_arg ( int  family,
VALUE  level 
)
int rsock_optname_arg ( int  family,
int  level,
VALUE  optname 
)

Definition at line 131 of file constants.c.

References constant_arg(), and rsock_shutdown_how_to_int().

Referenced by bsock_shutdown().

int rsock_socktype_arg ( VALUE  type)

Variable Documentation

VALUE rb_mSockConst [static]

Definition at line 13 of file constants.c.

Referenced by init_constants().