GuestfsTristate

GuestfsTristate — An object representing a tristate value

Synopsis

#include <guestfs-gobject.h>

enum                GuestfsTristate;

Object Hierarchy

  GEnum
   +----GuestfsTristate

Description

Details

enum GuestfsTristate

typedef enum {
  GUESTFS_TRISTATE_FALSE,
  GUESTFS_TRISTATE_TRUE,
  GUESTFS_TRISTATE_NONE
} GuestfsTristate;

An object representing a tristate: i.e. true, false, or unset. If a language binding has a native concept of true and false which also correspond to the integer values 1 and 0 respectively, these will also correspond to GUESTFS_TRISTATE_TRUE and GUESTFS_TRISTATE_FALSE.

GUESTFS_TRISTATE_FALSE

False

GUESTFS_TRISTATE_TRUE

True

GUESTFS_TRISTATE_NONE

Unset