SbuildChrootPlain

SbuildChrootPlain — simple chroot object

Synopsis




            SbuildChrootPlain;
            SbuildChrootPlainClass;
const char* sbuild_chroot_plain_get_location
                                            (const SbuildChrootPlain *restrict chroot);
void        sbuild_chroot_plain_set_location
                                            (SbuildChrootPlain *chroot,
                                             const char *location);

Object Hierarchy


  GObject
   +----SbuildChroot
         +----SbuildChrootPlain

Properties


  "location"             gchararray            : Read / Write / Construct

Description

This object represents a chroot located on a mounted filesystem.

Details

SbuildChrootPlain

typedef struct _SbuildChrootPlain SbuildChrootPlain;

SbuildChrootPlain object.


SbuildChrootPlainClass

typedef struct {
  SbuildChrootClass parent;
} SbuildChrootPlainClass;

SbuildChrootPlain class.

SbuildChrootClass parent; the parent class

sbuild_chroot_plain_get_location ()

const char* sbuild_chroot_plain_get_location
                                            (const SbuildChrootPlain *restrict chroot);

Get the directory location of the chroot.

chroot : an SbuildChrootPlain
Returns : a string. This string points to internally allocated storage in the chroot and must not be freed, modified or stored.

sbuild_chroot_plain_set_location ()

void        sbuild_chroot_plain_set_location
                                            (SbuildChrootPlain *chroot,
                                             const char *location);

Set the directory location of a chroot.

chroot : an SbuildChrootPlain.
location : the location to set.

Properties

The "location" property

  "location"             gchararray            : Read / Write / Construct

The directory location of the chroot.

Default value: ""