Ejemplo n.º 1
0
GPFsIf *
gpfs_if_new (void)
{
	GPFsObj *o;

	o = gpfs_obj_new (sizeof (GPFsIf));
	if (!o) return NULL;
	return (GPFsIf *) o;
};
Ejemplo n.º 2
0
GPFsFile *
gpfs_file_new (void)
{
	GPFsObj *o;

	o = gpfs_obj_new (sizeof (GPFsFile));
	if (!o) return NULL;
	o->f_free = gpfs_file_free;
	return (GPFsFile *) o;
}
Ejemplo n.º 3
0
GPFs *
gpfs_new (void)
{
	GPFsObj *o;

	o = gpfs_obj_new (sizeof (GPFs));
	if (!o) return NULL;

	return (GPFs *) o;
}