Top | ![]() |
![]() |
![]() |
![]() |
IdeTriplet * | ide_triplet_new () |
IdeTriplet * | ide_triplet_new_from_system () |
IdeTriplet * | ide_triplet_new_with_triplet () |
IdeTriplet * | ide_triplet_new_with_quadruplet () |
IdeTriplet * | ide_triplet_ref () |
void | ide_triplet_unref () |
const gchar * | ide_triplet_get_full_name () |
const gchar * | ide_triplet_get_arch () |
const gchar * | ide_triplet_get_vendor () |
const gchar * | ide_triplet_get_kernel () |
const gchar * | ide_triplet_get_operating_system () |
gboolean | ide_triplet_is_system () |
IdeTriplet *
ide_triplet_new (const gchar *full_name
);
Creates a new IdeTriplet from a given identifier. This identifier can be a simple architecture name, a duet of "arch-kernel" (like "m68k-coff"), a triplet of "arch-kernel-os" (like "x86_64-linux-gnu") or a quadriplet of "arch-vendor-kernel-os" (like "i686-pc-linux-gnu")
Since: 3.32
IdeTriplet *
ide_triplet_new_from_system (void
);
Creates a new IdeTriplet from a the current system information
Since: 3.32
IdeTriplet * ide_triplet_new_with_triplet (const gchar *arch
,const gchar *kernel
,const gchar *operating_system
);
Creates a new IdeTriplet from a given triplet of "arch-kernel-os" (like "x86_64-linux-gnu")
arch |
The name of the architecture of the machine (like "x86_64") |
|
kernel |
The name of the kernel of the machine (like "linux"). |
[nullable] |
operating_system |
The name of the os of the machine (like "gnuabi64"). |
[nullable] |
Since: 3.32
IdeTriplet * ide_triplet_new_with_quadruplet (const gchar *arch
,const gchar *vendor
,const gchar *kernel
,const gchar *operating_system
);
Creates a new IdeTriplet from a given quadruplet of "arch-vendor-kernel-os" (like "i686-pc-linux-gnu")
arch |
The name of the architecture of the machine (like "x86_64") |
|
vendor |
The name of the vendor of the machine (like "pc"). |
[nullable] |
kernel |
The name of the kernel of the machine (like "linux"). |
[nullable] |
operating_system |
The name of the os of the machine (like "gnuabi64"). |
[nullable] |
Since: 3.32
IdeTriplet *
ide_triplet_ref (IdeTriplet *self
);
Increases the reference count of self
Since: 3.32
void
ide_triplet_unref (IdeTriplet *self
);
Decreases the reference count of self
Once the reference count reaches 0, the object is freed.
Since: 3.32
const gchar *
ide_triplet_get_full_name (IdeTriplet *self
);
Gets the full name of the machine configuration name (can be an architecture name, a duet, a triplet or a quadruplet).
Since: 3.32
const gchar *
ide_triplet_get_arch (IdeTriplet *self
);
Gets the architecture name of the machine
Since: 3.32
const gchar *
ide_triplet_get_vendor (IdeTriplet *self
);
Gets the vendor name of the machine
Since: 3.32
const gchar *
ide_triplet_get_kernel (IdeTriplet *self
);
Gets name of the kernel of the machine
Since: 3.32
const gchar *
ide_triplet_get_operating_system (IdeTriplet *self
);
Gets name of the operating system of the machine
Since: 3.32
gboolean
ide_triplet_is_system (IdeTriplet *self
);
Gets whether this is the same architecture as the system
Since: 3.32