add FTYPE_* constants

This commit is contained in:
Doug MacEachern 2009-12-22 22:27:55 -08:00
parent b2dd835f79
commit 1e2f84f631
1 changed files with 7 additions and 0 deletions

View File

@ -749,6 +749,13 @@ static VALUE rb_sigar_cpu_list(VALUE obj)
static void Init_rbsigar_constants(VALUE rclass) static void Init_rbsigar_constants(VALUE rclass)
{ {
RB_SIGAR_CONST_INT(FSTYPE_NONE);
RB_SIGAR_CONST_INT(FSTYPE_LOCAL_DISK);
RB_SIGAR_CONST_INT(FSTYPE_NETWORK);
RB_SIGAR_CONST_INT(FSTYPE_RAM_DISK);
RB_SIGAR_CONST_INT(FSTYPE_CDROM);
RB_SIGAR_CONST_INT(FSTYPE_SWAP);
RB_SIGAR_CONST_INT(IFF_UP); RB_SIGAR_CONST_INT(IFF_UP);
RB_SIGAR_CONST_INT(IFF_BROADCAST); RB_SIGAR_CONST_INT(IFF_BROADCAST);
RB_SIGAR_CONST_INT(IFF_DEBUG); RB_SIGAR_CONST_INT(IFF_DEBUG);